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
Hi
I am trying to rank the products by volume share of segment if they belong in a specific Overall Product category. How would I add that filter to the DAX function below.
Volume Share Rank = if(HASONEVALUE('Top 3 IRI'[Product]),RANKX(ALL('Top 3 IRI'[Product]),CALCULATE(sum('Top 3 IRI'[Volume Share of Segment]))),"--")
can you please illustrate with some sample data of what you are tyring to achieve ?
best regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 126 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |