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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to create a compared Bar Chart

Hi, 

I have two columns of data call them "Answer 1" and "Answer 2" from a survery result I sent out. The response data set for both questions are the same. They are either: 

 

  • Extremely difficult (1)
  • Somewhat difficult (2)
  • Neither easy nor difficult (3)
  • Somewhat easy (4)
  • Extremely easy (5)

I currently have the results in two seperate clustered column charts seen below. However, I want to have the counts for each response visualized next to each other on the same chart. So for example from my charts below the count bar for "Very Important" of 55 from Answer 1 would be grouped with the count of "Very Important" of 69 from Answer 2. 

 

scorreia3423_0-1666305463442.png

This is not the solution but here is what I want the graph to look like with the counts of each response grouped: 

scorreia3423_1-1666305645135.png

Thanks!

1 ACCEPTED SOLUTION

Hi,

In the Query Editor, select all columns other than the 2 Answer columns, right click and select "Unpivot Other Columns".


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Here are the two data columns. The left column would be "Answer 1" and the right column would be "Answer 2"

 

2022-10-21 10_00_12-Talent Survey Dashboard - Power BI Desktop.png

Hi,

In the Query Editor, select all columns other than the 2 Answer columns, right click and select "Unpivot Other Columns".


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
MDodds
Resolver II
Resolver II

Can you upload a pbix file so we can see the data? Or show us the table and measures you have for the count?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.