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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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
Microsoft Employee
Microsoft 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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