Question
How to get the count of the year ranked in the top N sales for each state and display it in a choropleth map.
How to get the count of the year ranked in the top N sales for each state and display it in a choropleth map.
IF RANK(SUM([Sales])) <= [Sales Top N] THEN 1 ELSE 0 END4. Create a calculated field and name it Count of Sales Top N.
WINDOW_SUM([Included in Sales Top N ?])5. Add Longitude (generated) to Columns.