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

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

Reply
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
Ashish_Mathur
Super User
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
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
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
https://www.linkedin.com/in/excelenthusiasts/
Jihwan_Kim
Super User
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


Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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