cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

OData filter column with space

I've been trying to filter out a column Ticket ID from excel and so far have had no luck with the syntext.  I've tried several different methods and none seem to be working.

 

  • Ticket ID
  • Ticket_ID
  • 'Ticket ID'
  • 'Ticket_ID'
3 REPLIES 3
Highlighted
Dual Super User
Dual Super User

Re: OData filter column with space

Hi @robevans 

 

I am not sure if the filter query can handle spaces

Your best bet will be to remove the space from the column name

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Super User III
Super User III

Re: OData filter column with space

@robevans 

SharePoint OData filters in Flow usually use a columns internal name.  The easiest way to find out how to refer to a column in your filter is to create a Flow and add a Get Items action (and no filter).  Scroll through the output after you run the Flow - you'll need to refer to your column in the same manner as it appears in the output.  Spaces are usually replaced wit x00200_ but you'll need to check to be sure.  I have noticed that SharePoint online now ususally simply removes the space for the internal name now (didn't in the past).

In my example, the Column name is Ticket ID but I need to refer to the column as TicketID.

OData1.jpgOData3.jpgOData2.jpg

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Community Support
Community Support

Re: OData filter column with space

Hi @robevans,

 

Currently, the Excel connector does not support to put the column name with space as a filter condition. 

But you can use the Filter array action to get the value of Excel, for example:Annotation 2019-08-19 163809.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,162)