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
Hello PBI community 🙂
I want to solve this with RANKX function, but i dont get correct output.
My table looks like this:
where I mannualy added "Rank" column, this is what I want to get in power bi.
Logic is this: for every visit_key, i want to rank this visit_keys by time.
Any ideas?
Solved! Go to Solution.
@odzelashvili1 , Try a new column like
rank = rankx(filter(Table, [visit_key] =earlier([visit_key]), [Time],,asc,dense)
@odzelashvili1 , Try a new column like
rank = rankx(filter(Table, [visit_key] =earlier([visit_key]), [Time],,asc,dense)
Thank you, I tried something similar, but doesnt worked, now its working.
I have another question, if I want to filter my table with more than 1 argument, can i use CALCULATETABLE function instead of filter?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |