
eBook - ePub
Master Your Data with Power Query in Excel and Power BI
Leveraging Power Query to Get & Transform Your Task Flow
- 212 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Master Your Data with Power Query in Excel and Power BI
Leveraging Power Query to Get & Transform Your Task Flow
About this book
Power Query is the amazing new data cleansing tool in both Excel and Power BI Desktop. Do you find yourself performing the same data cleansing steps day after day? Power Query will make it faster to clean your data the first time. While Power Query is powerful, the interface is subtle—there are tools hiding in plain sight that are easy to miss. Go beyond the obvious and take Power Query to new levels with this book.
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Master Your Data with Power Query in Excel and Power BI by Miguel Escobar,Ken Puls in PDF and/or ePUB format, as well as other popular books in Business & Business Intelligence. We have over one million books available in our catalogue for you to explore.
Information
Chapter 1 - Power Query Fundamentals
The purpose of Power Query is to collect and reshape data into the desired format, before loading it into tables for consumption by the business analyst. The basic overview of the process, which Power Query will attempt to follow without your intervention, can be visualized as follows:

An overview of the Power Query process
Of course, we can manipulate any part of this process at any time. And indeed, in this book we will do a lot of that. But to begin with it is helpful to walk through and understand the overall method that Power Query is attempting to follow.
Before You Begin
Before you launch into your Power Query journey, there are some defaults that we suggest you change in the Power Query interface. Why? Microsoft turned certain features off to avoid overwhelming you, but unfortunately some of these items are critical in order to use the tool properly. And since you have this book, you’ll be guided through the correct use here anyway!
Adjusting Excel’s Default Power Query Properties
To adjust your default settings in Excel:
- Go the Data tab à Get Data à Query Options
- Under Global à Data Load, ensure that Fast Data Load is checked. (This setting will lock Excel’s user interface during a refresh but will ensure that you have up to date data before continuing.)
- Under Global à Power Query Editor, ensure that every box here is checked. We especially want to make sure the Formula Bar is showing but checking every box will make sure you have all the options that you’ll see throughout this book.
- Click OK
There are other options within this area, but for now the default settings will work just fine.
Adjusting Power BI’s Default Power Query Properties
To adjust your default settings in Power BI Desktop:
- Go the File tab à Options & settings à Options
- Under Global à Power Query Editor, ensure that every box here is checked. We especially want to make sure the Formula Bar is showing but checking every box will make sure you have all the options that you’ll see throughout this book.
- Click OK
🍌 While in the Power BI Desktop options, you may also want to check the Global à Preview Features tab to see if any new features look enticing. As features are released to Power BI Desktop first, this is a great place to see what is coming to Power Query in Excel.
Extract
In this chapter, we will look at importing a simple CSV file into Power Query in Excel or Power BI to show just how Power Query approaches the tasks above, how they look in the user interface, and how they are identical between the two programs.
The ETL process all begins with the Extract step. Inside this step are four distinct subtasks as follows:

The four sub-steps of the Extract process
Configure Connector Settings (Choose Your Data)
The first step is to choose and configure the data connector we want to work with. In this case, we’ll start by creating a new query that uses the CSV connector in Excel:
- Go to Get Data à From File à From Text/CSV
This would be equivalent to the following in Power BI Desktop:
- Go to Get Data à More… à File à Text/CSV

Connecting to a Text/CSV file in Excel (left) or Power BI Desktop (right)
It is worth recognizing that you could attach to a Text/CSV file in less clicks in either program. As Text/CSV files are a common data source, they surface in the user interface much more quickly than drilling down into the sub-menus. In Excel you’ll find this connector right beside the Get Data button on the Data tab. And in Power BI the connector is on the very first level of the menu, with no need to drill down into the More… sources. This, however, won’t always be the case as we move into other data sources later in the book, so we’ve standardized on the full path to the data source.
🍌 Power BI Desktop can actually connect to a larger set of data sources than Excel. The intention of the team here is to release beta connectors into Power BI and – once they have passed beta stage – eventually bring them to Excel.
Once we’ve selec...
Table of contents
- Foreword
- Chapter 0 - The Data Revolution
- Chapter 1 - Power Query Fundamentals
- Chapter 2 - Query Management
- Chapter 3 - Data Types and Errors
- Chapter 4 - Moving Queries Between Excel & Power BI
- Chapter 5 - Importing from Flat Files
- Chapter 6 - Importing Data from Excel
- Chapter 7 - Simple Transformation Techniques
- Chapter 8 - Appending Data
- Chapter 9 - Combining Files
- Chapter 10 - Merging Data
- Chapter 11 - Web Based Data Sources
- Chapter 12 - Relational Data Sources
- Chapter 13 - Reshaping Tabular Data
- Chapter 14 - Conditional Logic in Power Query
- Chapter 15 - Power Query Values
- Chapter 16 - Understanding the M Language
- Chapter 17 - Parameters and Custom Functions
- Chapter 18 - Date and Time Techniques
- Chapter 19 - Query Optimization
- Chapter 20 - Automating Refresh
- Index