Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I have data including a unique session id, a timestamp for the different events within that session and their names. I would like to create a column that shows the rank of each event within the session, as shown below.
| Session_ID | Timestamp | Name | Rank |
| 1 | 22.05.2023 18:00 | a | 1 |
| 1 | 22.05.2023 18:10 | b | 2 |
| 2 | 22.05.2023 18:05 | b | 1 |
| 2 | 22.05.2023 18:07 | a | 2 |
I've tried a couple of different things, but the closest I've come is with this (Overview being the table name):
Solved! Go to Solution.
Hello @Anonymous
Use the below Measure to populate the required result.
Hello @Anonymous
Use the below Measure to populate the required result.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 21 | |
| 20 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 41 | |
| 31 | |
| 26 |