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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

GET DATA OUT OF A TEXT COLUMBA

Good afternoon, I have a consultation.

I have a column with data from different destinations, what do you formulate or what method is there to separate detinos?pregunta bi.PNG

How can I separate in a separate column what is in blue and in another commune what is in red? the idea is that national and what contains CO are in the same column.

I couldn't 😞 thank you

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Syndicate_Admin , Try new columns like

 

New column 1 = if(Search("co", [Destino],,0)>0, [Destino], blank())

 

New column 2 = if(Search("co", [Destino],,0)=0, [Destino], blank())

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Super, it worked thank you very much. 😄. What pity could you explain to me what makes this measure? @Syndicate_Admin

amitchandak
Super User
Super User

@Syndicate_Admin , Try new columns like

 

New column 1 = if(Search("co", [Destino],,0)>0, [Destino], blank())

 

New column 2 = if(Search("co", [Destino],,0)=0, [Destino], blank())

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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