Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

Collect, Combine,

and Transform
Data Using
Power Query in
Excel and Power BI
Gil Raviv
gil.raviv@avanade.com
gilra@datachant.com
About Gil Raviv

• Microsoft MVP
• Director Analytics at Avanade, helps organizations to enable self-service BI
• Power BI Blogger at DataChant.com
• Former PM on Microsoft Excel Product team

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

2 ©2018 Avanade Inc. All Rights Reserved.


Avanade at a Glance in Analytics
Managed
Services for Avanade 550+ 43% Analytics:
On-Premise, Analytics customers of our customers are in driving digital
Cloud and Data & across all industries the Global 500 innovation and
Hybrid
environments Analytics business outcomes
4000+ Analytics professional WW
1000+ Data Engineers & Scientists
100+ Big Data Consultants Industry leading
Analytics
as a Service Avanade Modern
Analytics for: Analytics Platform
Internet of On Azure
Analytics Things
Application
Development
Factory

Industry &
Agile delivery thru
variety of delivery
70
Locations
Analytics Technology models: Onshore,
Innovation
Lab
accelerators to
jumpstart &
Near-shore,
Offshore & 22
accelerate delivery Composite Countries

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

3 ©2018 Avanade Inc. All Rights Reserved.


Power Query – The Best Data Acquisition & Preparation Tool

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

4 ©2018 Avanade Inc. All Rights Reserved.


Power Query Leading the Data Prep Experiences
in Microsoft Stack

Power Query is Available in these Products

Excel 2010 and Excel 2016 Power BI Gateway


Power BI Desktop
2013 Add-In Data ribbon + Service

Azure Analysis
Microsoft Flows Power Apps Dataflows
Services

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy
The Challenges
• Power Query Editor is frequently updated
• UI is going through constant incremental changes
• New connectors
• New transformations
• The new data exploration
• Intellisense in Advanced Editor
• How can I write a book that will still be relevant in the
future?
• After a year?
• After 3 years?
• After 5 years?
• My solution
• Don’t focus on features, focus on capabilities
• Hands-on
• Sequences and Principles

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

6 ©2018 Avanade Inc. All Rights Reserved.


©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

7 ©2018 Avanade Inc. All Rights Reserved.


Chapter 1: Introduction to Power Query
How it started

“Power Query was initially formed in 2011 as part of Microsoft SQL Azure Labs. It was announced at
PASS Summit in October 2011 under the Microsoft codename “Data Explorer.” Figure 1-1 shows its
initial user interface.”

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

8 ©2018 Avanade Inc. All Rights Reserved.


Chapter 2: Basic Data Preparation Challenges

0000Messy1111 Cleaned

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

9 ©2018 Avanade Inc. All Rights Reserved.


Chapter 3: Combining Data from Multiple Sources

Siloed
Siloed Combined

Siloed
©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

10 ©2018 Avanade Inc. All Rights Reserved.


Chapter 4: Combining Mismatched Tables

Mismatched

mis_matched Combined
MISMATCHED
©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

11 ©2018 Avanade Inc. All Rights Reserved.


Chapter 5: Preserve Context

contextless
Context

Combined
contextless +
Context

Preserved
contextless
Context

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

12 ©2018 Avanade Inc. All Rights Reserved.


Chapter 6: Unpivoting Tables

Badly Well-
Structured
Structured

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

13 ©2018 Avanade Inc. All Rights Reserved.


Chapter 7: Advanced Unpivoting and Pivoting Tables

Badly
Structured
Well-
Structured

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

14 ©2018 Avanade Inc. All Rights Reserved.


Chapter 8: Addressing Collaboration Challenges

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

15 ©2018 Avanade Inc. All Rights Reserved.


Chapter 9: Introduction to the Power Query M Formula Language

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

16 ©2018 Avanade Inc. All Rights Reserved.


Chapter 10: From Pitfalls to Robust Queries

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

17 ©2018 Avanade Inc. All Rights Reserved.


Chapter 11: Basic Text Analytics

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

18 ©2018 Avanade Inc. All Rights Reserved.


Chapter 12: Advanced Text Analytics: Extracting Meaning

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

19 ©2018 Avanade Inc. All Rights Reserved.


Chapter 13: Social Network Analytics

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

20 ©2018 Avanade Inc. All Rights Reserved.


Chapter 14: Final Project – Combining It All Together

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

21 ©2018 Avanade Inc. All Rights Reserved.


• Q&A
• Bonus Exercises
• Cool Demos

©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

22 ©2018 Avanade Inc. All Rights Reserved.


©2017 Avanade Inc. All Rights Reserved. <Highly Confidential> See Avanade’s Data Management Policy

23
Thank You

©2017 AvanadeInc.
©2017 Avanade Inc.
AllAll Rights
Rights Reserved.
Reserved.

You might also like