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
Orcorcorco
New Member

How to show in a pie chart a percentage from two column values

Hi - Can someone help me with this concern?

I have columns. One is Total Employees and the other is Total Responses.

I want to be able to show a chart that will show me the percentage of Total Responses / Total Employees and not adding a column in the data source anymore.

 

Illustration:

Total Employees      Total Responses

1000                         900

 

I wanted to use a pie chart which should look like this.

Orcorcorco_0-1594722432081.png

Thanks

 

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Orcorcorco ,

Based on your description, you can create two measures and put them in the values field in Dount chart.

responses = SUM('Table'[Total Responses]) / SUM('Table'[Total Employees]) 
other = (SUM('Table'[Total Employees]) - SUM('Table'[Total Responses])) / SUM('Table'[Total Employees])

Set the Label style as 'Percent of Total' and Label position as 'Inside' under Detail labels menu, you will get your expected result:

left is a pie chart, right is a dount chartleft is a pie chart, right is a dount chart

Best Regards,
Yingjie Li

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

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Orcorcorco ,

Based on your description, you can create two measures and put them in the values field in Dount chart.

responses = SUM('Table'[Total Responses]) / SUM('Table'[Total Employees]) 
other = (SUM('Table'[Total Employees]) - SUM('Table'[Total Responses])) / SUM('Table'[Total Employees])

Set the Label style as 'Percent of Total' and Label position as 'Inside' under Detail labels menu, you will get your expected result:

left is a pie chart, right is a dount chartleft is a pie chart, right is a dount chart

Best Regards,
Yingjie Li

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

@Orcorcorco , In pie visual you have option Label Style, You can choose Percent of Total and position inside.

 

do not drag any legend or details. only use measures under "values".

 

You can refer

https://www.goskills.com/Microsoft-Office/Articles/Power-BI-pie-chart

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
calerof
Impactful Individual
Impactful Individual

Hi @Orcorcorco,

 

If  a dataset like the following is your case

ResponseRateData.png

You could use this measure:

EmployeeResponded = 
CALCULATE( COUNT(ResponseRate1[Response]), ResponseRate1[Response] = 1)

 And another for negative responses, and you would get something like this:

ResponseRate.png

 

Hope it helps.

Regards,

Fernando

 

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