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 / Search for match in on...
Power Automate
Unanswered

Search for match in one list to create an item in another list based on the result

(0) ShareShare
ReportReport
Posted on by
I have two SharePoint Lists
 
  1. Submissions 
  2. Filtered submissions
I have created a PowerApps to post submissions to the submissions list.
 
What I need now is a power automate fix where when a new submission it searches the submission list for a match on two parameters
both text fields and if a match is found I will firstly create a item in the filters submissions list with a count column (integer)
and for every subsequent match it will simply increment the count in the filtered list.
The submission still ends up being added to the submissions list in fact its this which acts as the trigger (when an item is created).
the end result is that I have a list with a count for every item which matches both criteria
i.e. for every item with matches role (string) and department (string)
resulting in a list which effectively has a count of specific roles within a specific department

HR  Administrators     10
HR  Manager         5
ICT Engineers         15
ICT Manager        3
ICT Tech-Leads        2
 
am thinking first two actions are
When an Items is created (pointing to submissions list)
then it either a condition  or a get items which searches the list for a match
Any assistance would be great many thanks.
 
Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Moderator on at
    You can do the following:
    1. Trigger flow on item created in SharePoint list 1.
    2. You can add an action to get items that match the trigger item in SharePoint list 2.
    3. Add a condition to check the length of the values returned by the previous action.
    4. If length is greater than 0, you can add an action to update the item filtered by action 2 to increase the count column.
    5. If length is equal to 0, you can add an action to create a new item in SharePoint list 2.
    Hope this helps.
    Cheers!
  • Gyllentid Profile Picture
    894 on at
    Are you familiar with list views? I was wondering if that would be a suitable solutions for you instead of having two lists?
     
    Otherwise you should be able to filter on two column fields using Get items and expanding the Filter field. Here is a guide with examples on how to filter: Power Automate OData filter query with examples - SharePoint & Microsoft Power Platform Tutorials - SPGuides

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