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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Calculated ...
Power Automate
Unanswered

SharePoint Calculated Field not Functioning Correctly in Condition

(0) ShareShare
ReportReport
Posted on by 18

I have a Flow setup to move one calendar date to a calendar on a different subsite based on two conditions.

The first determines if it is an All Day Event.

 

all-day-condition.JPG

 

 

 

 

 

 

 

 

 

Everytime I run this flow it ends up proving "False" even though, the Calculated Column shows to be All Day. I am thinking that somehow the condition is proving false just based on the value not proving true and not the condition statement as a whole.

The reason I say this is because the second condition looks at the IT area to see if it equals a certain area and then if it does, it proceeds to copy the calendar item. At first when I put "IT Area", it was proving false, but when I found the "IT Area Value" it worked like it was supposed to.

 

it area value.JPG

 

 

 

 

 

Does Flow not work with Calculated Columns? If I can just get that condition reading correctly, my Flow would be completed.

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @cbbrown,

     

    Could you please share more details about your SharePoint list?

    Could you show a bit more about All Day field and IT Area field? Are they custom fields?

    Further, could you please show a bit more about the formula of your Calculated column?

     

    The Calculated column displays information that is based on the results of calculation of the formula box. Besides, the Calculated column doesn’t display in “Create item” box and we could not edit it:3.JPG

    Please check if the result of calculation of the Calculated column equals Yes.

     

    More details about Calculated data type of SharePoint, please check the fololowing document:

    List and library column types and options 

     

     

    Best regards,

    Kris

  • cbbrown Profile Picture
    18 on at

     

    The All Day field is a calculated column with the following formula:

    =IF(NOT([End Time]=[Start Time]),

    IF(MOD(ROUNDUP(([End Time]-[Start Time])*24,0),24)=0,TRUE,FALSE),FALSE)

     

    The IT Area field is a choice column.

     

    When I modify the view to show the "All Day" field, it shows Yes for "All Day Events" and No for single hour/day, just as it should. So I believe that the calculated field is working correctly.

    all-day.JPG

     

     

     

     

     

     

     

     

     

     

    Hope this answers your questions better. 

  • cbbrown Profile Picture
    18 on at

    @v-xida-msft

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard