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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using contains for Fil...
Power Automate
Answered

Using contains for Filter Rows in List Rows for a lookup column

(0) ShareShare
ReportReport
Posted on by 117

Hi everybody

 

I'm trying to List Rows from Dataverse where a Lookup Column value (_st2_group_value) is equal to any of the items in a array I have composed in a previous step (see screenshots) ->

 

evalindag_1-1665495372130.png

 

evalindag_0-1665495343234.png

 

raw input: 

 

{
 "host": {
 "connectionReferenceName": "shared_commondataserviceforapps",
 "operationId": "ListRecords"
 },
 "parameters": {
 "entityName": "st2_bookings",
 "$filter": "contains([\"38eca23e-faeb-ec11-bb3d-6045bd8ea63b\",\"42eca23e-faeb-ec11-bb3d-6045bd8ea63b\"],_st2_group_value)"
 }
}

 

 

I get the following error: 

evalindag_2-1665495423976.png

 

I would really appreciate it if somebody could help me 🙂

 

Best regards

Eva

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @evalindag ,

     

    Unfortunately, odata query cannot use column name as the second parameter.

    I suggest you create a filter action after 'List rows' action.

    vxiaochenmsft_0-1665630807251.png

     

    Best Regards,

    Wearsky

  • evalindag Profile Picture
    117 on at

    @v-xiaochen-msft  

    Thank you, this worked 🙂

     

    Best regards

    Eva

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard