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 to ignore blank Ro...
Power Automate
Unanswered

How to ignore blank Rows when using List Table Rows in Power Automate

(0) ShareShare
ReportReport
Posted on by 5

Hello,

 

I have an Excel Online file saved in SharePoint that contains an Excel Table from which I'd like to List Rows and for Each item, Add a Row to another Table.

 

My first Table is refreshed periodically and never contains the same number of Rows, therefore I have a theoretical range set in my action "Create Excel Table" to make sure I'm not missing any lines:

 

OE_APerron_0-1595183768127.png

 

 

The problem it's that it creates a thousands of blanks rows that I'm not able to filter out when listing my Table Rows:

OE_APerron_1-1595183857243.png

 

length(body('Lister_les_lignes_présentes_dans_un_tableau')?['value'])
 
I've tried various posted solutions (Filter Array, set Variable, OData Filters) wihtout any success neither.
 
As anyone succeeded, in a similar Flow with Excel online Connectors?
 
AP 
Categories:
I have the same question (0)
  • Verified answer
    js-dattics Profile Picture
    98 on at

    Salut @OE_APerron 

    I don't like working with Excel and Power Automate, I prefer CDS or Sharepoint Lists.

    However, you could filter your Excel action as follows:

    js-dattics_0-1595185059368.png

    "Header A" should be any of your table's headers.

    Try it and keep me posted.

     

    Salut et bon courage de la Colombie.

  • OE_APerron Profile Picture
    5 on at

    Thanks @js-dattics ,

    I tried the Filter Array yesterday and it failed, but with your reply I noticed what I was missing ! Thanks cause it works perfectly now and although it takes around an 45 min (due to apply to each for roughly 2000 rows), I'm able to move on to my next challenge 🙂

    PS: I had failed to input proper Columns names in my Create Table action which was probably defaulting the names causing the Filter Array to fail (equivalent of not applying a filter):

    OE_APerron_0-1595209679833.png

    OE_APerron_1-1595209755681.png

     

    Gracias desde Quebec, Canada,

    Saludos,

    AP

  • Daniel42 Profile Picture
    2 on at

    Hi @js-dattics ! When I try to use this solution in my flow, I don't get the table's headers names in the list of dynamic content in the filter array. I do get the "value" in the From field. But in the first field of the "statement" I only have "value" and "body" in the list of dynamic content from "List rows presented in a table" step in my flow.

    Daniel42_0-1708695856338.png

    Any idea why I'm not getting the names of the table's headers?

     

    /Daniel

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard