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

Towards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphTowards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphSören Auer
 
Gateways to Power BI, Connect PowerBI.com to your On-Prem Data
Gateways to Power BI, Connect PowerBI.com to your On-Prem DataGateways to Power BI, Connect PowerBI.com to your On-Prem Data
Gateways to Power BI, Connect PowerBI.com to your On-Prem DataJean-Pierre Riehl
 
Graph Databases for Master Data Management
Graph Databases for Master Data ManagementGraph Databases for Master Data Management
Graph Databases for Master Data ManagementNeo4j
 
Power BI Data Modeling.pdf
Power BI Data Modeling.pdfPower BI Data Modeling.pdf
Power BI Data Modeling.pdfVishnuGone
 
FIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scaleFIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scaleFermin Galan
 
Microsoft Power BI | Brief Introduction | PPT
Microsoft Power BI | Brief Introduction | PPTMicrosoft Power BI | Brief Introduction | PPT
Microsoft Power BI | Brief Introduction | PPTSophia Smith
 
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)MongoDB
 
Learn D3.js in 90 minutes
Learn D3.js in 90 minutesLearn D3.js in 90 minutes
Learn D3.js in 90 minutesJos Dirksen
 
Python Data Structures and Algorithms.pptx
Python Data Structures and Algorithms.pptxPython Data Structures and Algorithms.pptx
Python Data Structures and Algorithms.pptxShreyasLawand
 
Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemAzharul Haque Shohan
 
Predictive Analytics with Airflow and PySpark
Predictive Analytics with Airflow and PySparkPredictive Analytics with Airflow and PySpark
Predictive Analytics with Airflow and PySparkRussell Jurney
 
Neo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j
 
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...Edureka!
 
ArangoDB – A different approach to NoSQL
ArangoDB – A different approach to NoSQLArangoDB – A different approach to NoSQL
ArangoDB – A different approach to NoSQLArangoDB Database
 
MongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB World 2019: Fast Machine Learning Development with MongoDBMongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB World 2019: Fast Machine Learning Development with MongoDBMongoDB
 
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
NOVA SQL User Group - Azure Synapse Analytics Overview -  May 2020NOVA SQL User Group - Azure Synapse Analytics Overview -  May 2020
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020Timothy McAliley
 

What's hot (20)

Towards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphTowards an Open Research Knowledge Graph
Towards an Open Research Knowledge Graph
 
Gateways to Power BI, Connect PowerBI.com to your On-Prem Data
Gateways to Power BI, Connect PowerBI.com to your On-Prem DataGateways to Power BI, Connect PowerBI.com to your On-Prem Data
Gateways to Power BI, Connect PowerBI.com to your On-Prem Data
 
Graph Databases for Master Data Management
Graph Databases for Master Data ManagementGraph Databases for Master Data Management
Graph Databases for Master Data Management
 
Power BI Data Modeling.pdf
Power BI Data Modeling.pdfPower BI Data Modeling.pdf
Power BI Data Modeling.pdf
 
Power query
Power queryPower query
Power query
 
FIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scaleFIWARE: Managing Context Information at large scale
FIWARE: Managing Context Information at large scale
 
Microsoft Power BI | Brief Introduction | PPT
Microsoft Power BI | Brief Introduction | PPTMicrosoft Power BI | Brief Introduction | PPT
Microsoft Power BI | Brief Introduction | PPT
 
Data Analysis Expressions (DAX) Training
Data Analysis Expressions (DAX) TrainingData Analysis Expressions (DAX) Training
Data Analysis Expressions (DAX) Training
 
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)
MongoDB Schema Design (Event: An Evening with MongoDB Houston 3/11/15)
 
Learn D3.js in 90 minutes
Learn D3.js in 90 minutesLearn D3.js in 90 minutes
Learn D3.js in 90 minutes
 
Python Data Structures and Algorithms.pptx
Python Data Structures and Algorithms.pptxPython Data Structures and Algorithms.pptx
Python Data Structures and Algorithms.pptx
 
Creating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login SystemCreating a Simple PHP and MySQL-Based Login System
Creating a Simple PHP and MySQL-Based Login System
 
DAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to HeroDAX (Data Analysis eXpressions) from Zero to Hero
DAX (Data Analysis eXpressions) from Zero to Hero
 
Predictive Analytics with Airflow and PySpark
Predictive Analytics with Airflow and PySparkPredictive Analytics with Airflow and PySpark
Predictive Analytics with Airflow and PySpark
 
Neo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j Graph Data Science - Webinar
Neo4j Graph Data Science - Webinar
 
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
 
ArangoDB – A different approach to NoSQL
ArangoDB – A different approach to NoSQLArangoDB – A different approach to NoSQL
ArangoDB – A different approach to NoSQL
 
MongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB World 2019: Fast Machine Learning Development with MongoDBMongoDB World 2019: Fast Machine Learning Development with MongoDB
MongoDB World 2019: Fast Machine Learning Development with MongoDB
 
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
NOVA SQL User Group - Azure Synapse Analytics Overview -  May 2020NOVA SQL User Group - Azure Synapse Analytics Overview -  May 2020
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
 
Power bi
Power biPower bi
Power bi
 

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

Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxedieali1
 
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
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft MaterialAhmed Hashem
 
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
 

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

Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptxLecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
Lecture 4-Prepare data-Clean, transform, and load data in Power BI.pptx
 
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
 
ETL Microsoft Material
ETL Microsoft MaterialETL Microsoft Material
ETL Microsoft Material
 
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
 

Recently uploaded

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...chiefasafspells
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 

Recently uploaded (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 

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