SlideShare a Scribd company logo
1 of 45
Download to read offline
Excel Power Query
Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
Excel Power Query
Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
Excel Power Query
Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
Entire course available on Udemy.com
https://goo.gl/9NADTc
Special discount using coupon code: PQUERY10
5 Reasons to Love Power Query
1. Excel based
2. Improves existing processes
3. No coding required
4. Handles just about any data
5. It keeps getting better
Alternatives to Power Query
1. Waiting for the Technology Dept
2. Microsoft Access
3. Visual Basic for Excel
Power Query vs Power BI
Excel
• Power
Query
Power BI
• Cloud
version
• Desktop
version
Power Query
data engine
Power Query vs Power BI
Visualizations
and
Dashboards
Data Cleansing
using
Spreadsheets
Power BI 
Power Query 
Power Query Ribbon
Ribbon
Data Completed
Queries
This course will teach you how to use the Power Query
ribbons to automate and customize your data
transformations.
Power Query Editor
Here is a data set I call ‘DogCatSquirrel’ that helps with training.
It’s meant to be simple and lighthearted but provide enough details so
we can ‘dig into it’ and see how the Editor can transform the data.
This will lead us to more complex examples, geared for Finance and
Accounting, in the remainder of the course.
Power Query Editor
1. First, I place my cursor inside the data set
2. Press ‘Excel Data  From Table’ which creates a data table that will be imported to
Power Query Editor
3. Press ‘OK’ and the Power Query Editor opens
Power Query Editor
Notice that Power Query
• imports the data into the ‘Editor’
• assigns a ‘starting’ name to it (in this case it’s ‘Table 7’)
• applies two steps (Source and Changed Type)
• and shows the Power Query Editor ribbons which are
• Home Transform Add Column View
From here I can make a variety of data transformations like done manually regular Excel
Power Query Editor
Just like with the Power Query Ribbon, let get an overview of the Power Query Editor
There are five separate sections
1. The different ribbons
2. The ‘Applied Steps’ that transform your data. These are listed in the order that they are performed
3. The ‘Results’ section which shows how your data looks as each transformation is performed
4. There is a formula language behind these transformations called ‘M’. You don’t need to learn it, but the ‘Formula Bar’ shows more detail on how each
step changes your data
5. The ‘Navigator’ section is used to move between different queries in your currently open Excel workbook. This is convenient to zip around as you get
more comfortable.
Power Query Editor
A key point is that these ribbons replicate all the things you would do manually when transforming your data in
Excel. How many times have you received a data file and you say ‘Oh, this is not in the format I need or the data
needs to be grouped differently’.
The ‘Home’ ribbon has a lot of features. Let’s go thru them and see some examples of their use along the way
• ‘Close and Load’ loads your edited transformation back into Excel and puts the transformed data into either
an Excel table on a worksheet or it creates a ‘connection’ which you can reference in other queries.
• ‘Properties’ lets me change the name of the query. I will change it to ‘DogCatSquirrel’. I can also put in note
to remind myself about how the query was designed. See how it changes the name on the right side?
• Advanced Editor lets me see the ‘M’ code sitting behind the transformations.
• ‘Manage’ lets me Delete, Duplicate or Reference this query. I will cover each of these in a later lesson
Power Query Editor
• In the ‘Manage Columns’ section
• ‘Choose Columns’ lets me choose columns to keep and
• ‘Remove Columns’ lets me remove the selected column or all other columns.
They are two ways to achieve the same result.
Power Query Editor
• Likewise, in the ‘Reduce Rows’ section you can
• ‘Keep Rows’ provides different options such as keep top or bottom rows plus a
few other options and
• ‘Remove Rows’ lets me remove top, bottom, duplicate, blank and other types of
rows. Like with Manage Columns, they are two ways to achieve the same result.
Power Query Editor
• Sort lets you soft ‘A – Z’ or ‘Z – A’ base on alpha numeric It’s also possible to sort on
multiple columns. For instance, I can sort ‘Animal’ ‘A – Z’ and Weight in a descending
order (high to low). Notice that each time I perform a transformation, it is added to
the ‘Applied Steps’ section on the right.
• If I perform a step and then decide it’s not needed, I can simply delete it.
Power Query Editor
• Each column has a designated data type. The three most common used by Finance and Accounting are
‘text’, ‘decimal number’ and ‘date’.
• It’s very important that you’re column be set to the correct data type. Otherwise, your transformations
may not work as expected. For instance, if the ‘Weight’ column had been set to ‘text’, the Group By
function would not have summed up the values.
• Likewise, there are a lot of nice transformations that can be done on date values if you have that type of
data and set the column correctly.
Power Query Editor
• ‘Use First Row as Headers’ lets you update column names based on the names in your source data.
• ‘Replace Values’ lets you search and replace column values. For example, I will look for ‘Cat’ and replace
with ‘Lion’ (show example). Again, the benefit is that it can be done on thousands of records very quickly
and be part of the data transformation sequence shown in ‘Applied Steps’.
Power Query Editor
Wow. We have covered a lot of data transformation options in the Power Query Editor and are only one the
first of four editor ribbons! Microsoft has done an excellent job putting in so many capabilities.
Power Query Editor
Beginner Intermediate Advanced
Push-button   
Formulas  
Multi-query 
Installation and Updates
In this lecture I show how to install Power Query for Excel and how to make updates when new versions are released.
One key point - - Power Query comes pre-installed on Excel 2016. You only need to do your own installation if you’re using Excel
2013 or Excel 2010.
Installation and Updates
Download site: https://goo.gl/QWnKYV
Here is a link that takes you directly to the Microsoft download site
Installation and Updates
Download site: https://goo.gl/QWnKYV
I usually expand the ‘Details’ section to see the version and ‘Date Published’. Select the
‘Download’ button . . .
Installation and Updates
Download site: https://goo.gl/QWnKYV
And another windows lets you select the files. You select either the 32-bit or 64-bit .msi file. This refers to the version of Excel
you’re using. Most people are using 64-bit these days, but it’s good to check your version.
Installation and Updates
To do this, open Excel and go to File . . .
Download site: https://goo.gl/QWnKYV
Installation and Updates
Select ‘Account’
Download site: https://goo.gl/QWnKYV
Installation and Updates
Download site: https://goo.gl/QWnKYV
Select ‘About Excel’ and this opens a window that shows your version. It’s listed in the top right corner
Installation and Updates
Download site: https://goo.gl/QWnKYV
I see that I’m using the 64-bit version of Excel and select the 64-bit .msi file and press ‘Next’
Installation and Updates
Download site: https://goo.gl/QWnKYV
Now go back to the download file, double-click and press ‘Run’. This starts the installation process.
Installation and Updates
There are several setup windows that appear. Press ‘Next’ . . .
Download site: https://goo.gl/QWnKYV
Installation and Updates
Accept the terms of the License Agreement and press ‘Next’ . . .
Download site: https://goo.gl/QWnKYV
Installation and Updates
I always select the default destination folder and press ‘Next’ . . .
Download site: https://goo.gl/QWnKYV
Installation and Updates
Then select ‘Install’ to begin installation.
Download site: https://goo.gl/QWnKYV
Installation and Updates
The installation is very quick . . .
Download site: https://goo.gl/QWnKYV
Installation and Updates
And you’re done! Press ‘Finish’ to complete the process.
Installation and Updates
Open Excel and you will now see the Power Query ribbon available for use.
Installation and Updates
One last point. To see the Power Query installation in Excel, select File -> Options
Installation and Updates
Add-Ins and then ‘COM Add-ins’ from the ‘Manage’ drop down.
Installation and Updates
Sometimes Excel will unexpectedly uncheck the Power Query ribbon. If the ribbon disappears
from your toolbar, do this to make sure it’s checked, or active, in the ‘COM Add-Ins’ window.
Installation and Updates
In this lecture I showed you how to install Power Query for Excel and how to make updates when
new versions are released by Microsoft.
Push Button (Level 1)
Power Query Editor Functions
Import Excel file
Remove Top Rows
Use First Row as Header
Remove Columns
Change Type
Split Columns by Delimiter
Rename Columns
Close & Load
Here are some of the push-button functions we’ll use in this lecture
Formulas (Level 2)
Power Query Editor Functions
Merge Columns
Conditional Columns
Reorder Columns
Rename steps
Move steps
View ‘M’ Code
Sort Rows
Filter Rows
Here are the Power Query Editor functions we’ll use in this lecture. Many of them are formula
based and require you to enter values to define them properly. These will greatly extend your
capabilities and make you a Power Query superstar.
Multi-Query (Level 3)
Power Query Editor Functions
Rename query
Reference
Group-By
Duplicate
Refresh
Merge
Here are the Power Query Editor functions we’ll use in this lecture. Many of them are formula
based and require you to enter values to define them properly. These will greatly extend your
capabilities and make you a Power Query superstar.
Multi-Query (Level 3)
I create separate PQ imports from Excel and csv files that link to general ledgers descriptions and
product masters. You have many possibilities and are limited only by your imagination.
Company Description
10 USA
20 Canada
Department Description
200 Finance
400 Operations
Account Description
69500 Travel
71500 Rent
72500 Salaries
Power Query
Excel Power Query
Learn everything at ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
Entire course available on Udemy.com
https://goo.gl/9NADTc
Special discount using coupon code: PQUERY10

More Related Content

What's hot

Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BIHARIHARAN R
 
Free Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseFree Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseDatabricks
 
Best Practices for Building Your Data Lake on AWS
Best Practices for Building Your Data Lake on AWSBest Practices for Building Your Data Lake on AWS
Best Practices for Building Your Data Lake on AWSAmazon Web Services
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaEdureka!
 
Power BI - Bring your data together
Power BI - Bring your data togetherPower BI - Bring your data together
Power BI - Bring your data togetherStéphane Fréchette
 
Big data architectures and the data lake
Big data architectures and the data lakeBig data architectures and the data lake
Big data architectures and the data lakeJames Serra
 
Is the traditional data warehouse dead?
Is the traditional data warehouse dead?Is the traditional data warehouse dead?
Is the traditional data warehouse dead?James Serra
 
Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019Priyanka Khanadali
 
Business intelligence, Data Analytics & Data Visualization
Business intelligence, Data Analytics & Data VisualizationBusiness intelligence, Data Analytics & Data Visualization
Business intelligence, Data Analytics & Data VisualizationMuthu Natarajan
 
Flow builder pros and cons
Flow builder pros and consFlow builder pros and cons
Flow builder pros and consMelissa Shook
 
DAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power QueryDAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power QueryWill Harvey
 

What's hot (20)

