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 / Using "Is Empty" in Po...
Power Automate
Unanswered

Using "Is Empty" in Power Automate Desktop for Data-Driven files - Excel

(0) ShareShare
ReportReport
Posted on by 16

I know that "Is Empty" Conditional action was recently introduced but not sure how I can use this feature as of today.

To keep it simple, I have an excel file with 70 columns and it has 1 row. Each row in the excel file represents 1 record which I am appending to a Web application using Power Automate Desktop.

 

I was able to read excel file using Sub flow and reading each record in Main flow using For Loop and that seems to be working.

There are some records which may or may not have data. How can I code or configure PAD to skip the empty record(s).

Feel free to throw in from simple to complex logic / Programming code or conditionals here. 

I have the same question (0)
  • miketran13 Profile Picture
    720 on at

    Hi Guys,

     

    From my last experiences, I just need to add a condition inside the loop and check if the current item value is empty, then I have an action that is Next Loop. So, it will skip all the item which is empty. 

    Please see the image below for my example.

    isempty.png

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • AutomationGuy Profile Picture
    16 on at

    @miketran13 Thanks but that didn't work for me. As I am using 'Populate text field on Web Page' for each (Excel field) field to populate on the web application I might have to write for each of the 70 fields or is there an efficient way?

     

    Forum_Populate_SS.png

  • miketran13 Profile Picture
    720 on at

    If you have a same number of fields on the web application that you have to populate the value to, then I don't think you can have any other efficient way to do that. You have to populate it field by field.

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • oscar_bolanos Profile Picture
    13 on at

    Great answer!!

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Thank you,  I was having a similar issue with Loop Condition While %Var% <> 0.  The point was to keep running an Excel Macro until a specific cell came back empty, but zero is not empty and the Loop Condition didn't have an (Is Empty) option.  So, using what you said above, I was able to build into the Loop Condition one that said If %Var% (is empty), then Set %Var% to 0. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You can use get free rows first to get total no of Rows count

    Then use LoopCondition. in Loop condition you can use input from Get free rows. From Loop condition you will get variable current item. While in Loop you can use current item is empty or not to skip the rows in excel data table. 

    Thanks 

    Harsh

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard