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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
nathanisaacson
Frequent Visitor

Splitting Multiple Choice Column into Distinct Columns

Hi everyone,

 

I am trying to split a multiple choice column into distinct columns.  Here is an example:

 

Main Column     aabbccdd
aa;ccaa cc 
bb;cc bbcc 
cc;dd  ccdd
dd;aaaa  dd

 

So far, I have already extracted the values of the column (output shown below)...

 

2023-08-31_17-44-16.png

 

Then I tried splitting the columns by delimiter (as shown below)...

 

2023-08-31_17-45-30.png

 

The final product is six new columns, but they both house different data points which makes this impossible to visualize accurately. 

 

2023-08-31_18-03-42.png2023-08-31_18-03-30.png

 

As shown in the sample table above, I am trying to make each new column distinct (i.e. Associate Data Elements exclusively in one, Investor Data Elements exclusively in the next, etc.).  Any guidance would be hugely appreciated!

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

The images are very small so cannot understand anything.  Share data in a format that can be pasted in an MS Excel file and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@nathanisaacson , You have the option to split column by delimiter into rows or columns as per need

Power Query Split Column, Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

You can also check this second option

Power BI- Text Part slicer to filter/search text - https://youtu.be/MKKWeOqFG4c
https://medium.com/@amitchandak/power-bi-search-text-parts-in-text-ad2f9783ffa2

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors