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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Rajesh_G
Helper I
Helper I

Date hierarchy issue

Hi Guys

 

I have a uploaded a number of sheets from Excel onto my POWER BI and each of them have the same Time column. I have therefore linked the different sheets using the relationship manager. However, for some Time columns, when I click them, I get the ordinary time, where as for others, I get a hierarchy. How do I convert the non-heirarchy date columns into hierarchy date columns. I'm basically trying to find out why some date columns have hierarchy and why others don't.

 

Thanks

Rajesh

 

Untitled.png

1 ACCEPTED SOLUTION
Rajesh_G
Helper I
Helper I

Thanks everyone

 

There is an easy way out - just create a new column and use the "DAY" function with the correct column and it will automatically determine the day. 

 

I've seen that this issue only happens when I link the Time column in tables. So if you don't have to link them then it might be worthwhile just leaving it as is? Unless there are better benefits. 

View solution in original post

5 REPLIES 5
Rajesh_G
Helper I
Helper I

Thanks everyone

 

There is an easy way out - just create a new column and use the "DAY" function with the correct column and it will automatically determine the day. 

 

I've seen that this issue only happens when I link the Time column in tables. So if you don't have to link them then it might be worthwhile just leaving it as is? Unless there are better benefits. 

Chris99
Advocate III
Advocate III

Hi @Rajesh_G,

 

Can you not just add the dimension date, as the relationship will resolve to the fact table anyway?

 

Alternatively on your visualisation properties pane, if you right click do you get options for "date only" and "date hierarchy"?

 

Chris

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Rajesh_G,

 

Based on my test, if I create a relationship between fact table and date dimention table based on date column, the date field from fact table will not show hierarchy when added to visual, the date field from dimention table will show hierarchy. It looks like a default setting.

 

Regards

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Yuliana

 

Thanks for your repsonse. Do you think theres a way/place to change the default settings?

 

Rajesh

Hi @Rajesh_G,

 

I'm afraid there is no such an option allows us to change this default setting.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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