Power Query in Excel So Simple

Power Query in Excel So Simple

Data! Data! Data! Everywhere!

Data is basically a collection of facts or information. Dirty Data is a big problem in mainly Data Analysis situations. In this article we will go through some of the important automatic Excel functionality POWER QUERY to clean data. This comes in handy when the data is very messy when the cleanup process is more complicated.

Let us see an Example how to use :

In our example will load the data already present in the excel sheet. Here are the steps.

  1. Select the data range/ table you want to load into power query to transform into a clean data.

2. Under Data tab ---> From Table/ Range

Loading Data into Power Query

Power Query Editor with Data loaded,

I want to split the DateJoined column(containing date and time together) into separate date and time column,

In order to split the column, simply select the column you want to split and select Split Column ( here you have lot of options like By Delimiter, By Number of Characters ect..,)

split column

For our example, I am selecting the-- Split Column-->By Delimiter-->Space

Split column by Delimter Space

Now, our column is split into two DateJoined.1, DateJoined. 2. You can rename the column by right click on the column header--> Rename to Date and Time respectively.

we created two columns in just a matter of few clicks.

Date and Time column created

At anytime you can remove the changes done through the applied steps on the right hanad side of the window as shown below,

To remove any applied changes.

we can use other functionalities like choose columns, remove columns, Sort data, change data Type, Replace Values, Merge two Tables ect...,

Other functionalities in Power query Editor

Finally, to load the data back into the excel click close & Load on the top left hand corner.

No wonder it is called Power Query, any user with zero code experience can transform the data with few clicks.

Power Query is Grand Dad of Data Cleaning.


#Power Query #powerQuery #Data Cleaning







Andres Cordero

Business Analyst @ IPON | Data Analytics | Digital Transformation | Data Viz | SQL | Tableau | Power BI

11 个月

This is amazing! usually data cleaning takes me a long time, thanks for sharing!!

回复
Kathy Mucher, M.Ed.

Academic Data Analyst | Lifelong Learner | Experienced Educator

1 年

Thanks for the straightforward explanation, Kalaiselvi Kumar! ?? "Power Query is the Granddad of Data Cleaning!" ??

Karthik Thurimella

Data Analyst | Analytics Expert | SQL & Python Enthusiast | Visualization Maven | AI Enthusiast | Business Intelligence Pro

1 年

Nice work power query has its own importance we it comes to clean and join tables

要查看或添加评论,请登录

Kalaiselvi Kumar的更多文章

  • Hospital Data Analysis with MySQL

    Hospital Data Analysis with MySQL

    "MySQL is about making data work for you. It is not just a database.

    4 条评论
  • Supply Chain Analysis using Power BI

    Supply Chain Analysis using Power BI

    I had the pleasure of working on this project as part of Avery Smith's Data Career Jumpstart program. I have always…

    4 条评论
  • Financial Analysis using SQL: World Bank's Role in helping World Countries

    Financial Analysis using SQL: World Bank's Role in helping World Countries

    I had the pleasure of working on this project as part of Avery Smith's Data Career Jumpstart program. Working through…

    6 条评论
  • Analysing School Success using Tableau

    Analysing School Success using Tableau

    This is an interesting Tableau project on Analysis of Massachusetts School Data Analysis. As a Mother of two school…

    8 条评论
  • Insights From DoorDash Sales

    Insights From DoorDash Sales

    The other day I was waiting in a train station to pickup my daughter, the train got delayed and I was already feeling…

    8 条评论

社区洞察

其他会员也浏览了