Notifications
Announcements
Hi,
I have one a list which has two number columns A and B.
I want to get items by filter A < B.
How can I generate the filter query sentence?
Thanks!
Jack
@Anonymous As per my knowledge is it only be possible by first you get all items and then try to use filter array action to compare A and B column from the list.
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!
Hi @Shuvam-rpa ,
Yes, that's what I've done. But for the performance, I don't want to let it go through all items and waste the searching time.
Is there another way to achieve this?
Hello @Anonymous ,
directly in the “Get items” action you can use the filter query. If you already know di columns unique names, please use the filter query in advanced mode and type: <your_column1> lt <your_column2>.
BR,
Marco
@MarconettiMarco if you used it before, kindly share the query screenshot and the result after running the flow.
at my end it show error.
Hi @Anonymous,
Do you mean that you want to compare a number column with another number column without Filter Array?
I think there is no way to achieve this but the Filter Array in Power Automate.
Since you want to compare one column with another column, it is necessary for you to loop through all the items, which is how Power Automate processes data.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 538 Super User 2025 Season 2
Tomac 405 Moderator
abm abm 252 Most Valuable Professional