cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RRMX1
Helper IV
Helper IV

Filter Query - using column with name

Hi!

 

I'm having some trouble using the Filter Query box in Get Items.

 

I want to run my flow but only pull through items that relate to a persons name (column ID Line Manager) but each time I try it fails.  

 

I've tried using these already;

Line Manager eq Name

Line Manager eq 'Name'

Line Manager eq "Name"

 

I've also tried putting the Name in as an expression but that doesn't work either.

 

This is probably so simple to do but just can't work it out!

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @RRMX1 ,

you must use the column internal name and then it's:

ColumnInternalName eq 'Name'

You can take the internal name at the end of the url on the 'Edit column' page in SharePoint.

image.png

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

4 REPLIES 4
tom_riha
Super User
Super User

Hello @RRMX1 ,

you must use the column internal name and then it's:

ColumnInternalName eq 'Name'

You can take the internal name at the end of the url on the 'Edit column' page in SharePoint.

image.png

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Thanks! It is running through to the end now without failing but it still isn't picking up the lines that I know it should be?

I think it was possibly because my column was a Person/Group.  It works if I change my column to Single Text

Hello @RRMX1 ,

if it's a person or group column you must specify also the user value to check, you can filter by email, user name or claims.

Person/EMail eq 'person@company.com'
Person/Title eq 'Firstname Lastname'
Person/Name eq 'i:0#.f|membership|xxx@tomriha.com'

 



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors
Users online (2,125)