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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

How to group annual data by quarter or month

I am fairly new to Power Bi and curious how I might be able to tweak the top stacked column chart to break down each year into quarter (or even month) so that you'd have each year, and then the related 'green, yellow, red' data in each quarter stacked so you can compare year over year and see quarters.

Heres how the data looks now:

one.jpg

 

And here (through magic of photo editing) how I'd like it to appear. I am pulling Calculating Month and Quarter in my Date table. Also, I just adjusted the top bar...each bar for each year would show it's relative qtr over qtr data

 

two.jpg

 

 

3 REPLIES 3
AlexisOlson
Super User
Super User

You could also cheat a bit and use calculation groups or multiple measures to get separate values per quarter and then match up the colors.

AlexisOlson_0-1638830704736.png

It's hard to visually separate the quarters though.

jdbuchanan71
Super User
Super User

@Anonymous 

I don't know of way to have a stacked bar chart with two categories on the legend (sort of) like what you are describing.  You could try it using small multiples but I don't see that as an option on your screenshot so you may need to update to a newer version of PowerBI Desktop.

jdbuchanan71_0-1638821948928.png

 

Anonymous
Not applicable

@jdbuchanan71 Thank you SO much! I didn't have the latest version and that 'small multiples' might just give me what I want. !! 😉

Helpful resources

Announcements
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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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