Forum Discussion

itsmeanuj's avatar
itsmeanuj
Helper IV
6 years ago
Solved

Dynamic Top N

Hi,

 

I have sales and calls data for each territory and region (See below). I would like to have a table that shows ‘Top 5’ at different levels (Area, Territory, some other in the future, etc). The user wants a slicer/dropdown that allows for changing the metric. For example, if a user selects "Area" in the dropdown then data in the below table should be filtered for those top 5 areas. Similarly for Territory. Please let me know if it makes sense. Thanks, Anuj

 

AreaTerritoryCallsSales
Area1Territory1131357
Area1Territory2101066
Area1Territory33377
Area1Territory4636331
Area2Territory5414154
Area2Territory6717174
Area2Territory7121268
Area2Territory8151597
Area3Territory9222272
Area3Territory10323237
Area3Territory11808015
Area3Territory12292957
Area4Territory13181885
Area4Territory14181817
Area4Territory15292967
Area4Territory16464647
Area5Territory179929
Area5Territory18656572
Area5Territory19737301
Area5Territory20505073
Area6Territory21515144
Area6Territory22898964
Area6Territory23424231
Area6Territory24101084
  • Hi itsmeanuj 

     

    Kindly check below results:

    1. You should unpviot the columns firstly:

    2. Then create the hierarchy by dragging the values to attibute, and generate the visual:

    Pbix attached.

3 Replies