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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hello! I am in need of some serious help. I have a matrix that has one row, one column and 2 values. The matrix is sorted by"suma", descending order in totals. "suma" = sum(x)
I want to add a column with the row number (column with red values):
I have tried to use the RANK function as follows:
Hi @Anonymous ,
Please refer to my pbix file to see if it helps you.
Create a measure.
Measure = RANKX(ALLSELECTED('Table'[Item]),[suma],,DESC,Dense)
If I have misunderstood your meaning, please provide your pbix file without privacy information and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hi @amitchandak , thanks for your response, unfortunately it didn't work. I still have the same problem, Power BI doesn't let me add the new measure to the matrix as a row, only as a value.
If I add the calculation you gave me as a new column, not a new measure, and incude it in the matrix, something weird happens and the whole table goups by the number 1.... very weird