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 / Stop blank responses o...
Power Automate
Answered

Stop blank responses on MS Forms sending to Excel

(0) ShareShare
ReportReport
Posted on by

This is my working flow....

 

1. A MS Form gets filled in.

 

2. It updates a Excel table row. This is based on an employees serial number entered in the form matching with an employee serial number column on the Excel Table.

 

3. If this fails (doesnt match an employee serial number) it skips the above and creates a new row with all the information from the MS Form.

 

All the above works almost exactly how I want it to... new employees add new rows on first completion of the form, and existing employees update their row on completion of the form.

 

The issue is if an existing employee already has a table row but doesn't fill in every question on the MS Form, when the data is sent to the table it deletes existing data because my flow sees it as a blank. How do I stop this?

 

More context....

The form takes 20minutes to complete. I don't want to make all the form questions mandatory if they only need to update one piece of data. So I just want the flow to ignore blank data from MS Forms and not send it to my excel table.

 

Name and employee serial number are mandatory but all other questions on the form are expiry dates for specific competencies that are not mandatory because they only update them as they complete a course.

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Wgt404245 ,

     

    Do you want to keep original value of column when responses of one question is blank?

    You can use expression to return original value when one blank value submitted by user.

    Assuming that you use Get items and Filter query to get corresponding item, please try this.

    if(equals(outputs('Get_response_details')?['body/r19fe6e0d86c244efa0d328bc513f28f4'],''),first(outputs('Get_items')?['body/value'])?['Test1'],outputs('Get_response_details')?['body/r19fe6e0d86c244efa0d328bc513f28f4'])

    vmengmlimsft_0-1718156536837.png

     

    You should use the expression in each update field.

    Don't forget to replace column name and question with yours.

     

    Best regards,

    Rimmon

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
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard