Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
i have created a column with the following DAX command:
Annual Days = CALENDAR(DATE(YEAR(TODAY()),1,1),DATE(YEAR(TODAY()),12,31))
Solved! Go to Solution.
Hi @AlessandroBet ,
In Power BI Desktop, you select File > Options and settings > Options, and then select either the Global or Current File page. On either page, the option exists in the Time intelligence section.
There are also restrictions on date hierarchies:
Refer to:
Why there is no date hierarchy - Microsoft Power BI Community
There is also a workaround:
You can create four calculated columns to extract the "Year," "Quarter," "Month“,” Day " from column"Date".
Then you can manually create new Heirarchy, by right-clicking on the date, then drag in the other pieces you need ("Year," "Quarter," "Month“,” Day, ").
Year = YEAR('Annual Days'[Date])
Quarter = QUARTER('Annual Days'[Date])
Month = MONTH('Annual Days'[Date])
Day = DAY('Annual Days'[Date])
Click [Date] – Create hierarchy
Add four columns to the hierarchical results
[Day] – Add to hierarchy – Date Hierarchy.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @AlessandroBet ,
In Power BI Desktop, you select File > Options and settings > Options, and then select either the Global or Current File page. On either page, the option exists in the Time intelligence section.
There are also restrictions on date hierarchies:
Refer to:
Why there is no date hierarchy - Microsoft Power BI Community
There is also a workaround:
You can create four calculated columns to extract the "Year," "Quarter," "Month“,” Day " from column"Date".
Then you can manually create new Heirarchy, by right-clicking on the date, then drag in the other pieces you need ("Year," "Quarter," "Month“,” Day, ").
Year = YEAR('Annual Days'[Date])
Quarter = QUARTER('Annual Days'[Date])
Month = MONTH('Annual Days'[Date])
Day = DAY('Annual Days'[Date])
Click [Date] – Create hierarchy
Add four columns to the hierarchical results
[Day] – Add to hierarchy – Date Hierarchy.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
For date hierarchy you need to have a separate year and month column.Dax you written only show the date between that particular period what you have defined.
If I answered your question,kindly mark it as solution.
Thanks,
GS
Could you make an example?
Hello @AlessandroBet ,
Check this link to learn about creating date hierarchy inpower bi https://www.enjoysharepoint.com/power-bi-date-hierarchy/
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 53 | |
| 44 | |
| 42 | |
| 39 | |
| 34 |