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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Hierarchy created using different (yet connected) tables not working

Hi everyone. I am trying to use a date hierarchy (YEAR --> Quarter --> Month --> Day) using fields from 2 different tables (both date related). The first 3 fields (i.e. YEAR, Quarter & Month) come from a DQ called Calendar and last field comes from a table called Dates (out of the two tables, only Dates table has individual dates in proper format). The two tables are connected with each other like below:

 

theDarkPrince_0-1619084844776.png

And I am trying to use the mentioned fields in a visual like below:

 

theDarkPrince_1-1619085095610.png

Please note that I have drilled down into 2020 --> Q2 --> Apr-20 but when I drill down to the last level (Day), this is what I get. I'm unable to figure out how to get this to work. All help is appreciated. Thanks in advance.

1 REPLY 1
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

I suggest you use build-in hierarchy for date in power bi. You can enable auto date/time function in power bi desktop:

 

Capture.PNG

 

Capture1.PNG

 

Please refer to https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-auto-date-time

'

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

 

Best Regards,

Dedmon Dai

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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