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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.