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 Rows

  • Notes
  • Questions
  • Transcript
  • 03:30

Using query editor to remove rows.

Downloads

Removing-Columns-And-Rows-WorkoutRemoving-Columns-And-Rows-Workout-Solution-Steps

Glossary

Cleansing Data Promote Headers Query Editor Remove Blank Rows Remove Bottom Rows Remove Top Rows 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 Rows Removing rows is a really important part of data cleansing. We often end up with completely blank rows.

So not just an empty cell here or there but an entire row of null values and again rather than just keep them in our our dataset it's important that we do remove them because when we bring the data through into the report, we will see those blanks in some of the visuals that we create.

It's also possible in Power BI to remove top rows or bottom rows so we can specify for example remove the last two rows in the data set or remove the top 5 rows in the data set.

Sometimes we have to do what's called promoting row headers. So we'll often find if we have got some null values at the top of the table and we remove those site the column headers that the actual field names aren't updated correctly. So we'll end up with a table with heading such as column three column 4 column five and this is going to be no help to us when we bring that data through into the report because the field list will just display these headings.

So we need to tell Power BI to promote the first row up to a header rule.

It can do this for us quite easily in query editor and it will correct the field names right away.

Let's do a workout and see how to work with blank rows and remove those in Power BI query editor.

So I'm just going to go in to Get Data and use an Excel workbook here. So module 3 lesson two workout.

And when the navigator comes up, I'm just going to select remove rows as the worksheet and it can see already there lots of blank rows and so on in the starter set. So I'll use transform data and that will take me through to query editor where I can fix up the data. The first thing I want to do is remove the blank rows. so I'm just going to go here to the Home tab remove rows and remove blank rows.

And we can see they disappear immediately now if I look down at the bottom of this data set, I'll see it's not an entirely blank row it does have some values in it, so it still remaining but it's really no use to me and my analysis so it's much better to get rid of that so I can use remove rows, remove bottom rows, and it's the bottom two rows so I'll specify how many I want. Click on okay, and they're gone.

It's important point I did this point in time that if I make a mistake, if I do remove maybe rows that I shouldn't have I can easily x out that step over here to the right. So if I X here it will bring those two rows back. I'm going to remove them again. So remove bottom rows and remove two bottom rows. There we go.

The last thing for me to do is fix up my column headings. I've ended up with these column headings which are really no use to me at all. When I bring this data into my report and the first row contains what really should be the column headings. I'm not going to remove the first row what I'm going to do is ask Power BI to use the first row as headers. And when I click on that we can see right away iIt's taken row 1 and it's used them as my heading row. I now I have a complete data set which I can use here. So I'll click on close and apply and that will bring that through into my Power BI report ready for some analysis.

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.