Forum Discussion
Using an IF function to show less than a certain %
Hello, I currently have a logic measure that determines if a certain level of water flow is less than the expected level of water flow. The measure is as follows:
I would like the measure to only return this "Below Limit" in the column if the 'Pumpage' is 25% below "Expected Pumpage", not just any amount. Thanks.
Hi Anonymous ,
Try the following formula:
Red Flag = IF ( SUM(Water[Pumpage]) < SUM(Water[ExpectedPumpage]) * 0.25, "Below Limit" )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- v-kkf-msftCommunity Support
Hi Anonymous ,
Try the following formula:
Red Flag = IF ( SUM(Water[Pumpage]) < SUM(Water[ExpectedPumpage]) * 0.25, "Below Limit" )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.