Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone,
I’m working in Power BI and trying to create a date hierarchy from a datetime column. I attempted the following steps:
Split the original datetime column into separate Day, Month, and Year columns (all of them are in Whole Number format).
Used the #date([Year], [Month], [Day]) formula in a custom column to reconstruct a date field. I set its data type as Date.
In the Dataflow preview, the column correctly shows only the date (e.g., 12/17/2010). However, once the data is loaded into the Power BI report side, the same column displays the time part as well (e.g., 12/17/2010 12:00:00 AM), even though the datatype was set to date.
When I right-click on the column, I do not get the "Create hierarchy" option.
I’m not sure why this is happening—am I missing a setting or step?
Any suggestions would be really helpful. Thanks in advance!
Solved! Go to Solution.
What are you planning to use the heirarchy for? It is not generally required in any of the visuals. Adding the individual columns in the right order is faster.
once the data is loaded into the Power BI report side, the same column displays the time part as well (e.g., 12/17/2010 12:00:00 AM), even though the datatype was set to date.
A semantic model only has datetime column type. "Date" is only a formatting choice.
What are you planning to use the heirarchy for? It is not generally required in any of the visuals. Adding the individual columns in the right order is faster.
once the data is loaded into the Power BI report side, the same column displays the time part as well (e.g., 12/17/2010 12:00:00 AM), even though the datatype was set to date.
A semantic model only has datetime column type. "Date" is only a formatting choice.
Hi @Parth_1 ,
We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.
If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.
If you still have any questions or need further assistance, feel free to let us know — we're happy to help!
Thank you!
Hi @Parth_1 ,
If our response addressed by the community member for your query, please mark it as Accept Answer and click Yes if you found it helpful.
Should you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!
Hi @Parth_1 ,
We haven’t heard back from you regarding our previous response and wanted to check if your issue has been resolved.
If it has, please consider clicking “Accept Answer” and “Yes” if you found the response helpful.
If you still have any questions or need further assistance, feel free to let us know — we're happy to help!
Thank you!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
13 | |
11 | |
8 | |
8 |
User | Count |
---|---|
17 | |
10 | |
7 | |
7 | |
7 |