Forum Discussion
TOP N Slicer Default
- 3 years ago
bdehning , One way to show is having very high value.
Or have a list where you do not select anything then you can try like
if(selectedvalue(Param[Param]), [Measure], [TOP N Measure])
Learn Power BI: Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ
Hi,
Share some data to work with, explain the question and show the expected result.
Its hard to share data with my file.
What I have is Occupations with Subcategory being Injury in the Matrix.
I want to be able to use Top N Slicer to select Top 3, 5 or 10 Occupations by Count on One table and by Total Incurred on the other and the subcategory just comes along.
So for example, I select Top 3 on Slicer and on Count Table I should get Care Professional 743, Unknown 144 and Caregiver 50 and on Total Incurred Table I should get Care Professional $, Caregiver $ and Unknown $.
- Ashish_Mathur2 years agoSuper User
I still do not understand what yo want but try this measure
Measure = calculate([count],topn(3,all(Data[Occupation]),[Count]),values(Data[Occupation]))
Hope this helps.
- bdehning2 years agoPost Prodigy
I just need a Top N Slicer work to still work with the hierarchhy and be able to select Top 3; Top 5 or Top 10 for example.