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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
sdhn
Responsive Resident
Responsive Resident

Split Columns

Hi All,

 

I am using Power Bi desktop.

I have a source file in excel.  One o fthe column has similar information. 

 

Column 1

 Power Bi User Group  Jul 6th 

--

--

 

I want to separate date onto new column. I clicked on Transform. I duplicated current column 1 Copy.  I splitted column , choose delimeter and space but it created 6 columns for each words.  I want only two columns from above data as:

 

Column 1

Power Bi User Group

 

Column 2

Jul 6th

 

Please advise.  Thanks 

 

 

 

1 ACCEPTED SOLUTION
sevenhills
Super User
Super User

Hope this helps!

The below approach is one of the simplest approach ... (, may be better approach exists)...

  1. Duplicate the column and use this column

  2. Split the column for the last word i..e, using Split using "Space" and "Right-most delimiter"

  3. Split the first column from (2) for the last word

  4. Merge the last two columns

 

Optional:

  Rename the columns "Merged" and "Column1 - Copy.1.1" to your needs. 

 

Roughly,

 

 

....
    #"Duplicated Column" = Table.DuplicateColumn(#"Changed Type", "Column1", "Column1 - Copy"),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Duplicated Column", "Column1 - Copy", Splitter.SplitTextByEachDelimiter({" "}, QuoteStyle.Csv, true), {"Column1 - Copy.1", "Column1 - Copy.2"}),
    #"Split Column by Delimiter1" = Table.SplitColumn(#"Split Column by Delimiter", "Column1 - Copy.1", Splitter.SplitTextByEachDelimiter({" "}, QuoteStyle.Csv, true), {"Column1 - Copy.1.1", "Column1 - Copy.1.2"}),
    #"Merged Columns" = Table.CombineColumns(#"Split Column by Delimiter1",{"Column1 - Copy.1.2", "Column1 - Copy.2"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"Merged")
in
    #"Merged Columns"

 

 

Regards

 

 

View solution in original post

3 REPLIES 3
sevenhills
Super User
Super User

Hope this helps!

The below approach is one of the simplest approach ... (, may be better approach exists)...

  1. Duplicate the column and use this column

  2. Split the column for the last word i..e, using Split using "Space" and "Right-most delimiter"

  3. Split the first column from (2) for the last word

  4. Merge the last two columns

 

Optional:

  Rename the columns "Merged" and "Column1 - Copy.1.1" to your needs. 

 

Roughly,

 

 

....
    #"Duplicated Column" = Table.DuplicateColumn(#"Changed Type", "Column1", "Column1 - Copy"),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Duplicated Column", "Column1 - Copy", Splitter.SplitTextByEachDelimiter({" "}, QuoteStyle.Csv, true), {"Column1 - Copy.1", "Column1 - Copy.2"}),
    #"Split Column by Delimiter1" = Table.SplitColumn(#"Split Column by Delimiter", "Column1 - Copy.1", Splitter.SplitTextByEachDelimiter({" "}, QuoteStyle.Csv, true), {"Column1 - Copy.1.1", "Column1 - Copy.1.2"}),
    #"Merged Columns" = Table.CombineColumns(#"Split Column by Delimiter1",{"Column1 - Copy.1.2", "Column1 - Copy.2"},Combiner.CombineTextByDelimiter(" ", QuoteStyle.None),"Merged")
in
    #"Merged Columns"

 

 

Regards

 

 

Shahfaisal
Solution Sage
Solution Sage

Can you use Text function as ashown below in Power Query?

Text.Range("Power Bi User Group  Jul 6th", 21, 7)

  

sdhn
Responsive Resident
Responsive Resident

Are 21, 7 positions?

 

Every row has different words size.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.