Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have created a table with dates i want to add a column which orders these dates numerically, 1,2,3 and so on.
Any help greatly appreciated
Thanks
Solved! Go to Solution.
@Jay2022 - Here's an easy way to do this as a calculated table:
Dates =
VAR _dates = CALENDARAUTO( )
RETURN
ADDCOLUMNS( _dates, "Day", DAY( [Date] ))
If this works for you, please accept is as the solution to help with visibility for others with the same issue.
Hi @Jay2022 , hello mark_endicott and lbendlin, thank you for your prompt reply!
Is there any progress on this issue?
If you find anyone's answer is helpful to you, please remember to accept it.
It will help others who meet the similar question in this forum.
If you have any further related issues, please feel free to reply!
@Jay2022 - Here's an easy way to do this as a calculated table:
Dates =
VAR _dates = CALENDARAUTO( )
RETURN
ADDCOLUMNS( _dates, "Day", DAY( [Date] ))
If this works for you, please accept is as the solution to help with visibility for others with the same issue.
What for? The dates are already usable for sorting?
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |