I have seen several threads similar to this, but none seem to answer my question:
I have a list of Deals that Can be grouped by state.
I want to see a bar chart of the Top 3 states based on the number of deals grouped by state.
So my data might look like this:
DealId State
1000 TX
1001 TX
1002 TX
1003 NY
1004 NY
1005 FL
1007 CA
1008 CA
1009 CA
So my chart should show TX (3), NY (2), CA (3)
What is the best way to do this?
I just can't figure out how to use the TOP N function/grouping to accomplish this...
Thank you for any suggestions!