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
JensHN
Frequent Visitor

Date hirachy not available

Hi,

 

I have two tables "Jobs" and "History" with a 1:n connection.

In the Jobs table are two calculated columns "History Start" and "History End". Both colums are declared as datetime and have nearby the same DAX formula, one searches for the lowest date value, the other for the highest date value.

 

In the Visualisation i get the full hirachy for "History Start" with year, month, day, etc. For "History End" is no hirachy available.

 

On other posts with similar problems the reason was the table connection, but in my case both fields use the same connection.

Any ideas?

1 ACCEPTED SOLUTION

Hi @v-yulgu-msft,

 

thank you very much for your fast reply and your effort in rebuilding my data construction.

I´m sorry that i can´t post some sample data, it´s because they contain to many internal informations. My hope was that there is a simple solution just like "tick the box for date hirachy".

 

As a "quick and dirty" solution i deleted the two calculated columns, created them new and pasted the same DAX formula. Everything like before. Now the hirachy is available, i don´t know why but it works.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @JensHN,

 

Below is the result in my test, both [History Start] and [History End] shows hierarchy in table visual.

Sample data.

2.PNG5.PNG

 

Relationship.

3.PNG

 

Report view.

6.PNG

 

I was not able to reproduce your scenario. Please provide sample data and make it more clear that how is the relationship built. How to Get Your Question Answered Quickly

 

Best 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 @v-yulgu-msft,

 

thank you very much for your fast reply and your effort in rebuilding my data construction.

I´m sorry that i can´t post some sample data, it´s because they contain to many internal informations. My hope was that there is a simple solution just like "tick the box for date hirachy".

 

As a "quick and dirty" solution i deleted the two calculated columns, created them new and pasted the same DAX formula. Everything like before. Now the hirachy is available, i don´t know why but it works.

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.