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,
We have a PBI report using SSAS live connection to Azure AS model. I am using the rankx function to rank product brand by current year vol. It's not showing the correct rank number all the time. (see picture below) There are few rows with different vol but rank the same. Sometimes it seems worinking just fine, but not all the time and I can figure it out.
Here is the measure,
@wenchi Those are indications of ties. Would need to know what [Chain CURR Pd Vol] is.
The [Chain CURR Pd Vol] is the last column shown in the picture. it definitely shows different volume with the same rank, which is incorrect. I've validate the data against our database and it shows correct volume.
When you calculate the rank, you are CHANGING THE CONTEXT of the calculation: Dim_Custom_BrandGroup[group_type]="brand family". This is why your rank does not tally with what you see in the matrix. In the matrix you don't change the context.
i have the same filter applied to the table visual.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |