cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
united2win
Helper II
Helper II

Change Date Hierarchy to Month on X-AXIS

Hi,

I have the below clustered column graph with a trend line, how do I go about showing this on a month-by-month basis rather than daily. 

Capture.PNG

 

3 REPLIES 3
amitchandak
Super User
Super User

When you drag date in visual you actual have all 4 hierarchy items. Go to visualization pane and remove the columns that are not required. Or you can create a month-year column and use that for display.

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.

My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Hi

 

Thanks for your response.

 

I have noticed by creating the custom column two issues arise:

 

1. I lose the trend line

2. The months are sorted alphabetically and not based on period. 

 

 

dax
Community Support
Community Support

Hi united2win,

You could create another column like below to sort month-year column

'Table (3)'[Column1].[Year]*100+'Table (3)'[Column1].[MonthNo]

 In addition, if you want to get trend line, you could try to set this like below

536.PNG

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!