Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
My Date measure won't create a date hierachy containg year, month, day. Yet I have this same measure with a hierachy in another PBI. It only creates what I have pasted below. Does any one know what I need to change? Thanks.
Solved! Go to Solution.
I would remove the auto/date time feature and consider creating your own proper date table. There are severe limitations to using the built in auto date/time: https://www.sqlbi.com/articles/automatic-time-intelligence-in-power-bi/
Hi @U156531 ,
Thanks @CMajka8 for the quick reply. I have some other additions to this:
As far as I know, measures do not have a hierarchical structure. You can create calculated columns for dates and it will automatically create the hierarchy. You can create multiple measures if you need to show the year, month, quarter and day of the date.
Column = [Date]
Create measures.
Year Measure = MAX('Table'[Date].[Year])
Quarter Measure = MAX('Table'[Date].[Quarter])
Month Measure = MAX('Table'[Date].[Month])
Day Measure = MAX('Table'[Date].[Day])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @U156531 ,
Thanks @CMajka8 for the quick reply. I have some other additions to this:
As far as I know, measures do not have a hierarchical structure. You can create calculated columns for dates and it will automatically create the hierarchy. You can create multiple measures if you need to show the year, month, quarter and day of the date.
Column = [Date]
Create measures.
Year Measure = MAX('Table'[Date].[Year])
Quarter Measure = MAX('Table'[Date].[Quarter])
Month Measure = MAX('Table'[Date].[Month])
Day Measure = MAX('Table'[Date].[Day])
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is true, however, by using a proper date table, you don't need to create any measures for your date columns. They already exist and you can then use Power BI's powerful time intelligence functions.
I would remove the auto/date time feature and consider creating your own proper date table. There are severe limitations to using the built in auto date/time: https://www.sqlbi.com/articles/automatic-time-intelligence-in-power-bi/
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
67 | |
65 | |
42 | |
42 |
User | Count |
---|---|
46 | |
38 | |
28 | |
26 | |
26 |