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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Daeglsy
New Member

How to use 100% stacked column chart on categorical data?

Hi all,

I got a survey data set that I'd like to visuallise with a 100% stacked bar chart. However I can't seem to figure out how to visualise it on a 100% stacked bar charts. The data set is something like this:

QuestionA: T, T, F, F, NA
QuestionB: F, F, NA, T, F
QuestionC: NA, NA, F, T, T

I wanted to put my questions as x axis, and percentage as y axis on a 100% stacked bar chart. Do I need to write something on DAX? Or are there anything that I've completely overlooked?

Thank you.
2 REPLIES 2
Anonymous
Not applicable

I have created a table like this : 

1.png

And then used different measures to count the percentages of the TRUE or FALSE or NA for each question: 

 

CountTrueQ1 = CALCULATE(COUNTROWS(FILTER('Q&A','Q&A'[Q1]="T")))/COUNTROWS('Q&A')*100

 

CountFalseQ1 = CALCULATE(COUNTROWS(FILTER('Q&A','Q&A'[Q1]="F")))/COUNTROWS('Q&A')*100

 

CountNAQ1 = CALCULATE(COUNTROWS(FILTER('Q&A','Q&A'[Q1]="NA")))/COUNTROWS('Q&A')*100

 

 

But I couldn't plot in the 100% stacked column chart, so now it is a challenge for me too Smiley Very Happy

 

I hope others can help 

 

v-yuta-msft
Community Support
Community Support

Hi Daeglsy,

 

Could you share some sample data for further analysis?

 

Regards,

Jimmy Tao

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors