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
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.

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
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.