Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi ,
how to filter on the top 5 of each level of a hierarchy ?
Thanks for your help.
Best regards.
Here is a blog describing Ranking with Hierarchy Drill-Down for your reference.
If this post helps, then please consider Accept it as the solution to help the other members find it more
Hi @rajendraongole1 , thanks for the link
I'm trying, but as soon as I add level 3, and put the rank to filter the first 5, the isfiltered tests on the levels are true for the 2 levels
Hi @Cobra77 ,
We can use ISINSCOPE to work on it instead of isfiltered.
Measure = IF(CALCULATE(SUM('Table'[value]))<>BLANK(),IF(ISINSCOPE('Table'[date].[Day]),RANKX(ALL('Table'[date].[Day]),CALCULATE(SUM('Table'[value])))))
For more details, please check the pbix as attached.
hi @v-frfei-msft , @rajendraongole1
my pbix report is based on a live connection to an SSAS tabular 2016.
I don t have the function ISINSCOPE 😞
neither in visual studio nor in the pbix on the cube
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |