cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cristyflorin
Frequent Visitor

Travel approval matrix issue - filtering a Sharepoint list based on a choice value from another list

I need to create a travel approval tool - person 1 adds details and his organization in a Sharepoint list. On create/modify, I want Flow to:

1. Select the Organization column choice (L3 Org) for the item.

2. Compare to Organization column from list B (Title) - which contains Manager, Approver and Delegate for all countries.

 

Get Items Filter OData does not seem to be working at all on choice values, I've tested multiple spellings for it, nothing works: "message": "Column 'ISE' does not exist. It may have been deleted by another user.

 

I've also tried to store the List A value in a variable but the ODATA Filter still will not work.

 

Any ideas?Flow_01.PNGFlow_02.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

OK, found the solution: Get Items with no filter; then Filter Array with the needed columns; then Compose and just select Body.

solution.PNG

View solution in original post

3 REPLIES 3
RobElliott
Super User
Super User

Hi @cristyflorin it looks like you've omitted the apostrophes which are required around the items in the filter query:

 

Filter-query-apostrophes.png

 

 Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Same result with and without, screenshot attached. I see you are using Compose in yours - is it possible to use a Filter Array and Compose? if so, what do i need to write in the compose?
Apostrophe.PNGWithout A.PNG

OK, found the solution: Get Items with no filter; then Filter Array with the needed columns; then Compose and just select Body.

solution.PNG

View solution in original post

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.

Users online (1,734)