cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
LostInTheSauce
Level: Powered On

Filter Query created items to get items

I have a database setup within SharePoint to build a document using MS Flow.  I was able to perform the basic with no filtering however, I'm caught on the filter query.

List 1: Builds out Cost estimates: Field WR No (unique per entry)

List 2: Project Scope: Field WR No (same as above)

 

I started a Flow that say when an item is created in List 1, get information from List 2 to populate a word template (already built) and save it into a folder.

 

I need to filter List 2 to only return information that List 1 refers  to.  List 1 WR No eq List 2 WR No.

 

I have tried to control Condition, however, that doesn't work either.  I was trying to perform the filter at the get items level utilizing the filter querey.  I'm doing it at this level, since I will have multiple list filling out the work document template.

 

Please help!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Filter Query created items to get items

Hi @LostInTheSauce 

 

Please refer to the following post. I have used Odata querying and it just similar to wht you need. 

 

https://powerusers.microsoft.com/t5/Building-Flows/when-item-is-created-updated-that-item-based-on-a...

 

Hope thsi Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

3 REPLIES 3
Super User
Super User

Re: Filter Query created items to get items

Hi @LostInTheSauce 

 

Please refer to the following post. I have used Odata querying and it just similar to wht you need. 

 

https://powerusers.microsoft.com/t5/Building-Flows/when-item-is-created-updated-that-item-based-on-a...

 

Hope thsi Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

LostInTheSauce
Level: Powered On

Re: Filter Query created items to get items

So I'm getting lost on how to set the filter. Every option I do it doesn't give me the correct output.
Create item WRNo
Get items WRNo eq create items WRNo
Is there something I'm missing?
I type in WRNo(actual title of column) eq then with help fro. Flow I look up the create items and click on WRNo. Shoukdnt that be it?
Super User
Super User

Re: Filter Query created items to get items

Hi @LostInTheSauce 

 

While selecting from the dynamic content for I type in WRNo(actual title of column) eq then with help fro. Flow I look up the create items and click on WRNo. , you should wrap the value from the flow in single quotations as shown in my screenshot in the other response. please post a screenshot of your flow if it does not work. 

 

Hope this Helps!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 53 members 4,716 guests
Please welcome our newest community members: