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 / Add function not behav...
Power Automate
Answered

Add function not behaving properly

(0) ShareShare
ReportReport
Posted on by 10

Hello,

I have designed a flow in which I am using microsoft form as trigger.

I need to add two number to update a sharepoint list. One is from micrsoft form and other is from a sharepoint list. 

But, add expression is giving me an error saying one of the numbers is null, where as thats not true. 

Please find attached the screenshots of the  error, formula, basic flow. ErrorErrorOverview of the flowOverview of the flowFormulaFormulaThe update item block in which the formula is used.The update item block in which the formula is used.

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

    Hi @raionkar,

     

    According to your description, I made a simple flow for testing on my side. If the Number of days less or equals Number, use add function to update Total in the list. All of the three columns are type of number.

     

    The add function is configured as:

    add(items('Apply_to_each')?['Number_x0020_of_x0020_days'], items('Apply_to_each')?['f8il'])

     

    The total will be updated without error.

    1.PNG

     

    What’s the column type of Get response details? Please make sure there is a value in the field of Leaves Takes. I assume that whenever this field is blank, it will return the error says that the provided value is of type Null.

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    on at

    Hello,  @raionkar!

    Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard