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!

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
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,585)