cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LostInTheSauce
Helper I
Helper I

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
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

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!

View solution in original post

LostInTheSauce
Helper I
Helper I

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?

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,439)