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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BobPierre
Frequent Visitor

Displaying Percentage Bar Chart

Dear All,

I am new to Power BI.

I have a sample data like the one on the left hand side but I want the graph to be like the one on the right.

Untitled.jpg

I only made use of the YES in my chart. For example,

India: January there are two Yeses and a No =(2/3)*100= 66.67% and February, there are one Yes and a No =(1/2)*100= 50%

 

Thank you all in advance........

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @BobPierre,

 

You should new a measure.

"Yes" percentage = CALCULATE(COUNT(table8[Status]),FILTER(table8,table8[Status]="Yes"))/COUNT(table8[Status])

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @BobPierre,

 

You should new a measure.

"Yes" percentage = CALCULATE(COUNT(table8[Status]),FILTER(table8,table8[Status]="Yes"))/COUNT(table8[Status])

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Wow!!!! Thank you for saving my day. I appreciate you.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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