Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I had an Import version of PBI and now I converted to Direct Query to a SQL Server.
Once I switched to Direct query all the date columns are not showing the Date Hierarchy.
How can I convert, having in mind that I have multiple date columns in different tables and I don't have a Date Table, and even I cannot use it due to multiple relationships that I should create and most of them would be inactive, and the PBI performance would decrease?
Thank you
Solved! Go to Solution.
Hi @alianazambori ,
This a limiation when using DirectQuery.
Using DirectQuery in Power BI - Power BI | Microsoft Docs
Each auto date/time table is in fact a calculated table that generates rows of data by using the DAX CALENDAR function. Each table also includes six calculated columns: Day, MonthNo, Month, QuarterNo, Quarter, and Year. It is recommended that you create a calendar table as a dimension table.
For more details you can refer this blog.
Why there is no date hierarchy - Microsoft Power BI Community
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Finally, this is what I did, I knew that this is the best practice, but I thought I can avoid this to have the same report as the Import file that I received and I had to convert in DQ.
Thank you
Hi @alianazambori ,
This a limiation when using DirectQuery.
Using DirectQuery in Power BI - Power BI | Microsoft Docs
Each auto date/time table is in fact a calculated table that generates rows of data by using the DAX CALENDAR function. Each table also includes six calculated columns: Day, MonthNo, Month, QuarterNo, Quarter, and Year. It is recommended that you create a calendar table as a dimension table.
For more details you can refer this blog.
Why there is no date hierarchy - Microsoft Power BI Community
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |