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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
bcap01
Helper II
Helper II

Percentage is not calculating properly in Report Summary

Hello,  I am working on a Gross Profit Percentage calulation.  For some reason the Summary does not appear to be caculating properly.  In the print screen below shows my Field, Calulation, and expected result.  Not sure what I am doing wrong here as I am getting a GP% of "41" when it should be "59".


PowerBI_CP_Err.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @bcap01 

You can try the following code, create it as a measure:

GP% = DIVIDE(SUM('Table'[Invoice])-SUM('Table'[Cost]),SUM('Table'[Invoice]))*100

vxinruzhumsft_0-1673406810008.png

 

Best Regards!

Yolo Zhu

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

1 REPLY 1
Anonymous
Not applicable

Hi @bcap01 

You can try the following code, create it as a measure:

GP% = DIVIDE(SUM('Table'[Invoice])-SUM('Table'[Cost]),SUM('Table'[Invoice]))*100

vxinruzhumsft_0-1673406810008.png

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors