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
Hi there - I am having trouble getting my RANKX function to work. I returns 1 for every row. See below, I am trying to do a rank by the ABSDayonDayPrice column. Any help would be welcome. Thanks, Ben.
Solved! Go to Solution.
Wrap the sum() in calculate() to for context transition to occur
replace ALL with ALLSELECTED
Wrap the sum() in calculate() to for context transition to occur
That worked!! Thanks!
You might be able to assist with my next question...I need it Ranked by business date, it is currently ranking across all dates.
replace ALL with ALLSELECTED
Thanks....again! this worked! Although ranked in the right order, I am getting false ties:
Try running on column(s) rather than table i.e. allselected(table[code]) so the sum is calculated on the required grain
Hi,
Share the download link of the PBI file and show the expected result there.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 161 | |
| 132 | |
| 117 | |
| 79 | |
| 54 |