Forum Discussion
Report: How to display TOP 5 Result based on Status ?
eden
Try this measure please
Top4 =
IF(
RANKX(
ALLSELECTED('Table'[customer ]),
CALCULATE(
COUNTROWS('Table'),
'Table'[Status] <> "published"
),,
DESC) <5,
CALCULATE(
COUNTROWS('Table'),
'Table'[Status] <> "published"
),
BLANK()
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
How to use the below solutution
Axis : Customer
Value : Top 4
- Fowmy6 years ago
Super User
eden
Yes, you are right.________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
- Fowmy6 years ago
Super User
eden
You may have more than one customer who falls into the top 4. If you have two customers who are ranked top one, they both come.________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