I am using the runningtotal() function and I can't get it to work exactly as I want it. I have a column of countries, corresponding suppliers and amounts spend with each supplier in each country. I have aggregated the the table by country, supplier and um of amount and ordered it by country (asc), amount (desc) so the results look like this: