cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Frequent Visitor

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

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
Highlighted
Super User
Super User

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

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.

Highlighted
Frequent Visitor

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

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

Highlighted
Frequent Visitor

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

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
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (9,451)