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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Gillard_2
Frequent Visitor

Split column

Hi, 

I am hoping to split a single column into multiple, having a column for each licence type. Thanks in advance

Single Column:

Gillard_2_0-1677249562125.png

Result Columns from above single column:

Office 356 Enterprise E3Power-BI StandardEnterprise Mobility + Security E3Office 365 Enterprise E3Visio Online Plan 2Dynamics 365 Plan 1 Enterprise Edition
YesYesYesYes  
YesYesYes   
Yes   YesYes
  YesYesYes 
5 REPLIES 5
Gillard_2
Frequent Visitor

Not sure i am clear on all the required steps from the above replies. A more detailed breadown of each step required would be greatly appreciated.

Thanks in advance

wdx223_Daniel
Super User
Super User

NewStep=Table.Combine(Table.ToList(PreviousStepName,each let a=Text.Split(_{1},",") in #table({"Email Address"}&a,{{_{0}}&List.Repeat({"Yes"},List.Count(a))}))

6677028
Frequent Visitor

you can upload data by excel file

serpiva64
Solution Sage
Solution Sage

Hi,

you obtain this

serpiva64_0-1677253159190.png

- split column by delimiter

serpiva64_1-1677253191769.png

- traspose table

- keep top rows 1 (it is your columnNames)

- combine the table with your names with the full table (the step before)

= Table.Combine({ ColumnNames , #"Transposed Table"})

- promote headers

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

 

 

Apoligies, i dont think i was as clear as i needed to be with the outcome required. The table I posted also have annother column of email addresses (these are all unqiue).

So the outcome required is as follows:

Email AdressOffice 356 Enterprise E3Power-BI StandardEnterprise Mobility + Security E3Office 365 Enterprise E3Visio Online Plan 2Dynamics 365 Plan 1 Enterprise Edition
a@help.comYesYesYesYes  
b@help.comYesYesYes   
c@help.comYes   YesYes
d@help.com  YesYesYes 

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors