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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Irisohyama6
Frequent Visitor

How to add wild card special character as a list?

Hi,

 

I am using list.contains( { 1 , 2 , 3 , 4 , 5 } , { "?", """ } ) but the " does not work. How do I include in the list?

 

Thanks.

 

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

""" has to be replaced by """" 

A sidenote - List.Contains takes only a single value. You should not use a list as a parmeter value to be found. While using equationCriteria parameter, you can do many things, but let's set that aside for the time being.

You will need to use List.ContainsAny or List.ContainsAll as per your requirement. These allow a list of values which can be searched.

View solution in original post

1 REPLY 1
Vijay_A_Verma
Super User
Super User

""" has to be replaced by """" 

A sidenote - List.Contains takes only a single value. You should not use a list as a parmeter value to be found. While using equationCriteria parameter, you can do many things, but let's set that aside for the time being.

You will need to use List.ContainsAny or List.ContainsAll as per your requirement. These allow a list of values which can be searched.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors