web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I use a sharepo...
Power Automate
Answered

How do I use a sharepoint lookup colum in Filter Query on Power Flows?

(0) ShareShare
ReportReport
Posted on by

I have two sharepoints list :

 

Books            Reservation

-ID                 -ReservationDate

-Name           -ReturnDate

                      -Book (LookUp of Books, showing the ID)

 

I have a flow "Get Items" that return the first value when there is a reservation between the specified dates, and if the book Id is equal to the ID. But I'm unable to compare a text value with a "LookUp" value, it always return false.

 

Note: The "List Name" is Reservation

 

Here is what my "Filter Query" looks like :

 

'varReturn' gt ReturnDate and 'varReservation' le ReturnDate and 'varBookId' eq Book

 

Except for the 'varBookId' eq Book, everything is working fine...

Categories:
I have the same question (0)
  • grantjenkins Profile Picture
    11,063 Moderator on at

    You should have 'varBookId' = ID

  • Community Power Platform Member Profile Picture
    on at

    If I do it, It will compare my varBookID with my Reservation ID sadly :c

  • Verified answer
    grantjenkins Profile Picture
    11,063 Moderator on at

    Ah, sorry didn't catch the part with it being a Lookup column. Can you try Book/Id and see if that works.

  • Community Power Platform Member Profile Picture
    on at

    It works ^-^ thanks ❤️

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard