Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 10 | |
| 9 |