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 / Check the value in the...
Power Automate
Unanswered

Check the value in the excel table

(0) ShareShare
ReportReport
Posted on by

Hello community, I've been stuck with my flow for a while now. 

The flow I've created has to get and read through an excel files => Validate if file is empty => Check each data cells in the table if there's any empty cell => (yes) send email or (no empty) update a Dataverse with data within excel file.

 

The problem is how I write my code in the second picture after checking a row in excel with apply to each, it will work fine if there's no empty cell in that file. But if there's an empty cell for example in row 20, the first 19 rows would already been added to Dataverse which I don't want that. It needs to be checking all the rows first, then add to Dataverse later if there's no empty.

 

How should I modify this code. 

deerzzxdell_0-1709087853250.png

 

deerzzxdell_1-1709087875796.png

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @deerzzxdell 

     

    The true should be passed in the form of expression not as plain text in condition action. Expression needs to be entered in the expression box as shown below:

    ManishSolanki_0-1709089393359.png

    true

     

     

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

     

  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    Initialize a new variable near the top of the flow and call it isValid (or whatever you want). Make it a True/False type, and set it to True.

     

    Now, just above your Apply to Each 2, add another loop over your excel items, but this time, one row at a time, check to see if the value is null. If any ever comes back null, then update isValid to false.

     

    Now, just add a condition check: If isValid = true and put Apply to Each 2 inside the If Yes branch.

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard