Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bdehning
Post Prodigy
Post Prodigy

Need Date Hierarchy

I copied a table from a power Bi Report that had a YEARMonth Date Hierarchy.  When I placed table

into my other Power Bi Report, I no longer see the Calendar Icon next to YEARMonth or the Date Hierarchy with Year, Quarter Month and Day is not there either.  Why did it not copy and how do I create a Date Hierarchy for YEARMonth Date Field in my new report?

1 ACCEPTED SOLUTION
bdehning
Post Prodigy
Post Prodigy

I did not realilze I had turned off Auto date/time under Time Intelligence.  I turned it back on and I see Date Hierarchy.  

View solution in original post

3 REPLIES 3
bdehning
Post Prodigy
Post Prodigy

I did not realilze I had turned off Auto date/time under Time Intelligence.  I turned it back on and I see Date Hierarchy.  

Auto Date Time is a bad idea, it should be off in the majority of cases.  Use your own hierarchies.

lucadelicio
Super User
Super User

Hi,
you need to create a column date type from the text YYYYMM.
So you can use the DATE(<year>, <month>, <day>) dax function.
You can try something like this:
DateType =
DATE(LEFT(YYYYMM, 4), RIGHT(YYYYMM, 2), "01")
Then set this column as Date type.

Pay attention to type during the conversion.
Mark as solution my reply if i help you.
Thank you.



Luca D'Elicio

LinkedIn Profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.