Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
How I can create a Rank by created measure.
Rank Measure = ([Total SUM Qty]*0,7)*(MeasuresDiff[Diff CP - PD]*1,7) .
Now I want to create Rank by values. How can i do that?
Hi @Vladas
To get the measure as requested, you may try measure as below:
Rank = RANKX(ALLSELLECTED(Table[ItemID]),[Measure])
https://community.powerbi.com/t5/Desktop/Ranking-values-in-a-table-using-RANKX-measure/td-p/391690
Regards,
Cherie
I tried to create calc colum, not measure = RANKX(ALLSELECTED('Item'[ItemId]);[Rating]) but all rows is blank in this column.
Rating is my calculation = CALCULATE(SUMX(SalesInvoice;SalesInvoice[InvoiceQty]*0,7)*[Diff CP - PD]*1,7)
Hello, @Vladas
Formula of Rank measure looks correct. Wich column do you use in matrix? Item[ItemId] or SalesInvoice[ItemId]?
First, your naming is very confusing because what you created is a Measure that creates some vvalue. It is not a Rank. If you want to Rank that value I think you need to make that value a column and not a Measure. I may be incorrect in that.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
79 | |
59 | |
36 | |
33 |
User | Count |
---|---|
92 | |
59 | |
59 | |
49 | |
41 |