Power BI Overview
Power BI Overview Power BI Overview
Power BI Overview
 
Data analytics and powerbi intro
Data analytics and powerbi introData analytics and powerbi intro
Data analytics and powerbi intro
 
Introduction to Power BI
Introduction to Power BIIntroduction to Power BI
Introduction to Power BI
 
Power BI
Power BIPower BI
Power BI
 
Power BI visuals
Power BI visualsPower BI visuals
Power BI visuals
 
Power query
Power queryPower query
Power query
 
Free Training: How to Build a Lakehouse
Free Training: How to Build a LakehouseFree Training: How to Build a Lakehouse
Free Training: How to Build a Lakehouse
 
Power bi
Power biPower bi
Power bi
 
Best Practices for Building Your Data Lake on AWS
Best Practices for Building Your Data Lake on AWSBest Practices for Building Your Data Lake on AWS
Best Practices for Building Your Data Lake on AWS
 
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | EdurekaPower BI Desktop | Power BI Tutorial | Power BI Training | Edureka
Power BI Desktop | Power BI Tutorial | Power BI Training | Edureka
 
PowerBI Training
PowerBI Training PowerBI Training
PowerBI Training
 
Power BI - Bring your data together
Power BI - Bring your data togetherPower BI - Bring your data together
Power BI - Bring your data together
 
Big data architectures and the data lake
Big data architectures and the data lakeBig data architectures and the data lake
Big data architectures and the data lake
 
Is the traditional data warehouse dead?
Is the traditional data warehouse dead?Is the traditional data warehouse dead?
Is the traditional data warehouse dead?
 
Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019Power bi-dashboard-in-a-day-diad-mumbai-2019
Power bi-dashboard-in-a-day-diad-mumbai-2019
 
Introduction to DAX Language
Introduction to DAX LanguageIntroduction to DAX Language
Introduction to DAX Language
 
Vue d'ensemble Dremio
Vue d'ensemble DremioVue d'ensemble Dremio
Vue d'ensemble Dremio
 
Business intelligence, Data Analytics & Data Visualization
Business intelligence, Data Analytics & Data VisualizationBusiness intelligence, Data Analytics & Data Visualization
Business intelligence, Data Analytics & Data Visualization
 
Flow builder pros and cons
Flow builder pros and consFlow builder pros and cons
Flow builder pros and cons
 
DAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power QueryDAX and Power BI Training - 004 Power Query
DAX and Power BI Training - 004 Power Query
 

Similar to Excel Power Query Secrets: How to Cut Data Prep Time by 75%

Automation Of Reporting And Alerting
Automation Of Reporting And AlertingAutomation Of Reporting And Alerting
Automation Of Reporting And AlertingSean Durocher
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel TutorialFaHaD .H. NooR
 
Microsoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfMicrosoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfNitin
 
How To Automate Part 3
How To Automate Part 3How To Automate Part 3
How To Automate Part 3Sean Durocher
 
Technical stream presentation
Technical stream presentationTechnical stream presentation
Technical stream presentationDynistics
 
Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Redwan Ferdous
 
Tableau course curriculum
Tableau course curriculumTableau course curriculum
Tableau course curriculumMadhukar Reddy
 
How to create Excel dashboards easily
How to create Excel dashboards easilyHow to create Excel dashboards easily
How to create Excel dashboards easilyMockup Wireframe
 
Creating dashboards in obiee
Creating dashboards in obieeCreating dashboards in obiee
Creating dashboards in obieeRavi Kumar Lanke
 
Access tips access and sql part 4 building select queries on-the-fly
Access tips  access and sql part 4  building select queries on-the-flyAccess tips  access and sql part 4  building select queries on-the-fly
Access tips access and sql part 4 building select queries on-the-flyquest2900
 
How to create edit checks in medidata rave painlessly
How to create edit checks in medidata rave painlesslyHow to create edit checks in medidata rave painlessly
How to create edit checks in medidata rave painlesslyWeihong Yang
 
Excel training
Excel trainingExcel training
Excel trainingseomonster
 
Intland Academy: Requirements Management Training Session | 19 Sep 2019
Intland Academy: Requirements Management Training Session | 19 Sep 2019Intland Academy: Requirements Management Training Session | 19 Sep 2019
Intland Academy: Requirements Management Training Session | 19 Sep 2019Intland Software GmbH
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelP. SUNDARI ARUN
 
How to create a project dashboard using share point lists
How to create a project dashboard using share point listsHow to create a project dashboard using share point lists
How to create a project dashboard using share point listsGavin Bollard
 
Azure machine learning
Azure machine learningAzure machine learning
Azure machine learningSimone Caldaro
 
Sql server 2012 tutorials writing transact-sql statements
Sql server 2012 tutorials   writing transact-sql statementsSql server 2012 tutorials   writing transact-sql statements
Sql server 2012 tutorials writing transact-sql statementsSteve Xu
 

Similar to Excel Power Query Secrets: How to Cut Data Prep Time by 75% (20)

How to use Power Query in Excel.pptx
How to use Power Query in Excel.pptxHow to use Power Query in Excel.pptx
How to use Power Query in Excel.pptx
 
Automation Of Reporting And Alerting
Automation Of Reporting And AlertingAutomation Of Reporting And Alerting
Automation Of Reporting And Alerting
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
Microsoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdfMicrosoft Excel Dashboards and Their Features.pdf
Microsoft Excel Dashboards and Their Features.pdf
 
How to use Power Pivot in Excel
How to use Power Pivot in ExcelHow to use Power Pivot in Excel
How to use Power Pivot in Excel
 
How To Automate Part 3
How To Automate Part 3How To Automate Part 3
How To Automate Part 3
 
Technical stream presentation
Technical stream presentationTechnical stream presentation
Technical stream presentation
 
Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2
 
Tableau course curriculum
Tableau course curriculumTableau course curriculum
Tableau course curriculum
 
How to create Excel dashboards easily
How to create Excel dashboards easilyHow to create Excel dashboards easily
How to create Excel dashboards easily
 
Creating dashboards in obiee
Creating dashboards in obieeCreating dashboards in obiee
Creating dashboards in obiee
 
Access tips access and sql part 4 building select queries on-the-fly
Access tips  access and sql part 4  building select queries on-the-flyAccess tips  access and sql part 4  building select queries on-the-fly
Access tips access and sql part 4 building select queries on-the-fly
 
How to create edit checks in medidata rave painlessly
How to create edit checks in medidata rave painlesslyHow to create edit checks in medidata rave painlessly
How to create edit checks in medidata rave painlessly
 
Excel training
Excel trainingExcel training
Excel training
 
Intland Academy: Requirements Management Training Session | 19 Sep 2019
Intland Academy: Requirements Management Training Session | 19 Sep 2019Intland Academy: Requirements Management Training Session | 19 Sep 2019
Intland Academy: Requirements Management Training Session | 19 Sep 2019
 
Ms Excel
Ms ExcelMs Excel
Ms Excel
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
 
How to create a project dashboard using share point lists
How to create a project dashboard using share point listsHow to create a project dashboard using share point lists
How to create a project dashboard using share point lists
 
Azure machine learning
Azure machine learningAzure machine learning
Azure machine learning
 
Sql server 2012 tutorials writing transact-sql statements
Sql server 2012 tutorials   writing transact-sql statementsSql server 2012 tutorials   writing transact-sql statements
Sql server 2012 tutorials writing transact-sql statements
 

Recently uploaded

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 

Excel Power Query Secrets: How to Cut Data Prep Time by 75%

  • 1. Excel Power Query Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
  • 2. Excel Power Query Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’
  • 3. Excel Power Query Welcome to ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’ Entire course available on Udemy.com https://goo.gl/9NADTc Special discount using coupon code: PQUERY10
  • 4. 5 Reasons to Love Power Query 1. Excel based 2. Improves existing processes 3. No coding required 4. Handles just about any data 5. It keeps getting better
  • 5. Alternatives to Power Query 1. Waiting for the Technology Dept 2. Microsoft Access 3. Visual Basic for Excel
  • 6. Power Query vs Power BI Excel • Power Query Power BI • Cloud version • Desktop version Power Query data engine
  • 7. Power Query vs Power BI Visualizations and Dashboards Data Cleansing using Spreadsheets Power BI  Power Query 
  • 8. Power Query Ribbon Ribbon Data Completed Queries This course will teach you how to use the Power Query ribbons to automate and customize your data transformations.
  • 9. Power Query Editor Here is a data set I call ‘DogCatSquirrel’ that helps with training. It’s meant to be simple and lighthearted but provide enough details so we can ‘dig into it’ and see how the Editor can transform the data. This will lead us to more complex examples, geared for Finance and Accounting, in the remainder of the course.
  • 10. Power Query Editor 1. First, I place my cursor inside the data set 2. Press ‘Excel Data  From Table’ which creates a data table that will be imported to Power Query Editor 3. Press ‘OK’ and the Power Query Editor opens
  • 11. Power Query Editor Notice that Power Query • imports the data into the ‘Editor’ • assigns a ‘starting’ name to it (in this case it’s ‘Table 7’) • applies two steps (Source and Changed Type) • and shows the Power Query Editor ribbons which are • Home Transform Add Column View From here I can make a variety of data transformations like done manually regular Excel
  • 12. Power Query Editor Just like with the Power Query Ribbon, let get an overview of the Power Query Editor There are five separate sections 1. The different ribbons 2. The ‘Applied Steps’ that transform your data. These are listed in the order that they are performed 3. The ‘Results’ section which shows how your data looks as each transformation is performed 4. There is a formula language behind these transformations called ‘M’. You don’t need to learn it, but the ‘Formula Bar’ shows more detail on how each step changes your data 5. The ‘Navigator’ section is used to move between different queries in your currently open Excel workbook. This is convenient to zip around as you get more comfortable.
  • 13. Power Query Editor A key point is that these ribbons replicate all the things you would do manually when transforming your data in Excel. How many times have you received a data file and you say ‘Oh, this is not in the format I need or the data needs to be grouped differently’. The ‘Home’ ribbon has a lot of features. Let’s go thru them and see some examples of their use along the way • ‘Close and Load’ loads your edited transformation back into Excel and puts the transformed data into either an Excel table on a worksheet or it creates a ‘connection’ which you can reference in other queries. • ‘Properties’ lets me change the name of the query. I will change it to ‘DogCatSquirrel’. I can also put in note to remind myself about how the query was designed. See how it changes the name on the right side? • Advanced Editor lets me see the ‘M’ code sitting behind the transformations. • ‘Manage’ lets me Delete, Duplicate or Reference this query. I will cover each of these in a later lesson
  • 14. Power Query Editor • In the ‘Manage Columns’ section • ‘Choose Columns’ lets me choose columns to keep and • ‘Remove Columns’ lets me remove the selected column or all other columns. They are two ways to achieve the same result.
  • 15. Power Query Editor • Likewise, in the ‘Reduce Rows’ section you can • ‘Keep Rows’ provides different options such as keep top or bottom rows plus a few other options and • ‘Remove Rows’ lets me remove top, bottom, duplicate, blank and other types of rows. Like with Manage Columns, they are two ways to achieve the same result.
  • 16. Power Query Editor • Sort lets you soft ‘A – Z’ or ‘Z – A’ base on alpha numeric It’s also possible to sort on multiple columns. For instance, I can sort ‘Animal’ ‘A – Z’ and Weight in a descending order (high to low). Notice that each time I perform a transformation, it is added to the ‘Applied Steps’ section on the right. • If I perform a step and then decide it’s not needed, I can simply delete it.
  • 17. Power Query Editor • Each column has a designated data type. The three most common used by Finance and Accounting are ‘text’, ‘decimal number’ and ‘date’. • It’s very important that you’re column be set to the correct data type. Otherwise, your transformations may not work as expected. For instance, if the ‘Weight’ column had been set to ‘text’, the Group By function would not have summed up the values. • Likewise, there are a lot of nice transformations that can be done on date values if you have that type of data and set the column correctly.
  • 18. Power Query Editor • ‘Use First Row as Headers’ lets you update column names based on the names in your source data. • ‘Replace Values’ lets you search and replace column values. For example, I will look for ‘Cat’ and replace with ‘Lion’ (show example). Again, the benefit is that it can be done on thousands of records very quickly and be part of the data transformation sequence shown in ‘Applied Steps’.
  • 19. Power Query Editor Wow. We have covered a lot of data transformation options in the Power Query Editor and are only one the first of four editor ribbons! Microsoft has done an excellent job putting in so many capabilities.
  • 20. Power Query Editor Beginner Intermediate Advanced Push-button    Formulas   Multi-query 
  • 21. Installation and Updates In this lecture I show how to install Power Query for Excel and how to make updates when new versions are released. One key point - - Power Query comes pre-installed on Excel 2016. You only need to do your own installation if you’re using Excel 2013 or Excel 2010.
  • 22. Installation and Updates Download site: https://goo.gl/QWnKYV Here is a link that takes you directly to the Microsoft download site
  • 23. Installation and Updates Download site: https://goo.gl/QWnKYV I usually expand the ‘Details’ section to see the version and ‘Date Published’. Select the ‘Download’ button . . .
  • 24. Installation and Updates Download site: https://goo.gl/QWnKYV And another windows lets you select the files. You select either the 32-bit or 64-bit .msi file. This refers to the version of Excel you’re using. Most people are using 64-bit these days, but it’s good to check your version.
  • 25. Installation and Updates To do this, open Excel and go to File . . . Download site: https://goo.gl/QWnKYV
  • 26. Installation and Updates Select ‘Account’ Download site: https://goo.gl/QWnKYV
  • 27. Installation and Updates Download site: https://goo.gl/QWnKYV Select ‘About Excel’ and this opens a window that shows your version. It’s listed in the top right corner
  • 28. Installation and Updates Download site: https://goo.gl/QWnKYV I see that I’m using the 64-bit version of Excel and select the 64-bit .msi file and press ‘Next’
  • 29. Installation and Updates Download site: https://goo.gl/QWnKYV Now go back to the download file, double-click and press ‘Run’. This starts the installation process.
  • 30. Installation and Updates There are several setup windows that appear. Press ‘Next’ . . . Download site: https://goo.gl/QWnKYV
  • 31. Installation and Updates Accept the terms of the License Agreement and press ‘Next’ . . . Download site: https://goo.gl/QWnKYV
  • 32. Installation and Updates I always select the default destination folder and press ‘Next’ . . . Download site: https://goo.gl/QWnKYV
  • 33. Installation and Updates Then select ‘Install’ to begin installation. Download site: https://goo.gl/QWnKYV
  • 34. Installation and Updates The installation is very quick . . . Download site: https://goo.gl/QWnKYV
  • 35. Installation and Updates And you’re done! Press ‘Finish’ to complete the process.
  • 36. Installation and Updates Open Excel and you will now see the Power Query ribbon available for use.
  • 37. Installation and Updates One last point. To see the Power Query installation in Excel, select File -> Options
  • 38. Installation and Updates Add-Ins and then ‘COM Add-ins’ from the ‘Manage’ drop down.
  • 39. Installation and Updates Sometimes Excel will unexpectedly uncheck the Power Query ribbon. If the ribbon disappears from your toolbar, do this to make sure it’s checked, or active, in the ‘COM Add-Ins’ window.
  • 40. Installation and Updates In this lecture I showed you how to install Power Query for Excel and how to make updates when new versions are released by Microsoft.
  • 41. Push Button (Level 1) Power Query Editor Functions Import Excel file Remove Top Rows Use First Row as Header Remove Columns Change Type Split Columns by Delimiter Rename Columns Close & Load Here are some of the push-button functions we’ll use in this lecture
  • 42. Formulas (Level 2) Power Query Editor Functions Merge Columns Conditional Columns Reorder Columns Rename steps Move steps View ‘M’ Code Sort Rows Filter Rows Here are the Power Query Editor functions we’ll use in this lecture. Many of them are formula based and require you to enter values to define them properly. These will greatly extend your capabilities and make you a Power Query superstar.
  • 43. Multi-Query (Level 3) Power Query Editor Functions Rename query Reference Group-By Duplicate Refresh Merge Here are the Power Query Editor functions we’ll use in this lecture. Many of them are formula based and require you to enter values to define them properly. These will greatly extend your capabilities and make you a Power Query superstar.
  • 44. Multi-Query (Level 3) I create separate PQ imports from Excel and csv files that link to general ledgers descriptions and product masters. You have many possibilities and are limited only by your imagination. Company Description 10 USA 20 Canada Department Description 200 Finance 400 Operations Account Description 69500 Travel 71500 Rent 72500 Salaries Power Query
  • 45. Excel Power Query Learn everything at ‘Excel Power Query Secrets: How to Cut Data Prep Time by 75%’ Entire course available on Udemy.com https://goo.gl/9NADTc Special discount using coupon code: PQUERY10