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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

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, @Anonymous 

 

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, @Anonymous 

 

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

Anonymous
Not applicable

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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