cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lefty
Impactful Individual
Impactful Individual

/ in filter query failing

Hi,

 

I have a half working flow. I have a parallel branch in which 1 condition works fine as the filter query I am using for one, isn't referring any SP columns with special characters.

The other query is trying to locate all date items under Supervisor/DirectorDate column, and it appears this is failing:

(Supervisor/DirectorDateReceived lt '@{body('Substring_5')}') and (Status eq 'submitted') 

How do I fix the syntax please?

I get the following error:

Column 'Supervisor' does not exist. It may have been deleted by another user.
clientRequestId: e

 

1 ACCEPTED SOLUTION

Accepted Solutions
RobElliott
Super User
Super User

@Lefty the / in the column name is most likely to be the problem. Go to the list settings, edit the column and look at the end of the address bar where the Field= which gives you the internal column name. It will be something like Supervisor_x002f_Director.... and THAT is what you need you to use in your filter query.

 

(Just as a personal preference in case it helps, I never use special characters or spaces in column names which are going to be referenced in Power Automate or Power Apps, it just creates hassle)

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

2 REPLIES 2
RobElliott
Super User
Super User

@Lefty the / in the column name is most likely to be the problem. Go to the list settings, edit the column and look at the end of the address bar where the Field= which gives you the internal column name. It will be something like Supervisor_x002f_Director.... and THAT is what you need you to use in your filter query.

 

(Just as a personal preference in case it helps, I never use special characters or spaces in column names which are going to be referenced in Power Automate or Power Apps, it just creates hassle)

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Lefty
Impactful Individual
Impactful Individual

@RobElliott 

 

I'd actually already tried that too prior to posting the question and I got the same error:

 

'Supervisor_x002f_DirectorDateReceived' does not exist. It may have been deleted by another user.

 

You are right, I don't tend to either. This was one of the earlier apps I developed, in fact the first app I developed a couple or so years ago. I would always remove spaces from any SP fields, but of course didn't expect the / to cause me this much hassle back then, I don't use any specials characters in any of my other apps/flows

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (3,777)