Forum Discussion
Date Hierarchy issues at KPI
- 9 years ago
Thanks for that.
Is your data stored monthly or by Year?
Also have you enabled the Automatic Time Hierarchy?
Here is a video with the details: https://powerbi.microsoft.com/en-us/guided-learning/powerbi-learning-3-11g-visual-hierarchies-drilling/
Or an alternative is to create a Date table, and then once you have got the date table, you can then create a relationship between your data table and your Date Table. After which you are then able to use the columns from the Date table. As with your example it would then be month.
Here is a blog post explaining how to create a Date table: https://www.fourmoo.com/2016/09/13/power-bi-how-to-easily-create-dynamic-date-tabledimension-with-fiscal-attributes-using-power-query/
Thanks for that.
Is your data stored monthly or by Year?
Also have you enabled the Automatic Time Hierarchy?
Here is a video with the details: https://powerbi.microsoft.com/en-us/guided-learning/powerbi-learning-3-11g-visual-hierarchies-drilling/
Or an alternative is to create a Date table, and then once you have got the date table, you can then create a relationship between your data table and your Date Table. After which you are then able to use the columns from the Date table. As with your example it would then be month.
Here is a blog post explaining how to create a Date table: https://www.fourmoo.com/2016/09/13/power-bi-how-to-easily-create-dynamic-date-tabledimension-with-fiscal-attributes-using-power-query/
My Data format is day-month-year hours-minutes-second . Example : 13 july 2016 10:52:00.
when im using line chart i could choose more than year. i'll try watch the video and your solution . thanks