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 all,
How can I achieve the following?
I would like to calculate the position of a row based on attributionPathid and timestamp (column Position) and the total number of rows for attributionPathid (column PathCount).
Thanks
D.
@ADP007 , Try the new Rank Function
Rank(dense, allselected(Table[attributionPathid], Table[timestamp]),ORDERBY(Table[timestamp],DESC))
Power BI - New DAX Function: RANK - How It Differs from RANKX: https://youtu.be/TjGkF44VtDo
Thanks @amitchandak
Thanks for your reply.
Your solution works when I filter on an attributionpathID bu doesn't work when there are no filters
Without filter
With filter
Thanks
David
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |