Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi Everyone,
How do we set date hierarchy for date field. I see it is datetime type in semantic model. But in visual I cannot format it in date type or expand the date hierarchy like in the earlier version of pbi desktop.
Thanks,
Pallavi
Solved! Go to Solution.
Hi @pallavi_r
You can check this article out. It will help you create a date table https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Don't forget to sort the Text Columns for Month by the Month Number and the Text for Days with Weekday number. This will help with visuals by keeping the names in order
Then add whatever hierarchy you wish to a visual. Add the Year column first, then Quarter, Month, Week, Day
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Hi @pallavi_r
You can check this article out. It will help you create a date table https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Don't forget to sort the Text Columns for Month by the Month Number and the Text for Days with Weekday number. This will help with visuals by keeping the names in order
Then add whatever hierarchy you wish to a visual. Add the Year column first, then Quarter, Month, Week, Day
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
37 | |
27 | |
17 | |
15 | |
8 |
User | Count |
---|---|
46 | |
38 | |
34 | |
17 | |
16 |