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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Axiomite
Resolver II
Resolver II

Date Hierarchy dissappears from when connecting template to a dataset

The date Hierarchy on all slicers resets to date "yyyy/mm/dd" and the hierarchy dissappears when connecting a Desktop template to a Dataset. Is there a setting to avoid this rather than updating all sliceres each and everytime I make changes to the template? 

1 ACCEPTED SOLUTION

You should not use the hierarchy automatically created with auto datetime, you must create the hierarchy yourself in the calendar table, and then use that hierarchy in the slicer.

 

To create a manual hierarchy, open the model view, you must right click in one of the columns in you calendar table and choose create hierarchy.

 

then add the columns as you want:

 

SergioSilvaPT_0-1652463052433.png

 

I hope I helped!

 

Regards,
Sérgio Silva

If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Check out my blog for tips and tricks about Power BI: https://pbibits.wordpress.com/

View solution in original post

4 REPLIES 4
Axiomite
Resolver II
Resolver II

@SergioSilvaPT - many thanks, your advice solved my problem😀

SergioSilvaPT
Resolver V
Resolver V

Hi @Axiomite ,

 

I think you're using the auto datetime functionality that creates the date hierarchy automatically, and to avoid that problem and improve the model you should create a calendar table and connect it to the model.

 

If you need help creating a calendar table and connecting to the model i can guide you.

 

Regards,
Sérgio Silva

If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Check out my blog for tips and tricks about Power BI: https://pbibits.wordpress.com/

@SergioSilvaPT - many thanks for you advice. So I do have calendar table. But I also had the auto datetime functionality selected under options. I've unticked the box, however the problem persists. Do I need to do a complete data refresh for it to be "reset"? Or do I have to remove the autodate and re create the data table? 
Many thanks for you help!

You should not use the hierarchy automatically created with auto datetime, you must create the hierarchy yourself in the calendar table, and then use that hierarchy in the slicer.

 

To create a manual hierarchy, open the model view, you must right click in one of the columns in you calendar table and choose create hierarchy.

 

then add the columns as you want:

 

SergioSilvaPT_0-1652463052433.png

 

I hope I helped!

 

Regards,
Sérgio Silva

If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Check out my blog for tips and tricks about Power BI: https://pbibits.wordpress.com/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.