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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
dean
Regular Visitor

Date Hierarchy issues at KPI

I cant choose date hierarchy months when i use kpi visual/custom visual. is there a way i can show data per month when im using KPI chart?

1 ACCEPTED SOLUTION

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-drilli...

 

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-fi...





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
GilbertQ
Super User
Super User

Hi there, do you perhaps have an image of what error or what you are trying to achieve?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

date-hierarchy.png

 

the red circle i want to categorize the data by each month not year. this is my problem.

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-drilli...

 

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-fi...





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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

can choose.PNG

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.