Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Flow with a condition checking a calcualted true/false value always returns false

(0) ShareShare
ReportReport
Posted on by

I have a list with a column [Approval%] which calculates a variation +/- 20% of other columns and the output is Yes/No formatted. The Approval% column produces the correct result when the values are changed (i.e. Yes/No), so I know the formula in the list is working.

 Capture3.PNG

Capture2.PNG
The flow I set up has a 'get item' action which pulls the list values and a condition: 

@equals(body('Get_item')?['Approval_x0020__x0025_'], 'yes') which evaluates if the variation is outside the range. If Approval% value is = 'yes' it should kick off an approval. If = no, it should send an email.

Capture4.PNG

 

Not matter what expression I put the condition ALWAYS produces a 'false' output and sends the email, not the approval.
I've tried [Yes] in single quotes, double quotes, bool(true), bool(1), yes, true, 1, and every varation thereof.  No matter how I format it the expression always produces a false

Capture1.PNG
Am I missing an action step to retrieve the column values? Does the fact that the column is calcuated effect it? Is there a different trigger I should use? I'm losing my mind....

  • Verified answer
    kmmesrob Profile Picture
    on at
    Re: Flow with a condition checking a calcualted true/false value always returns false

    Hi Alice! Thanks for the qucik reply. I actually got it work last night with a different method. I changed the calcuation for the Approval % column to be an =IF statement with Yes,No as the output and then changed the flow to recognized a boolean Yes string. Seems to be working but if it crashes I'll try your method! 

    Thanks!!!

  • v-yuazh-msft Profile Picture
    on at
    Re: Flow with a condition checking a calcualted true/false value always returns false

    Hi @ kmmesrob,

     

     

    The output of a calcualted column in a sharepoint list would be "0" or "1" instand of "No" or "Yes".

     

    So you could use expression in the Condition as below:

    @equals(items('Apply_to_each')?['Approval_x0020__x0025_'], '1')

    I have made a test on my side and have created a flow as below:

    Capture.PNG

     

    The flow would run successfully as below:

    Capture.PNG

     

    Please let me know if your problem could be solved.

     

     

    Regards,
    Alice Zhang

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1