Forum Discussion
Colum format changes from date to date/time when converting from live to direct query
- 5 years ago
Hi fibaek ,
First thing I will highlight here, Directquery connection comes with some limitations and no support for timeintelligence is one of them. Refer following article for the same:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery
If you really need a date hierarchy with this directquery connection, then there is a workaround to achieve this. Basically create a custome hierarchy with different columns. Follow these steps:
- Create following columns: [Year], [Quarter], [Month], [Day]
- Right click the original Date column and choose 'New Hierarchy'
- Drag [Year], [Quarter], [Month], [Day] columns to place them under [Date] column.
Thanks,
Pragati
Hi fibaek ,
First thing I will highlight here, Directquery connection comes with some limitations and no support for timeintelligence is one of them. Refer following article for the same:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-use-directquery
If you really need a date hierarchy with this directquery connection, then there is a workaround to achieve this. Basically create a custome hierarchy with different columns. Follow these steps:
- Create following columns: [Year], [Quarter], [Month], [Day]
- Right click the original Date column and choose 'New Hierarchy'
- Drag [Year], [Quarter], [Month], [Day] columns to place them under [Date] column.
Thanks,
Pragati