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

Community site session details

Session Id :
Power Automate
Unanswered

Get items issue

(0) ShareShare
ReportReport
Posted on by 1,265

I am having an issue with the following Filter query syntax...

RJF61_1-1661526677350.png

 

RJF61_4-1661527342532.png

RJF61_5-1661527508681.png

Any assistance would be appreciated

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: Get items issue

    The value you are trying to match needs to be inside single quotes.  Its a text value in the choice column, not a number.

  • RJF61 Profile Picture
    1,265 on at
    Re: Get items issue

    @Pstork1 

    Thanks for the response.  For whatever reason, I am receiving regardless of the single quotes...

     

    Vehicle_x0020_Number eq '@{triggerOutputs()?['body/Vehicle_x0020_Number/Value']}'

    or

    'Vehicle_x0020_Number' eq @{triggerOutputs()?['body/Vehicle_x0020_Number/Value']}

     

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: Get items issue

    What trigger are you using?  If you are using one of the SharePoint triggers then why do Get Items?  You could just do Get Item using the ID.

  • RJF61 Profile Picture
    1,265 on at
    Re: Get items issue

    I am using the "When an item is created or modified".  There are multiple Vehicle_x0020_Number values so I need to pull the Highest/Max value based on the Vehicle_x0020_Number.  As below...

     

    RJF61_2-1661533559662.png

  • Pstork1 Profile Picture
    68,678 Most Valuable Professional on at
    Re: Get items issue

    Ok, I tested that scenario on one of my lists and it works with the following code.

     

    Vehicle_x0020_Number eq 'triggerOutputs()?['body/Vehicle_x0020_Number/Value']'

    Power Automate will add the @{} around the value if you type it in the expression tab the way I've listed it.

     

  • JimmyW Profile Picture
    2,563 on at
    Re: Get items issue

    @RJF61 If you just write VehNo eq VehNo Value.

    I set up a copy of your solution before so it should work. 

  • Verified answer
    RJF61 Profile Picture
    1,265 on at
    Re: Get items issue

    Thanks for your help

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard