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 / MS Forms to SharePoint...
Power Automate
Unanswered

MS Forms to SharePoint - SharePoint displaying incorrect information

(0) ShareShare
ReportReport
Posted on by
Scenario - I have a simple logic question with branching in my MS Forms form. The Donation Amount is not required and because of branching, it can be completely skipped over and left blank:
Would you like to donate? 
If Yes, branching leads user to filling out their donation amount.
If No, branching leads user to clicking the final submit button.  So, the value could be null.
 
Power Automate uses a workflow and populates the field data into a SharePoint list.  Both the MS forms field and SharePoint list item/column are integer/number fields.
 
I want the "No" or null branching to populate a zero value into the SharePoint field.  I've achieved this through using different expressions, however, each time I input an actual donation amount into the field, my return value in SharePoint still populates zero.  I'm not able to figure out how to get my return value to populate an actual donation amount if I choose to input one and not just zero.
 
Here are the expressions I've used that gets me halfway there:
1.     @if(empty(item()?['DonationAmount']), 0, item()?['DonationAmount'])
 
2.      if(empty(item()?['DonationAmount']), 0, float(item()?['DonationAmount']))
 
Any suggestions?
 
Thanks!
 
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,508 Moderator on at
    @KB-27111647-0 It's hard to offer any recommendations without seeing your full flow and the logic behind it. If you are using the new designer, toggle it off and click each action to expand it. Upload a screenshot of your flow in edit mode.
     
    In the meantime, you might be interested in these YT Tutorials:
    In this Power Automate tutorial I’m going to cover 7 functions you need to know when getting started with expressions.
    1️⃣ empty()
    2️⃣ coalesce()
    3️⃣ equals()
    4️⃣ if()
    5️⃣ concat()
    6️⃣ length()
    7️⃣ split()
     
    I cover how to use these functions in expressions and I’ll also cover common mistakes when it comes to writing expressions and show you a few tips and tricks along the way.
     
    As a beginner or even an intermediate flow builder—expressions can seem a bit complex at first, I’m going to try to simplify it for you.

    IN THIS VIDEO:
    ✓ What is an Expression?
    ✓ What is a Function?
    ✓ What Does Wrapping a Function Mean?
    ✓ How Do I Insert an Expression?
    ✓ How to Use a Compose action
    ✓ How to Navigate the Expression Builder with Arrow Keys
    ✓ How to use the Expression Tooltip ✓ Common Mistakes When Writing Expressions
    ✓ How to differentiate a null from an empty string
    ✓ How to Get Dynamic Content When it’s Not Listed
    ✓ How to Use a Get Item Action to Verify Dynamic Content Output ✓ How to Convert Strings to Lower Case
    ✓ How to Troubleshoot the if() Function
     
    ---
     
     
    In this Microsoft Power Automate tutorial, I’ll show you how to get your Microsoft Form responses into SharePoint. I’ll cover how to build a Microsoft form with conditional fields by using branching. You’ll learn how to format your multiple choice responses for a SharePoint multi-choice column as well as converting it to text. I’ll also show you how to take a text response and convert it to a number with a switch action and with an expression. 
     
    After adding the response to SharePoint, we’ll send the user an email confirmation with all the details of their form submission.
    At the end of the video I’ll show you a few tips and tricks on working with a SharePoint list.
     
    IN THIS VIDEO:
    ✓ How to get a Microsoft Form Response into SharePoint
    ✓ How to get a Microsoft Form ID
    ✓ How to get a Microsoft Form response
    ✓ How to Build a Microsoft Form with Conditional Fields
    ✓ How to used Branching in Microsoft Forms
    ✓ How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
    ✓ How to parse a Microsoft Form multiple choice response as string of text
    ✓ How to convert a text response to a number
    ✓ How to use the Switch action
    ✓ How to create a custom email confirmation for a Microsoft Form submission
    ✓ How to Create a Custom View in a SharePoint list
    ✓ How to use the Compose Action
    ✓ How to write Power Automate Expressions

    If you still need more help after watching the tutorials, feel free to post additional screenshots of where you are stuck!

    Hope this helps!

    Consider giving me a ❤️ if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard