Forum Discussion
Hierachy
Hi , would creating a hierachy of YEAR , MONTH , WEEK , DAY make sense.
In that if drilled down from month to week, I would only get the portion of a week that was in a month?
Is that correct? Thanks
3 Replies
- amitchandakSuper User
Anonymous , You have to create these columns in your Date table and then create a custom hierarchy
https://stoneridgesoftware.com/creating-hierarchies-in-power-bi/
https://www.youtube.com/watch?v=x6vXVJZ_eTYTo get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184
Appreciate your Kudos. - v-kelly-msftCommunity Support
Hi Anonymous ,
Could you pls provide some sample data? I would show you the measure.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!- AnonymousNot applicable
Thanks after trying it I think yes if I drilled down from month to week, its only going to show me a portion of the week in the month as I expected. Thanks