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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Add Column in order to separate data from existing column

Hi,

 

I am trying to separate data in a column that can appear in the original column with or with or without delimiters.

 

Example 

Each of the below representssome of the potential entries in original column by row:

 

[string 1, string 2, string 3]

[string 2, string 4, string 5]

[string 1, String 2, string 4, string 5, string 7]

[string 1]

[string 2]

 

Because the delimiter could be present or not the eliminates the possibility of extraction using a delimiter, because the strings don't always appear in the same order, that eliminates extracting by chatacters. I tried adding a conditional column, maybe I entered that incorrectly but it errored out on me.

Amber_McLeod_0-1647023544837.png

 

There are null values in the column but if in my conditional operator using contains string2, then return string2, else blank, I was thinking that should work, and I can't understand why it isn't working. 

 

I appreciate any help you can provide.

 

Thanks,

 

Amber

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to work with. Avoid posting screenshots of your source data if possible.

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors