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 / How can I delete all b...
Power Automate
Unanswered

How can I delete all blank rows from an Excel table?

(0) ShareShare
ReportReport
Posted on by

I am creating an Excel table in a workbook I upload and am wanting to delete the blank rows from inside of it. I cannot figure out how to filter the table to just the blanks before doing an "apply to each" that deletes all blanks. Any suggestions?

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous 

    Is this a one-time thing? Or something you want to do a bunch automatically?

     

    -Ed

  • Community Power Platform Member Profile Picture
    on at

    @edgonzales, this will apply when the file is first uploaded but not have to occur in the future.

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous - OK, probably best to do that before the file is uploaded, but assuming that's not an option there might be other things to do depending on what is happening next.  Can you give some context as to what the rest of the flow looks like, and what you're trying to do?

     

    Thanks!

    -Ed

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    @Anonymous  Hello,

     

    How many columns do you have? If it is not too many follow my instructions below.

     

    The only requirement is that there is a ID column

     

    Add a compose shape for each column in your TableAdd a compose shape for each column in your TableUse a Condition and use the 'empty' expression for each of the columns..Use a Condition and use the 'empty' expression for each of the columns..

     

    My expressions looks like this:

    empty(outputs('Firstname'))
    empty(outputs('lastname'))
    empty(outputs('title'))
     
    This will return true if all those fields are empty within the record/row
     

    --Josh

     

    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others

     

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard