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 Duplicates

  • Notes
  • Questions
  • Transcript
  • 04:20

Using profiling to help identify duplicates or errors.

Downloads

Removing-Duplicates-WorkoutRemoving-Duplicates-Workout-Solution-Steps

Glossary

Cleansing Data Column Distribution Distinct Values Profiling Data Query Editor Remove Duplicates Transorming Data Unique Values
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 Duplicates It's really important that we check for duplicates in our data set.

Most tables will have one column which contains some sort of unique information.

Each row contains a different value for that column, so transaction ID, ISIN numbers, client references, or company codes.

It doesn't happen all the time, sometimes we don't have a single column like that that we can use but there's still duplication across the entire row.

Let's have a look at some examples. So if we have duplication in a single column, it would be the likes of the ISIN number here where no two rows should have the same value. We would remove the duplicates using that one single column.

Sometimes it's difficult to spot or identify duplicates, so Power BI has a fantastic tool called column distribution what that allows us to do is to check how many distinct values we have against how many unique values so the distinct values in a column are the different values that occur, so 196 different ISIN numbers.

The unique values are how many of those values are actually unique, so I have 196 distinct or different values but only 193 of them are unique. So there must be three values in there which have been used more than once and therefore I have duplicates.

Sometimes it's not always so easy to spot so in this example, we don't have a single column that we can use to identify duplicates with the company name for example can be repeated. It's okay to have Merrill Lynch more than once it's okay to have the same nominal value more than once the same market price or the same currency code. But if they were to all to be duplicated across the entire row, then we would want to remove those rows.

Let's do a workout in Power BI to see how to remove duplicates.

So let's use Get Data then to connect to an Excel workbook, module 3 lesson 6 work out.

I have two worksheets in here. I'm just going to select both of them and go through to transform data and into query editor.

I'm going to make sure I have selected the duplicate single column table first.

And I can see here the ISIN number should contain unique values, now if I want to check first of all, if there are any duplicates, I can use the view tab and just click on that to put on column distribution and right away. I can see there are 196 different values and only 193 of them are unique so I know I have got duplicates there, I'm going to remove duplicates just down here.

And I can see now all of my values are unique.

If I go to the second table so multiple columns this is slightly trickier because if I look at for example row 2 3 and 4, I can see Merrill Lynch has been duplicated, but it's okay in this example to have duplication there. But if I look further across the row I can see that some of the values are duplicated right across and some of the values are different. So row two and three have exactly the same value in every single column.

Row 4 is slightly different, so I would consider a row two and three a duplicate there row four. I would want to leave now to remove duplicates across all of the columns. I need to select all of the columns, so I'm going to start with company name just scroll across to the last column use the shift key and select so that will get them all selected there.

And then I can just right click remove duplicates.

So I just double check I can see I've got Merrill Lynch.

two rows of data 9 both unique

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.