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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Kratchie
Frequent Visitor

Search with multiple words

Hi, 

 

How can I make search like this

 

If it finds Australia = TRUE

If it finds both Australia + USA, then it should be TRUE

If it finds only USA, then it should be FALSE as result.

 

 

 

COLUMN = 
IF (
ISBLANK ( SEARCH ( "Australia", MERGE[DESCRIPTION], 1, BLANK () ) ),
"FALSE",
"TRUE"
)

 

 

 

1 ACCEPTED SOLUTION
SamInogic
Super User
Super User

Hi,

In order to get the true /false result as per the mentioned conditions, you can try below DAX expression on the report.

Column = IF(SEARCH("Australia", 'Test Table'[Name], 1, 0) = 1, IF(SEARCH ("USA", 'Test Table'[Name], 1, 0)=1,TRUE(),TRUE()) , IF(SEARCH ("Australia", 'Test Table'[Name], 1, 0) =1,FALSE()) )


Please refer to the below screenshot for the same.

SamInogic_0-1671541737633.png

 

If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.


Thanks!

Inogic Professional Services

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/  

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

View solution in original post

4 REPLIES 4
SamInogic
Super User
Super User

Hi,

In order to get the true /false result as per the mentioned conditions, you can try below DAX expression on the report.

Column = IF(SEARCH("Australia", 'Test Table'[Name], 1, 0) = 1, IF(SEARCH ("USA", 'Test Table'[Name], 1, 0)=1,TRUE(),TRUE()) , IF(SEARCH ("Australia", 'Test Table'[Name], 1, 0) =1,FALSE()) )


Please refer to the below screenshot for the same.

SamInogic_0-1671541737633.png

 

If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.


Thanks!

Inogic Professional Services

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/  

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

Hi @SamInogic  It worked like a charm. Thank you very much!

ppm1
Solution Sage
Solution Sage

Please try this instead.

COLUMN = 
IF (
SEARCH ( "Australia", MERGE[DESCRIPTION], 1, 0 ) > 0,
"TRUE",
"FALSE"
)

Pat

Microsoft Employee
Kratchie
Frequent Visitor

Hi @ppm1 

 

Check @SamInogic 's solution above! 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.