Reply
nathanisaacson
Frequent Visitor
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

@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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)