Forum Discussion
Direct Query and Time Intelligence functions
- 8 years ago
Hi Tamir,
The time intelligence takes a toll when connecting to direct query.
If you are expecting the date hierarchy in specific , you would have to create it for yourself by making columns [year], [quarter],[month],[date] and then use them to create a hierarchy.
You can get the modelling and reporting limitaions for direct query connection in
https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about
Regards,
Praisely
- 8 years ago
Hi Tamir,
Yes, in direct query mode, time intelligence function are not available, please refer to the documentation: https://docs.microsoft.com/en-us/sql/analysis-services/tabular-models/dax-formula-compatibility-in-directquery-mode-ssas-2016?view=sql-server-2017. The alternative ways depend on your specific senario, so if you want to achieve some result using time intelligence, please share sample data and expected result.
Regards,
Jimmy Tao
- 8 years ago
Hey Tamir,
basically the build-in Time Intelligence functions are syntax sugar for a combination of other DAX functions.
Here you will find a lot of examples how to rewrite these build-in functions:
https://www.daxpatterns.com/time-patterns/
Regards,
Tom
Hey Tamir,
basically the build-in Time Intelligence functions are syntax sugar for a combination of other DAX functions.
Here you will find a lot of examples how to rewrite these build-in functions:
https://www.daxpatterns.com/time-patterns/
Regards,
Tom