Forum Discussion
Date Hierarchy in Direct Query
- 7 years ago
Hi iowakrz ,
Currently, the built-in date hierarchy is not yet available when using DirectQuery mode. You could click to upvote this idea or add your own comments.
As a workaround, you could create a custom date hierarchy manually. Please create [Year], [Quarter], [Month], [Day] columns first, right-click the original Date column and choose 'New Hierarchy', then, drag [Year], [Quarter], [Month], [Day] columns to place them under [Date] column.
Best regards,
Yuliana Gu
Hi Yuliana,
I created my [Year] and [Month] columns on Power Query then loaded these columns in the model.
Once I am on the model creation page, I created the Hierarchy on my [Date] column in the Fields pane but I am UNABLE to add any column under the hierarchy.
Can anyone confirm whether this technic works? Or provide another solution?
Thanks,
Melanie
Found out:
For those who may encounter the same issue, in the field pane, click on the 3 dots on the right of the [Year], [Month], [Quarter] or [Day] column you created and click: "Add to hierarchy".
Done