Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
How to use wildcard with In Statment?
Solved! Go to Solution.
@Chandrashekar I dont think so it possible with IN but we have certain other option as well like search or you can create in PQ using conditional column. In case you want to add multiple conditions then you can use below code:-
Column =
IF ( CONTAINSSTRING ( [state], "action" ) ||  CONTAINSSTRING ( [state], "condition1" ) || CONTAINSSTRING ( [state], "condition2" ), "Action" )
Best Regards,
  Samarth
 
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Please try like below:-
Column =
IF ( CONTAINSSTRING ( [state], "action" ), "Action" )
Thanks,
Samarth
Best Regards,
  Samarth
 
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hello Samarth,
Is it possible with In function?
Regards,
Chandrashekar B
@Chandrashekar I dont think so it possible with IN but we have certain other option as well like search or you can create in PQ using conditional column. In case you want to add multiple conditions then you can use below code:-
Column =
IF ( CONTAINSSTRING ( [state], "action" ) ||  CONTAINSSTRING ( [state], "condition1" ) || CONTAINSSTRING ( [state], "condition2" ), "Action" )
Best Regards,
  Samarth
 
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Thanks Samarth
 
					
				
				
			
		
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |