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
cleolee123
Frequent Visitor

Defining common variables for multiple stack bar columns

Hi all. I have encountered a problem. Attached is a sample data set and the chart that I get. As you can see the satisfaction score for all the qns are exactly the same. That should not be the case. I suspect it has to do with a problem in my "satisfaction score" column that I created. How i did this was to create a conditional column to define all the "1" in my data as "very dissatisfied" and all the "5" in my data as "very satisfied". Was this where i went wrong and is there a more efficient way to define all the "1" in QA1-A4 as "very dissatisfied" all at once? Many thanks!

satisfaction.pngsatisfaction qn.png

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @cleolee123 

 

you might consider creating pbix file that will contain some sample data (remove the confidential info), upload the pbix to onedrive for business and share the link to the file. Please do not forget to describe the expected results based on this sample data.

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@cleolee123 , seems like you are using 100% stacked bar. Use the 2nd option in the same row and Try. Also, I did not see any attached data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak apologies I attached the wrong picture. As seen by the picture below, the dataset for A2,A3,A4 is clearly different. However, when I plot the graphs, the proportion of satisfaction score for each qn is exactly the same which should not be the case. 

 

 

power bi satisfaction.pngsatisfaction.png

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.