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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

PowerBI Syntax return value where match

Hi, 

 

I am trying to return value where match the tag; for example:

 

Column [Tags]: 

{ "Application": "ebs", "CommonService": "N", "Environment": "Staging", "Owner": "PLI-GROUP-ECP", "Role": "Web", "Service": "O365 - SP"}

 

if word match ebs will return value as ebs in new column. 

1 ACCEPTED SOLUTION
christianfcbmx
Post Patron
Post Patron

Try that one:

 

CUSTOM COLUMN = IF(SEARCH("ebs";Table1[Column Name];;0);"ebs"
 

 

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous ,

 

Does christianfcbmx's suggestion meet your requirement? If yes, please kindly accept it as a solution so that it can benefit more users. If not, please illustrate your scenario with detailed data and desired output. How to Get Your Question Answered Quickly

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
christianfcbmx
Post Patron
Post Patron

Try that one:

 

CUSTOM COLUMN = IF(SEARCH("ebs";Table1[Column Name];;0);"ebs"
 

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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