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
Canknucklehead
Helper II
Helper II

How to Cluster Quarters for Comparison Year over Year

Trying to replicate a basic pivot table from excel.

 

Data:

 Q1Q2Q3Q4Average
F20205710176537
F20215615125033
F2022384300

 

Pivot table in Excel:

Canknucklehead_0-1637265950724.png

 

Clustered bar chart in Power BI clusters all the quarters + average in a year together.

 

Canknucklehead_1-1637266194889.png

 

I've tried different fields for the Axis, Legend and Values. This format is the closest I can get (Axis is Year, no Legend, Values are Quarters).

 

What am I missing?

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @Canknucklehead 

 

You need to unpivot other columns in Power Query first.

vjaneygmsft_1-1637565061926.png

Then use these columns in Clustered bar chart.

Like this:

vjaneygmsft_2-1637565113135.png

 

vjaneygmsft_0-1637565014488.png

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,
Community Support Team _ Janey

View solution in original post

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @Canknucklehead 

 

You need to unpivot other columns in Power Query first.

vjaneygmsft_1-1637565061926.png

Then use these columns in Clustered bar chart.

Like this:

vjaneygmsft_2-1637565113135.png

 

vjaneygmsft_0-1637565014488.png

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,
Community Support Team _ Janey

That's got me sorted, @v-janeyg-msft . Many thanks!

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.