This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
how can i get a date column using CALENDARAUTO function, i not want getting a table from it i want column just.
You can use like
Date = CALENDARAUTO()
or Date = CALENDARAUTO(3)//this make sure the calendar start in March and end at feb
https://docs.microsoft.com/en-us/dax/calendarauto-function-dax
i know that CALENDARAUTO function return table, but my question is are there a way to get a date column using it.
I don't think we can do that for a column. CALENDARAUTO() will generate the dates automatically as a table.
Do you want to create continuous dates?
maybe you can try create an index column in PQ first, then use the starting date +index column
Column = DATE(2020,1,1)+tbl[Index]
Proud to be a Super User!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 39 | |
| 24 | |
| 20 | |
| 20 |