Nov 15 2023 08:01 AM
Hi,
I’m deeply confused with Power Automate Get Items ODATA Filter Queries. They are completely illogical. With one choice column called “Status”, it works absolutely fine. With another choice column called “Sway Status” on the same list, it errors every single valid Filter Query I give it.
> The syntax is correct, it is identical syntax to the one that works.
> It recognises the column exists, otherwise it prints a different error along the lines of “The column may have been removed” when it can’t find the column
> I have tried quote escaping. Doesn’t work
The experimental feature to simplify filter queries isn’t there anymore, so I’m stuck with these queries that seem to only work if you’re lucky and the winds blowing in the right direction. Please help.
Nov 15 2023 08:22 AM
Nov 15 2023 08:24 AM
Nov 16 2023 07:38 PM
Hi @BenMercer
If SwayStatus eq 'To Do' didn't work, you can also try Sway_x0020_Status eq 'To Do'.
Cheers and best wishes
Damien
Nov 16 2023 09:36 PM
Nov 16 2023 10:22 PM
@Damien_Rosario this didn’t work either. Same bad request error. Like I said, it clearly knows the column exists, otherwise it throws back a different error when it can’t find the column. The bad request error seems to be it saying it’s found the column, but is complaining that the syntax is wrong, when it isn’t.
Nov 16 2023 10:54 PM
Strange issue @BenMercer .
Only other thing I can think of is to check that your value 'To Do' doesn't contain an extra space after 'Do'. That would break your filter query if it does have it.
Otherwise, for now, I can't think of anything else to suggest trying.
Cheers
Damien
Nov 16 2023 10:57 PM
Apr 21 2024 11:46 AM
I was struggeling for an hour with this. Finally I tried to put the search string into ' ' and that worked out.
like: Name eq 'Ben42'
or even Name eq 'Dynamic Content'