Forum Discussion
tulsi
7 years agoHelper I
Top 2 tasks by month
Hi, I have to get top 2 tasks by month starting from august 2017-now. When I'm using the top n filter it's giving me common top 2 tasks for all the months. I need top 2 tasks for that particular ...
- 7 years ago
Hi tulsi
You may try to add a rank measure as below. Then drag it to visual level filter and set the measure is less than or equal to 2. If it is not your case, please share some data sample.
Rank = RANKX ( ALL ( Table[task name] ), CALCULATE ( SUM ( Table[Qty] ) ) )
Regards,
Cherie
v-cherch-msft
7 years agoMicrosoft Employee
Hi tulsi
You may try to add a rank measure as below. Then drag it to visual level filter and set the measure is less than or equal to 2. If it is not your case, please share some data sample.
Rank = RANKX ( ALL ( Table[task name] ), CALCULATE ( SUM ( Table[Qty] ) ) )
Regards,
Cherie
tulsi
7 years agoHelper I
It worked! Thank you!!!