web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Condition returns fals...
Power Automate
Answered

Condition returns false even when true

(0) ShareShare
ReportReport
Posted on by 88

Hey everyone, I am a little stumped because I had a SharePoint list that has a calculated column and returns a check mark when true and a blank string when false.

 

I want use my flow to check if the calculated column returned true then I update a different list column but I can't get it to work and my flow always comes back false despite any changes I have tried.

 

I showed pictures of the flow failing, the condition, and the results and check mark from the list. Yesterday it worked once but I didn't catch it so I changed stuff and now I can't figure it out.

 

jlk1_0-1687878102371.pngjlk1_1-1687878139913.pngjlk1_2-1687878168324.png

jlk1_3-1687878197025.png

EDIT: I tried this giant "Or" block and still nothing does anyone have any ideas? 

 

jlk1_0-1687880338745.png

 

Categories:
  • Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @jlk1 

     

    Basically "yes/no" fields are of Boolean type that store values as true or false. So, replace yes with true value in the expression window as shown below:

    ManishSolanki_0-1687879153419.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • jlk1 Profile Picture
    88 on at

    It still came back as false

  • jlk1 Profile Picture
    88 on at

    jlk1_3-1687879785229.png

    jlk1_4-1687879810662.pngjlk1_5-1687879835485.png

     

     

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    A checkbox column can return

    • true
    • false
    • or it can be blank

     

    I have an example below of 3 items in a sharepoint list. The first item has a checkbox that is checked. The second item has never been checked or unchecked, and the third item was checked and then unchecked. 

    Sharepoint List Checkbox ColumnSharepoint List Checkbox Column

     

    I made an example flow that has a Compose statement that is just holding the checkbox value. You can see there are 3 different results. The first item with the checked checkbox returns a value of true. The second item with the untouched checkbox returns a blank/empty value. And the third item with the checked and then unchecked box returns a value of false.

    Checkbox Value Review ResultsCheckbox Value Review Results

  • Verified answer
    jlk1 Profile Picture
    88 on at

    Found the solution: Not fully sure why but now it works

    jlk1_0-1687887371920.png

     

  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    After looking at your example that shows you are using a Calculated column that has a Yes/No data type, I have made another example.

     

    The key thing to note is that a Calculated column with Yes/No data type will return a String "" Output of "1" for a checked item and "0" for an unchecked item. A string number "1" is different than an integer number 1 where the string is viewed as text but an integer is viewed as a number. 

     

    I created a Calculated column in my SharePoint list and based it on some other columns. 

    SharePoint List Calculated YN Column ExampleSharePoint List Calculated YN Column Example

     

    In my sharepoint list example, it shows that the first and second item return a true value for the Calculated column "Calculated CheckBox" so there is a check in the list view.

     

    I have made an example flow that will check the value of the "Calculated CheckBox" column by comparing it to a string(1) expression. You are unable to compare it directly to a number 1 because the outputs of the calculated column will be a string. So "1" does not equal 1 and will always be false.

    Calculated Column Checkbox Review FlowCalculated Column Checkbox Review Flow

     

    Below are the results of my flow. The most important part is to see that the outputs are string type. You can compare the "Calculated CheckBox" outputs of "1" and "0" to the number column "EstimatedAnnualRevenue" which has values like 900000.0 and 55.0 but neither are in double quotations so they are numbers not strings.

    Calculated Column - Get Items Raw OutputsCalculated Column - Get Items Raw OutputsCalculated Column Review Results - Item 1 of 3Calculated Column Review Results - Item 1 of 3Calculated Column Review Results - Item 2 of 3Calculated Column Review Results - Item 2 of 3Calculated Column Review Results - Item 3 of 3Calculated Column Review Results - Item 3 of 3

     

    By comparing the calculated column to a string(1) it will tell you if the box it checked or not.

     

    Below is an example that can be used with the single item trigger "When an item is created or modified" to check a calculated checkbox column.

    Solution Flow ExampleSolution Flow ExampleSolution Flow ResultsSolution Flow Results

     

    Let me know if this works for you @jlk1 

  • wskinnermctc Profile Picture
    6,519 Moderator on at

    My response below has a solution using the condition on the calculated column.

  • jlk1 Profile Picture
    88 on at

    Yeah it works, had to mess with it a bit but my other solute randomly broke. Thanks a ton homie!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard