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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kobe
Frequent Visitor

Custom Data Table Not Working

In order to add Week to date hierarchy, I create a table and add four columns. Then I create the hierarchy and add them to it. 

kobe_0-1692776597249.png

I mark the table as a date table and add a relationship with the "export" table.

kobe_1-1692776672071.png

This table isn't still working like the auto date hierarchy in the "export" table. Anything is missing? 

 

1 ACCEPTED SOLUTION

Hello @kobe ,

 

can you try cinverting both columns into date type.

 

the date in export table is should be converted to date type in power query.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 

 

the 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

6 REPLIES 6
kobe
Frequent Visitor

It's working when I create the custom date hierarchy in the "export" table. 

Hello @kobe ,

 

can you make sure that both date columns have the same data type, like both date .

 

and make sure the the export table has the same data type in power query.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




I confirm both columns have the same Data type which is Date/time with the same format. When I create the custom data hierarchy in Date Table, the auto-generated one in the export table disappears. 

 

I create a custom one within export table and it's working but the order of date legend is sorted.

kobe_0-1692780572340.png

 

 

Hello @kobe ,

 

can you try cinverting both columns into date type.

 

the date in export table is should be converted to date type in power query.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 

 

the 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Just to double confirm that you mean converting data type of both conlumns from "Date/time" to "Date"? Anyway I will try it tomorrow.

@kobe , Yes.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin
Vote For my Idea💡

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.