Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |