Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Tiddlerontheroo
Frequent Visitor

"Invalid Query Locator" error message when filtering certain values in a column in query editor

@moizsherwani I am trying to filter a column in powerquery to exclude certain SF opportunities. 

Tiddlerontheroo_0-1655267205327.png

When the step is applied in powerquery, I get this error message below. 

Tiddlerontheroo_1-1655267364231.png

Thanks Sir. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Tiddlerontheroo,

AFAIK, Text.Contains function is used to compare two text strings.
The error message notifying you are trying to use the list in this function. Of the table fields stored the list of values. For this snceiaro, you can convert them to text strings before used in Contains function:

Table.SelectRows(#"Previous step",each Text.Contains(Text.Combine([FieldName], ","),"keyword"))

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Tiddlerontheroo,

AFAIK, Text.Contains function is used to compare two text strings.
The error message notifying you are trying to use the list in this function. Of the table fields stored the list of values. For this snceiaro, you can convert them to text strings before used in Contains function:

Table.SelectRows(#"Previous step",each Text.Contains(Text.Combine([FieldName], ","),"keyword"))

Regards,

Xiaoxin Sheng

FarhanAhmed
Community Champion
Community Champion

Is your Opp ID column a list ?







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Hi Farhan, not quite sure what the question means. Its the main column in that table, with all the other attributes being related to that column, and it is text too. 

sorry if I didn't expalined my question better.

 

I was asking if your column contains a List as Data  or simple text coming in column? 

Also it would be nice if you can share the Power Query code if it doesn't contains any sensitive info.







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.