Skip to content
Felix
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
  • Ask An Instructor
  • Support
  • Log in
  • Topics
    • My List
    • Felix Guide
    • Asset Management
    • Coding and Data Analysis
      • Data Analysis and Visualization
      • Financial Data Tools
      • Python
      • SQL
    • Credit
      • Credit Analysis
      • Restructuring
    • Financial Literacy Essentials
      • Financial Data Tools
      • Financial Math
      • Foundations of Accounting
    • Industry Specific
      • Banks
      • Chemicals
      • Consumer
      • ESG
      • Insurance
      • Oil and Gas
      • Pharmaceuticals
      • Project Finance
      • Real Estate
      • Renewable Energy
      • Technology
      • Telecoms
    • Introductory Courses
    • Investment Banking
      • Accounting
      • Financial Modeling
      • M&A and Divestitures
      • Private Debt
      • Private Equity
      • Valuation
      • Venture Capital
    • Markets
      • Economics
      • Equity Markets and Derivatives
      • Fixed Income and Derivatives
      • Introduction to Markets
      • Options and Structured Products
      • Other Capital Markets
      • Securities Services
    • Microsoft Office
      • Excel
      • PowerPoint
      • Word & Outlook
    • Professional Skills
      • Career Development
      • Expert Interviews
      • Interview Skills
    • Risk Management
    • Transaction Banking
    • Felix Live
  • Pathways
    • Investment Banking
    • Asset Management
    • Equity Research
    • Sales and Trading
    • Commercial Banking
    • Engineering
    • Operations
    • Private Equity
    • Credit Analysis
    • Restructuring
    • Venture Capital
    • CFA Institute
  • Certified Courses
Felix
  • Data
    • Company Analytics
    • My Filing Annotations
    • Market & Industry Data
    • United States
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
    • Europe
    • Relative Valuation
    • Discount Rate
    • Building Forecasts
    • Capital Structure Analysis
  • Models
  • Account
    • Edit my profile
    • My List
    • Restart Homepage Tour
    • Restart Company Analytics Tour
    • Restart Filings Tour
  • Log in
  • Ask An Instructor
    • Email Our Experts
    • Felix User Guide
    • Contact Support

Cleansing Data With Query Editor

Understand one of the most important parts of the data analysis and visualization process: Cleansing and Transforming the Data. Learn what it is and why it is so important, and how to use Query Editor to perform some key transformations on your data before loading it into your Power BI Report. If you are a Mac user, watch the video Building Visuals in Power BI using a Mac to learn how you can create visuals using a Mac.

Unlock Your Certificate   
 
0% Complete

8 Lessons (27m)

Show lesson playlist
  • Description & Objectives

  • 1. Data Cleansing In Power BI

    03:45
  • 2. Removing Columns

    04:46
  • 3. Removing Rows

    03:30
  • 4. Replace Values

    04:47
  • 5. Split Columns

    05:01
  • 6. Removing Duplicates

    04:20
  • 7. Cleansing Data with Query Editor | Interactive Video

    00:00
  • 8. Cleansing Data with Query Editor Tryout


Prev: Getting Started with Power BI Next: Visualizing Data with Power BI Charts

Split Columns

  • Notes
  • Questions
  • Transcript
  • 05:01

Using query editor to split columns.

Downloads

Split-Columns-Workout-Split-Columns-Workout-Solution-Steps

Glossary

Cleansing Data Delimiters Fixed Width Query Editor Split Columns Transorming Data
Back to top
Financial Edge Training

© Financial Edge Training 2025

Topics
Introduction to Finance Accounting Financial Modeling Valuation M&A and Divestitures Private Equity
Venture Capital Project Finance Credit Analysis Transaction Banking Restructuring Capital Markets
Asset Management Risk Management Economics Data Science and System
Request New Content
System Account User Guide Privacy Policy Terms & Conditions Log in
Transcript

Split Columns Sometimes the data that we're using for analysis doesn't fit neatly into the column structure we need.

We'll often find if it's downloaded from another system that it comes joined together in one single column, when really we need it in separate columns and this means that we're unable to perform our data analysis. Split columns is a fantastic tool that allows us very quickly and easily to separate the data into separate columns.

There are many ways in which we can split columns, two of the most common ways are by delimiter or by fixed width.

So delimiter is where we can identify a particular character such as comma, tab, space, or hyphen, and it exists in every row in the column and we'll tell it to split the data at that point fixed width is a little different. We'll identify X number of characters and it will split the data at that same point for every row.

So let's look at a couple of examples in the first example here we have some data we have the number of shares traded and the currency joined together.

So here we would split the data using a delimiter. The delimiter is the hyphen, fixed width is no use to us here because if we look at the first row the split will occur after the sixth character, whereas in the next row the split would occur after the fourth character.

In this example, we'd also perform a delimited split this time. It would be on the space character. Now we would have to be careful in this example because the space character occurs several occasions in each of the text strings. So we wouldn't want to separate Meryl from Lynch for example, so we'll tell it to do the split using the space. But only at the right most delimiter again fixed width is no use to us because each of those company names is a different amount of characters.

The third and last example, we would actually perform a fixed width split, delimited is no use because we don't have a character to use and the ISIN number is exactly 12 characters long on each row so we can tell it to perform the split after the 12th character.

Let's do a workout and see how to use split columns in Power BI.

So I'm going to use Get Data to bring in an Excel workbook,I'm going to use module 3 lesson 4 workout.

And I'll select the split columns worksheet and transform data. That will bring me into query editor and if I take a look at some of these columns, let's say the first one here number of shares traded and currency.

I need to separate this, otherwise, I can't use those values in my analysis. So we have a hyphen separating each of the rows. So I'm going to use split column, selecting my column here first, and then I'll go to split column and I know it's a delimiter I can tell it to use the hyphen.

All right. So already work that out for me. I can see here there are lots of other characters that it can use and I can also type in the character that I want. So on this occasion, I'm just going to click on OK.

And we've split the columns now I probably need to rename them so I can just easily right click over the heading and rename, so just click here and give it a much better name, I'll just put that as shares treated.

And then do the same for this one so I can right click or I can even double click in there and I'll just put in code.

Let's have a look at another example if we scroll across here, we'll see we have the company name and the value at the end.

So I want to separate that using the space character. I'll select the column go to split column, and again, it's a delimiter.

Again, it's worked out for me that it's a space, but what I am going to do here is change it to write most delimiter. So it doesn't split the data on each occurrence. I'll change it here. Click on OK and there we go. So we still have for example Merrill Lynch all in one column and we have the data separated there as well.

Now if I just scroll across here to one more column, I'll take this one here, so this one I can't use a delimiter there isn't one. If I select the column go to split column this time. It's a fixed width split, so in Power BI that's really called are known as number of characters. If I just select that and specify the number of characters, so there were 12 characters in the ISIN number and I'm only ask going to ask you to do it once so once as far left as possible.

So we'll take the first 12 characters and keep those in a column of its own.

Content Requests and Questions

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account
Help

You need an account to contact support.

Create a free account or log in to an existing one

Sorry, you don't have access to that yet!

You are trying to access premium learning content.

Discover our full catalogue and purchase a course Access all courses with our premium plans or log in to your account

You have reached the limit of annotations (10) under our premium subscription. Upgrade to unlock unlimited annotations.

Find out more about our premium plan

You are trying to access content that requires a free account. Sign up or login in seconds!

Create a free account or log in to an existing one

You are trying to access content that requires a premium plan.

Find out more about our premium plan or log in to your account

Only US listed companies are available under our Free and Boost plans. Upgrade to Pro to access over 7,000 global companies across the US, UK, Canada, France, Italy, Germany, Hong Kong and more.

Find out more about our premium plan or log in to your account

A pro account is required for the Excel Add In

Find out more about our premium plan

Congratulations on completing

This field is hidden when viewing the form
Name(Required)
This field is hidden when viewing the form
Rate this course out of 5, where 5 is excellent and 1 is terrible.
Were the stated learning objectives met?(Required)
Were the stated prerequisite requirements appropriate and sufficient?(Required)
Were the program materials, including the qualified assessment, relevant and did they contribute to the achievement of the learning objectives?(Required)
Was the time allotted to the learning activity appropriate?(Required)
Are you happy for us to use your feedback and details in future marketing?(Required)

Thank you for already submitting feedback for this course.

CPE

What is CPE?

CPE stands for Continuing Professional Education, by completing learning activities you earn CPE credits to retain your professional credentials. CPE is required for Certified Public Accountants (CPAs). Financial Edge Training is registered with the National Association of State Boards of Accountancy (NASBA) as a sponsor of continuing professional education on the National Registry of CPE Sponsors.

What are CPE credits?

For self study programs, 1 CPE credit is awarded for every 50 minutes of elearning content, this includes videos, workouts, tryouts, and exams.

CPE Exams

You must complete the CPE exam within 1 year of accessing a related playlist or course to earn CPE credits. To see how long you have left to complete a CPE exam, hover over the locked CPE credits button.

What if I'm not collecting CPE credits?

CPE exams do not count towards your FE certification. You do not need to complete the CPE exam if you are not collecting CPE credits, but you might find it useful for your own revision.


Further Help
  • Felix How to Guide walks you through the key functions and tools of the learning platform.
  • Playlists & Tryouts: Playlists are a collection of videos that teach you a specific skill and are tested with a tryout at the end. A tryout is a quiz that tests your knowledge and understanding of what you have just learned.
  • Exam: If you are collecting CPE points you must pass the relevant CPE exam within 1 year to receive credits.
  • Glossary: A glossary can be found below each video and provides definitions and explanations for terms and concepts. They are organized alphabetically to make it easy for you to find the term you need.
  • Search function: Use the Felix search function on the homepage to find content related to what you want to learn. Find related video content, lessons, and questions people have asked on the topic.
  • Closed Captions & Transcript: Closed captions and transcripts are available on videos. The video transcript can be found next to the closed captions in the video player. The transcript feature allows you to read the transcript of the video and search for key terms within the transcript.
  • Questions: If you have questions about the course content, you will find a section called Ask a Question underneath each video where you can submit questions to our expert instructor team.