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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

When switching to Date Hierarchy the month value in two different years are added to gether

Hello,

I have a cash flow for one year and two months which I am using to experiment and use Power Bi as I am very new to it. When I use date hierachy to show the value of each month then it adds the value of Jan 19 and Jan 20 together which I dont want it to happen. How can I fix that? I dont want to remove the hierarchy because I want to show the value of each month.

 

Thanks

 

Capture2.JPGCapture.JPG

1 ACCEPTED SOLUTION

@Anonymous 

 

In the Format section of the Visualizations pane, expand the X axis card and change the Type option from Continuous to Categorical.

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

In date Hierarchy, you can remove and choose whatever you want. Or you can create date table and have Month -Year column in that

 

Please check how month year and month year sort have been created

https://www.dropbox.com/s/wrcyk5j66corvjg/Apr2Mar-Cal.pbix?dl=0

 

Month Year = FORMAT([Date],"mmm-yyyy") // You can use this
Month Year sort = FORMAT([Date],"yyyymm") // The above column need to have this as sort column

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

 

Anonymous
Not applicable

Something is not working well, but thank you for your respond. Is there a way at least to show the hidden months such FebCapture.JPG

 

 

@Anonymous 

 

In the Format section of the Visualizations pane, expand the X axis card and change the Type option from Continuous to Categorical.

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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