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 Automate
Suggested Answer

Excel Count

(0) ShareShare
ReportReport
Posted on by 728
Hello,
 
I have a flow that filters rows from an excel spreadsheet and then counts the rows that meet the criteria.  However, it doesn't provide the correct count.
 
There are for example 5 rows currently in the table that match the criteria, when a new submission is added that is part of that criteria, the count should display 6.  However, it displays 5.  Doesn't seem to take into account the newly submitted row.
 
 
The formula in the Compose 2 action is:
 
length(body('Filter_array'))
 
 
Is there something i am missing or need to add?
 
thanks
Categories:
I have the same question (0)
  • Srini007 Profile Picture
    3,467 Super User 2026 Season 1 on at
    Hi,
     
    Can you check is the Filter Array is returning 6 items? If not then you need to check if the condition is really met?
     
    If I have answered your question, please mark it as the suggested answer. If you like my response, please give it a Like.
    Regards,
    Srini
  • neill_long Profile Picture
    728 on at
    the Filter Array shows 5 returned items.  It doesn't show the item which is added to the list at the start of this process.
     
    The Submission Date however, is all the same dates so should meet the condition.  it's like the results need a refresh.
     
    When the response is added to the spreadsheet, i then list rows present in a table and have a query on that:
     
     
    On the test run i did, it shows 5 submissions.  so again that is not displaying the newest item, which has the same Student_ID.  I am just resubmitting a test run so info is all the same.
  • Suggested answer
    neill_long Profile Picture
    728 on at
    so i think i have resolved this.  i added a 5 minute delay after the add a row into a table and it then lists all the rows.  sync delay was causing the issue.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard