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

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

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Kudoed Authors