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

Get Items Filter ODATA Query with special characters in column name

(0) ShareShare
ReportReport
Posted on by

Hi

 

I have a Sharepoint List with a column with special characters in it, its called Öppen/Stängd (Open/Closed).

It's "Choice" type of column with three choices: Öppen, Stängd, Vilande (Open, Closed, Paused).

 

No matter how I try to format the ODATA Filter Query I just get errors. I found out the name from Column settings "url" in Sharepoint.

 

I have tried:

%D6ppen%2FSt%E4ngd eq 'Vilande' (results in "The $filter expression "%D6ppen%2FSt%E4ngd eq 'Vilande'" is not valid. Creating query failed."

_x00d6_ppen_x002f_St_x00e4_ngd eq 'Vilande' (results in Column '_x00d6_ppen_x002f_St_x00e4_ngd' does not exist. It may have been deleted by another user.)

[_x00d6_ppen_x002f_St_x00e4_ngd] eq 'Vilande' (results in The $filter expression "[_x00d6_ppen_x002f_St_x00e4_ngd] eq 'Vilande'" is not valid. Creating query failed.)

['_x00d6_ppen_x002f_St_x00e4_ngd'] eq 'Vilande' (results in The $filter expression "['_x00d6_ppen_x002f_St_x00e4_ngd'] eq 'Vilande'" is not valid. Creating query failed.)

 

So I have learned to always create columns without special characters and then renaming them, but unfortunatly this list includes to many records for me to delete the column and start over (although Im sure I could copy data from 

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    I have found that getting the internal column name from the URL in list settings doesn't always work.Try the following instead:

    1. Create a new Flow with a button and a get items action
    2. In your Get items action, set the top count to 1
    3. Run the Flow
    4. Click on the output of the Get items action in the run
    5. Find the reference to your column in the output - refer to the column in exactly the same way in your query

     

  • Verified answer
    sudharsan1985 Profile Picture
    1,325 on at

    @Anonymous 

    I used the same column name that you had mentioned and created the choice column and used the below ODATA filter query to get the items

    OData__x00d6_ppen_x002f_St_x00e4_ngd eq 'Choice 1'

    Please try it and let me know.

     

  • Community Power Platform Member Profile Picture
    on at

    This worked perfectly! Why is it that it needs the prefix "OData"?

  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @Anonymous 

    I am not sure why OData, but whenever you have field names with special characters try to run Get Items with the top 1 record, and from the JSON output you can clearly identify the column names that can be used in OData Query.

  • sandrox2 Profile Picture
    6 on at

    Awesome!

  • heismodest Profile Picture
    8 on at

    Thanks to your comment, I could resolve my problem!!

     

    Thank you so much~!!

    Jeong-Min.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard