The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance 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 |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
8 | |
7 |