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! Request 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
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.