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

Removing Columns

  • Notes
  • Questions
  • Transcript
  • 04:46

Using query editor to remove rows/columns and promote headers.

Downloads

Removing-Columns-And-Rows-Workout_0Removing-Columns-And-Rows-Workout-Solution-Steps_0

Glossary

Cleansing Data Promote Headers Query Editor Remove Columns Transforming 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

Removing Columns Removing empty columns from a dataset is one of the first things that we need to do when we are cleansing or transforming our data.

An empty column is easily identified in query editor. It will just contain lots of null values. It won't have any specified column heading. We'll just see something like column 9 column 10 column 11. It's actually really important that we do get rid of these columns, although it might seem as if they're not doing any harm when we bring that dataset through into our report they will be listed as one of the fields in the field list taking up a lot more space than what's necessary.

Sometimes we have columns that contain partial values and there it depends on how many values we have in that column as to whether it's going to be really any use to us in our analysis. We have a tool in Power BI query editor called profiling and that will let us see what percentage of the column contains empty or null values. So if we're looking at say 90-92% of the column containing null values, it's not really worth bringing that column through into the report.

Sometimes a column will contain values and it will be filled with values, but they're really irrelevant in the report and we can use a tool such as the filter tool to help us identify those columns. And so we see a column like this where it's exactly the same value for every single. Row again, it's really not much point in bringing that through into the report. So that's again another column that we would remove.

Let's do a workout and see how to remove columns in Power BI query editor.

So the first thing I'm going to do here is just go to my get data and connect to an Excel workbook. So module 3 lesson 2

and when I open that I'll select a worksheet here called remove columns.

I can see even in the navigator preview that over here I have a lot of extra columns that I won't need so rather than load through into the report directly and going to click on transform data to go into query editor.

So once I'm in query editor, I can start removing out these extra columns. So I'm going to scroll across here and find some of them, there we go. Column 11. I can take out one column at a time quite simply just select it right click over it and choose remove.

But if I have a lot of columns, I'll probably want to select them all in one go.

And then remove them quickly so I can use my control key. It will allow me to select columns that are non adjacent. But if I have a block of columns like this, I'll select the first one.

Scroll as far as I can to the very last one and then hold my shift key doing when I click on it and that will allow me to select the block. So I'm just going to right click here over one of them and choose remove columns.

There we go, that's a lot tidier already.

Now if I look at the location column, I do have some values but I also have some nulls so it'll be really helpful to see what percentage of nulls are in this column. So I'm just going to go to my view Tab and click on column quality.

And so I can see right away that 92% of this column contains null values, there's really no point in me bringing that through because it's not going to help in my analysis. So I'm going to right click over it and just remove it.

Just have a look here at one last column.

So column, the first column the month column and I'm going to use the filter here because the the profiling is telling me that I don't have any null values. But if I go into the filter I can see there's actually only one single value contained. I'm just going to cancel that out there and right click over it and remove it as well.

Once I'm happy with my dataset I go to the Home tab click on close and apply.

And that will now load that cleanse data set into my report so having a quick glance at my field list over here I can see I don't have those empty columns only the columns that I had chosen to keep in my dataset.

If I wish to at any point in time, I can go to transform data again.

Click in here and it will switch me back through the query editor. So if I do decide for example that there's another column that I'd like to remove I can just right click here and remove it out that way.

And once I've made that additional change, I'll close and apply and switch through so that I have my completed dataset.

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.