Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am trying to get top 5 part number by ATS_Score since Part number is whole number,I am not able to do do top 5. later tries buy domain, still doesnt work.
Please help
Solved! Go to Solution.
Hi @pmadam
Thanks for reaching out to us.
>>I am trying to get top 5 part number by ATS_Score
you can try this measure, then put it into visual-level filter,
RANK = RANKX( SUMMARIZE(ALL('Table'),'Table'[Domain],'Table'[Part Number]) , CALCULATE( SUM('Table'[ATS_SCORE]),ALLEXCEPT('Table','Table'[Domain],'Table'[Part Number])),,DESC,Dense)
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
@pmadam , You need to try measure like
2 column top N = CALCULATE([Measure], TOPN(10, SUMMARIZE(ALLSELECTED('Table'), 'Table'[Domain], 'Table'[Part Number]), [Measure],DESC),VALUES('Table'[Domain]), VALUES('Table'[Part Number]) )
No change. Im i doing something wrong.
@pmadam , The measure you are using for TOPN seems to me using +0 or handing blank, remove any such code and use this measure as a visual level filter and check for non blank
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 6 | |
| 6 |