Tutorial Gateway

  • C
  • C#
  • Java
  • Python
  • SQL
  • MySQL
  • Js
  • BI Tools
    • Informatica
    • Talend
    • Tableau
    • Power BI
    • SSIS
    • SSRS
    • SSAS
    • MDX
    • R Tutorial
    • Alteryx
    • QlikView
  • More
    • C Programs
    • C++ Programs
    • Python Programs
    • Java Programs

How to Split Columns in Power BI

by suresh

In real-time, you might get the data that has merged columns (one column with too much information). In that situation, you can use Power BI Split Columns option to split that column into multiple columns. This article shows you how to Split Columns in Power BI with example.

How to Split Columns in Power BI

To demonstrate this Power BI split columns option, we are going to use the Text Employee table that we imported in Enter Data article.

To split columns in an existing table, please click the Edit Queries option under the Home tab.

How to Split Columns in Power BI 1

Clicking Edit Queries option opens a new window called Power Query Editor. From the screenshot below, you can see that the Power BI table has only one column.

How to Split Columns in Power BI 2

Before we start splitting the columns in Power BI, let me duplicate this column. To do so, right-click on the column name and select Duplicate Column option from the context menu.

How to Split Columns in Power BI 3

Now you can see the Duplicate column

How to Split Columns in Power BI 4

To split the columns in a Power BI table, right-click on the column that you want to split open the context menu. Please select the Split Columns and then select By Delimiter option.

How to Split Columns in Power BI 5

Selecting the By Delimiter option opens the following window.

  • Select or enter delimiter: From the drop-down list, please select the delimiter that you want to use as the split character. If it is not there in the list, then select the Custom option and specify that custom character.
  • Left most delimiter: This option split the leftmost string before the first delimiter.
  • Right most delimiter: This option split the right-most string after the last delimiter.
  • Each Occurrence of the delimiter: The text split at each occurrence of a delimiter.
How to Split Columns in Power BI 6

We are selecting Comma as the delimiter. Remember, under the Advanced section, you can specify the Number of Columns or Rows.

How to Split Columns in Power BI 7

Let me select the Left Most delimiter option, and click OK

How to Split Columns in Power BI 8

Now you can see that the Employee ID’s are separated from the original column and placed in the new column.

How to Split Columns in Power BI 9

This time we select the Split at each occurrence of the delimiter option.

How to Split Columns in Power BI 10

Now you can see, text at each occurrence of the comma is separated from the original column and placed in a new column.

How to Split Columns in Power BI 11

Let me try another delimiter. For the Power BI Split Columns demonstration, we are selecting the following column and split that column using the Space delimiter.

How to Split Columns in Power BI 12

Now you can see the different columns that stored the split text at each occurrence of space.

How to Split Columns in Power BI 13

Power BI Split Columns by Number of Characters

Right-click on the column that you want to split will open the context menu. Please select the Split Columns and then select the By Number of Characters option.

How to Split Columns in Power BI 14

Selecting the By Number of Characters option opens the Split Column by Number of Characters window.

  • Number of Characters: Please specify the number of characters used to split the column.
  • Once, as far left as possible: This option split the leftmost string before the number of characters.
  • Once, as far right as possible: This option split the right-most string after the number of characters.
  • Repeatedly: The text split for every 5 characters.
How to Split Columns in Power BI 15

Now you can see the split columns in Power BI query editor

How to Split Columns in Power BI 16

Whatever the changes you made (Split Columns in Power BI) won’t affect until you hit Apply. Let me hit the Close & Apply option under the Home tab.

How to Split Columns in Power BI 17

Now you can see 11 columns inside the Text Employees table.

How to Split Columns in Power BI 18

