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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.