Forum Discussion
Report Help -
- Anonymous4 years ago
Hi dommyw277 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Count = var _select=SELECTEDVALUE('Table'[Month]) return COUNTX(FILTER(ALL('Table'),'Table'[Month]=_select&&'Table'[Group]=MAX('Table'[Group])),[Group])rank = RANKX(ALL('Table'),[Count],,DESC,Dense)Flag = IF( [rank]<=10,1,0)2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
For errors, you can refer to:
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi dommyw277 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Count =
var _select=SELECTEDVALUE('Table'[Month])
return
COUNTX(FILTER(ALL('Table'),'Table'[Month]=_select&&'Table'[Group]=MAX('Table'[Group])),[Group])rank =
RANKX(ALL('Table'),[Count],,DESC,Dense)Flag =
IF(
[rank]<=10,1,0)
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
For errors, you can refer to:
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- dommyw2774 years agoHelper V
Thank you so much! Works a treat