Placed Under: Power BI

  • Install Power BI Desktop
  • Connect Power BI to SQL Server
  • Add Rename and Duplicate Pages
  • Connect to Multiple Excel Sheets
  • Get Excel Data to Power BI
  • Get Text File Data to Power BI
  • Load Data from Multiple Sources
  • Remove Power BI Table Columns
  • Create Power BI Bins
  • Power BI Joins
  • Change Column Data Types
  • Combine Multiple Tables
  • Power BI Clusters
  • How to Enter Data into Power BI
  • How to Format Dates in Power BI
  • Create Power BI Groups
  • Create Power BI Query Groups
  • Create Power BI Hierarchy
  • Power BI Pivot Table
  • Power BI Unpivot Table
  • Rename Power BI Table Names
  • Rename power bi column names
  • Split Columns in Power BI
  • Remove reorder power bi column
  • Power BI Area Chart
  • Format Power BI Area Chart
  • Power BI Bar Chart
  • Format Power BI Bar Chart
  • Power BI Clustered Bar Chart
  • Clustered Column Chart
  • Create a Power BI Card
  • Format Power BI Card
  • Create Power BI Multi-Row Card
  • Format Power BI Multi-Row Card
  • Power BI Column Chart
  • Format Power BI Column Chart
  • Power BI Donut Chart
  • Format Power BI Donut Chart
  • Power BI Funnel Chart
  • Format Power BI Funnel Chart
  • Power BI Heat Map
  • Power BI Line Chart
  • Format Power BI Line Chart
  • Line & Clustered Column Chart
  • Format Line & Clustered Column
  • Line & Stacked Column Chart
  • Format Line & Stacked Column
  • Power BI Matrix
  • Format Power BI Matrix
  • Power BI Table
  • Format Power BI Table
  • Add Data Bars to Power BI Table
  • Add alternate Table Row Colors
  • Power BI Pie Chart
  • Format Power BI Pie Chart
  • Power BI Ribbon Chart
  • Format Power BI Ribbon Chart
  • Power BI Treemap
  • Format Power BI TreeMap
  • Power BI Scatter Chart
  • Format Power BI Scatter Chart
  • Power BI Stacked Area Chart
  • Power BI Stacked Bar Chart
  • Format Stacked Bar Chart
  • Power BI Stacked Column Chart
  • Format Stacked Column Chart
  • Power BI Waterfall Chart
  • Format Power BI Waterfall Chart
  • Power BI 100% Stacked Bar Chart
  • 100% Stacked Column Chart
  • Create a Power BI Map
  • Format Power BI Map
  • Power BI Filled Map
  • Format Power BI Filled Map
  • Power BI Basic Filters
  • Power BI Slicer
  • Power BI Top 10 Filters
  • Power BI Drill through Filters
  • Power BI Filters on Measures
  • Power BI Advanced Filters
  • Power BI Report Level Filters
  • Power BI Page Level Filters
  • Power BI Calculated Columns
  • Add Conditional Column
  • Create Power BI Custom Column
  • Power BI Calculated Measures
  • Power BI Calculated Tables
  • Power BI DAX String Functions
  • Power BI DAX Math Functions
  • DAX Trigonometric Functions
  • Power BI DAX Date Functions
  • Power BI DAX Logical Functions
  • Power BI DAX Agg. Functions
  • Power BI Dashboard Introduction
  • Power BI Dashboard Settings
  • Power BI Dashboard Actions
  • Delete Power BI Dashboard
  • Subscribe Power BI Dashboard
  • Add Web Content to Dashboard
  • Add Image to Dashboard
  • Add video to power bi dashboard
  • Add Title to Power BI Dashboard
  • Pin Workbooks to Dashboard
  • Register to Power BI Service
  • Connect to Power BI Service
  • Create Power BI Workspace
  • Share Power BI Workspace
  • Create a Report in Workspace
  • Rename a Report in Workspace
  • Rename a Dataset in Workspace
  • Quick insights in Power BI
  • Get insights in Power BI
  • Publish power bi desktop report
  • Upload Power BI Workbooks
  • Upload Excel Files to Dashboard
  • Edit Power BI App
  • View Published Power BI App
  • Publish Power BI App
  • Share Power BI Dashboard
  • Share Power BI Workspace
  • Share Power BI Report
  • Power BI Q&A
  • Power BI Q&A Advanced
  • Customize Q&A Suggestions
  • C Tutorial
  • C# Tutorial
  • Java Tutorial
  • JavaScript Tutorial
  • Python Tutorial
  • MySQL Tutorial
  • SQL Server Tutorial
  • R Tutorial
  • Power BI Tutorial
  • Tableau Tutorial
  • SSIS Tutorial
  • SSRS Tutorial
  • Informatica Tutorial
  • Talend Tutorial
  • C Programs
  • C++ Programs
  • Java Programs
  • Python Programs
  • MDX Tutorial
  • SSAS Tutorial
  • QlikView Tutorial

Copyright © 2021 | Tutorial Gateway· All Rights Reserved by Suresh

Home | About Us | Contact Us | Privacy Policy