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
I have two connected tables, one contains Item information (Numbers, description, price, cost etc) and the other is the item ledger which tracks quantities sold by Item numbers. They are connected using Item Number (Item Infomation Table) as a 1 to Many (Item ledger) relationship.
I am able to put together tables that give me sales by Item number, one way is to use a calculated measure (quantity x price), and the other is by bringing in the price from the Item table into the Item ledger via look up and in the table multiply the price times the quantity.
I am now trying to use RankX to Rank the Item Numbers by Total Sales and I can't get the function to work correctly.
RankX formulas :
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 7 | |
| 6 |