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 / Flow only applying con...
Power Automate
Unanswered

Flow only applying condition to first match instead of all matches on an excel sheet.

(0) ShareShare
ReportReport
Posted on by 18

Screen Shot 2022-10-20 at 1.51.44 PM.pngScreen Shot 2022-10-20 at 1.51.53 PM.pngHi there.  

 

I have a flow established to send an email two weeks before a given date on an excel document.   Its a compliance email.  There are multiple people who need to be sent compliance email per each date, however, the condition is only recognizing the first person listed for each date, instead of sending emails for all of the date matches.  How can I fix this?  Is there something like a repeat that can run until all of the matching dates are recognized?

 

Thanks a million in advance. 

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    I would use the Filter Array action, then Parse JSON, to after your List Rows action to get your related dates. Then you can Apply to Each from there.

    Like this: 

    Rhiassuring_1-1666303685911.png

     

    That should do it!

     

     

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @masaro3 ,

    Could you please tell me:

    1. Have you set Filter Query in [List rows present in a table]?

    if not

    Please check :

            1.Does the output of [List rows present in a table] contain the second matching date?

                 (You can use Ctrl+F to query through the page to see if there is a matching date in the output of [List rows present in a table].)

            2.Does your Excel table have more than 256 rows?

    The Excel (Business) connector's "List rows present in table" action is currently limited to 256 rows in microsoft flow.

     

    I thought the second matching date might be after row 256.

     

    There is a way to around this limit:

    Solved: Excel (Business) - List rows present in a table: 2... - Power Platform Community (microsoft.com)

     

     

    Best Regards

    Cheng Feng

  • masaro3 Profile Picture
    18 on at

    Hi! so this did seem to be the issue-- I didn't realize that there was a limit- so instead of adjusting the flow, I adjusted the document, and made sure all matching dates would be in the first 256. I will set up the parameter for the row to be deleted afterwards. However I am now running into a new issue.

     

    The flow is recognizing all of the corresponding information for all 24 rows that match the target date, however the flow won't stop running.  It's not a new run, but before the run ends, it is cycling the document (infinitely- I had to turn it off after 2 hours).  I want it to just cycle the document once, then stop.  Any ideas on next steps?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard