cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Anonymous
Not applicable

## % of Job Complete with max 100% calculation

I am trying to calculate the percentage of our jobs that are complete but I do not want to display anything over 100%

%_Complete =
SUM('Revenue1'[Total])/SUM('Estimates4'[Amount])

I tried to add a Max and IF statement but got errors.

Thank you for your help!
1 ACCEPTED SOLUTION
Super User

Hi,

Try this measure

=if(divide(SUM('Revenue1'[Total]),SUM('Estimates4'[Amount]))>1,1,divide(SUM('Revenue1'[Total]),SUM('Estimates4'[Amount])))

Format this measure as %.

Regards,
Ashish Mathur
http://www.ashishmathur.com
2 REPLIES 2
Super User

Hi,

Try this measure

=if(divide(SUM('Revenue1'[Total]),SUM('Estimates4'[Amount]))>1,1,divide(SUM('Revenue1'[Total]),SUM('Estimates4'[Amount])))

Format this measure as %.

Regards,
Ashish Mathur
http://www.ashishmathur.com
Super User

Hi, @Anonymous

Please try the below measure.

If that is not what you need, if it is OK with you, please share your sample pbix file, then I can try to look into it to come up with a more accurate measure.

%_Complete =
If (
SUM('Revenue1'[Total])/SUM('Estimates4'[Amount]) >= 100%, blank(),
SUM('Revenue1'[Total])/SUM('Estimates4'[Amount]) )

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster.

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.

Go to My LinkedIn Page

Announcements

#### Fabric certifications survey

Certification feedback opportunity for the community.

#### Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

#### Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors