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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mee2105
Frequent Visitor

Splitting text from a tag and marking in separate column

Hello, 

 

new user here, just started yesterday and trying to figure out my way here & I need your help. 

 

I am have my list here in excel where there are a number of servers and workstations but these are hidden in tags. 3 examples:

1.  {"i:OS":"vintage","i:City":"Paris","i:OpCo":"WT","istreet":"OnPremise","i:France":"EMEA","i:SubOpCo":"Alphonso","i:banana":"Server","i:fruittype":"Creative","i:Seller":"Mango"}

2. {"i:OpCo":"Hawaii","i:Archetype":"Kesar","i:Seller":"Mango"}

3. {"i:OS":"Window","i:City":"Singapore","i:OpCo":"Kannu,"i:Cloud":"OnPremise","i:Region":"APAC","i:SubOpCo":"Totapuri","i:Platform":"Workstation","i:Archetype":"Creative","i:Sellert":"Mango"}

 

What I really need to do is : 

1. Find the word 'server' in the tag and mark as 'server' in a seperate column (say column x) &

2. default everything else as 'workstation'.

 

I have managed to do this in excel but cant figure it out in excel.

 

Thanks in Advance 

1 ACCEPTED SOLUTION
mlsx4
Memorable Member
Memorable Member

Hi @Mee2105 

 

In Power Query Editor, create a conditional column in this way:

 

mlsx4_0-1690528999229.png

Please, be aware that if the word Server appears as "server" or "SERVER" you should include all these words in the condition. Power BI is case-sensitive

 

View solution in original post

1 REPLY 1
mlsx4
Memorable Member
Memorable Member

Hi @Mee2105 

 

In Power Query Editor, create a conditional column in this way:

 

mlsx4_0-1690528999229.png

Please, be aware that if the word Server appears as "server" or "SERVER" you should include all these words in the condition. Power BI is case-sensitive

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors