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 / Get Items Filter does ...
Power Automate
Unanswered

Get Items Filter does not work, why?

(0) ShareShare
ReportReport
Posted on by 1,097

Hi

I have a column that have this name in the webadress ending:

http://..................97D24A218D%7D&Field=PersonalNamn_x003a_ID

 

In the SP list the column is called PersonalNamnID

 

I am trying to make a filter that looks like this

 

PersonalNamnID eq '4'

 

But i just get errors

 

 

{
 "status": 400,
 "message": "The query is not valid.\r\nclientRequestId: d2e61c6e-5c94-442e-ab3a-c2fd58e9facf\r\nserviceRequestId: d2e61c6e-5c94-442e-ab3a-c2fd58e9facf"
}

 

 

I do not understand what is wrong

 

I have tried

 

PersonalNamnID eq '4'

'PersonalNamnID' eq '4'

PersonalNamn_x003a_ID eq '4'

'PersonalNamn_x003a_ID' eq '4'

 

Nothing works

 

 

 

Why?

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Oskarkuus 

    Assuming that PersonalNamnID is a number column, the following will probably work for you:

    PersonalNamn_x003a_ID eq 4

    If it is a text column then this will probably work:

    PersonalNamn_x003a_ID eq '4'

     

    Here is a link for more info

     

     

  • Oskarkuus Profile Picture
    1,097 on at

    @ScottShearer 

    None of them work.

     

    The column is a look-up column or choice column... (it is the column you get from a relationship to another SP list)...

    I have tried to use startswith(PersonalNamnID,4)

    But still nothing works:(

  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    I can guarantee that this will definitely work, can you give this a try -

     

    PersonalNamn_x003a_ID -eq 4

     

     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!

  • Oskarkuus Profile Picture
    1,097 on at

    I get this error

    {
     "status": 400,
     "message": "The expression \"PersonalNamn_x003a_ID -eq 4\" is not valid. Creating query failed.\r\nclientRequestId: 7a34b48c-f7e2-4d30-9b3e-c18dbfab39cb\r\nserviceRequestId: 7a34b48c-f7e2-4d30-9b3e-c18dbfab39cb"
    }
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Oskarkuus

    Can u please confirm the column type in sharepoint multichoice or Lookup? 

  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    Can you please share a screenshot of how you are passing this configuration, I want to take a look at it.

     

    Awaiting response....

  • Oskarkuus Profile Picture
    1,097 on at

    It is a lookup column.

     

    It displays a relationship to another sharepoint list.

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Oskarkuus

    Can you make sure that you are saving the Id not Name on this column from the sharepoint setting?

    If you are saving the Id then the expression should work while replacing any spaces in the field name with_x0020_

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard