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.
How to highlight top 3 from matrix visual. I used rankx function but it give ranking seperate for each category and sub category.
I want higlight top 3 from overall sub category. please see the attached imaged to clarify more. In image each month show top 3 values highlighted in cololur from overall subcategory igonoring all primary categaory. please see below impage for expected result.Please guide me.
Hi @RAHUL18 ,
Add a rank based on yearmonth. Then ceate a color measure based on rank and use conditional formatting.
My Sample:
Measure:
Color =
VAR _RANK =
RANKX(ALLEXCEPT('Table','Table'[Month]),CALCULATE(SUM('Table'[Rate])),,DESC,Dense)
RETURN
IF(_RANK<=3,"Green")
Result is as below.
For reference: Apply conditional table formatting in Power BI - Power BI | Microsoft Learn
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-rzhou-msft
Thanks for your reply.
Its not working Sir is there any othe way??
Hi Sir,
Thanks for reply.
I tried this soltion but not working for me. In visual it show ranking as per each category. This is not what i look for.Not able to understand how to give rank to overall subcategory .Plese see bellow image for expected result.
@RAHUL18 , Create TOP3 on the rows columns or create rank on rows column and then do conditional formatting using that
Measure Rank: https://www.youtube.com/watch?v=DZb_6j6WuZ0&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=40
TOPN: https://youtu.be/QIVEFp-QiOk
How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
19 |