Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi Team,
I must confess I am still a newbie to DAX,
I have a Table with which I wish to rank Visit Time based on Date and Staff ID. It looks like this:
I will like to have a Calculated Column that Ranks the Visit Time by Visit Date & StaffNo. Like this:
What Formula can I use for the calculated column.
You can view the above data in excel format here: https://drive.google.com/file/d/0Byxc8IzPhZ5-YUx3MnBlR0FjZ1U/view?usp=sharing
Thank you.
Solved! Go to Solution.
Follow the below steps
Create a New Calculated Column Datasheet
DateTime = Table3[Visit Date] &" " &Table3[Visit Time]
Rank = RANKX(ALL('Table3'),'Table3'[DateTime],,ASC)
Regards,
Chetan K
Hi,
You may refer to my solution here.
Hope this helps.
Follow the below steps
Create a New Calculated Column Datasheet
DateTime = Table3[Visit Date] &" " &Table3[Visit Time]
Rank = RANKX(ALL('Table3'),'Table3'[DateTime],,ASC)
Regards,
Chetan K
User | Count |
---|---|
86 | |
82 | |
68 | |
65 | |
55 |
User | Count |
---|---|
123 | |
100 | |
90 | |
83 | |
66 |