I have a data set that looks something like below:
Store Revenue
1 50
1 100
1 200
1 1001
2 75
2 900
2 100
2 8000
2 2000
3 300
3 300
4 1000
4 200
I would like to summarize (total) revenue for each store, which can be done with a pivot table - Store in Rows and Sum of Revenue in values. Now, I would like to see which stores and their total sum are within a revenue range. for example - in 0-499 range, none of the stores should show up, 500-999 should have store 3, 1000-1499 should have 1 and 4 and so on
I tried to group by revenue by adding revenue to Columns in pivot table and configuring grouping - starting at 0, ending at 8000, by 500.
in that case, the grouping does not account total sum, but individual sums for example, 0-499 should not have any stores, but stores 1, 2, 3, 4 show up because there are individual store rows with values < 499 (see output below).
Incorrect output
Sum of Revenue Column Labels
Row Labels 0-499 500-999 1000-1499 2000-2499 7500-8000
1 350 1001
2 175 900 2000 8000
3 600
4 200 1000