Modern Data Analytics In Excel Using Power Query Power Pivot And More For Enhanced Data Analytics 1st Converted George Mount download
Modern Data Analytics In Excel Using Power Query Power Pivot And More For Enhanced Data Analytics 1st Converted George Mount download
https://ebookbell.com/product/modern-data-analytics-in-excel-
using-power-query-power-pivot-and-more-for-enhanced-data-
analytics-1st-converted-george-mount-57044528
Modern Data Analytics In Excel Using Power Query Power Pivot And More
For Enhanced Data Analytics George Mount
https://ebookbell.com/product/modern-data-analytics-in-excel-using-
power-query-power-pivot-and-more-for-enhanced-data-analytics-george-
mount-56323326
Modern Data Analytics In Excel Using Power Query Power Pivot And More
For Enhanced Data Analytics George Mount
https://ebookbell.com/product/modern-data-analytics-in-excel-using-
power-query-power-pivot-and-more-for-enhanced-data-analytics-george-
mount-57030118
https://ebookbell.com/product/modern-data-analytics-in-excel-second-
early-release-george-mount-53072462
https://ebookbell.com/product/modern-data-analytics-in-excel-early-
george-mount-51196912
Modern Data Analytics In Excel George Mount
https://ebookbell.com/product/modern-data-analytics-in-excel-george-
mount-57015604
https://ebookbell.com/product/modern-data-analytics-in-excel-george-
mount-57056726
https://ebookbell.com/product/data-lakehouse-in-action-architecting-a-
modern-and-scalable-data-analytics-platform-pradeep-menon-47995190
https://ebookbell.com/product/modern-analysis-of-biological-data-
generalized-linear-models-in-r-stano-pekar-7043338
Modern Data Analytics in
Excel
Using Power Query, Power Pivot, and
More for Enhanced Data Analytics
George Mount
Modern Data Analytics in Excel
by George Mount
Copyright © 2024 Candid World Consulting, LLC. All rights
reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein
Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business,
or sales promotional use. Online editions are also available
for most titles (http://oreilly.com). For more information,
contact our corporate/institutional sales department: 800-
998-9938 or [email protected].
Learning Objective
By the end of this book, you should be able to use modern
Excel tools for data cleaning, analysis, reporting, and
advanced analytics. In particular, you’ll clean and
transform data with Power Query, create relational models
in Power Pivot to build sophisticated analyses, and explore
the Excel analytics toolkit to further automate and enhance
your work.
Prerequisites
To meet these objectives, this book makes some technical
and technological assumptions.
Technical Requirements
To make the most of this book, it is recommended that you
have a Windows computer with the Microsoft 365 version
of Excel for desktop. The features covered in this book are
relatively new and may not be available in older Excel
versions. Please note that many of these tools are still
being developed for Mac, and compatibility may vary. Due
to the fast-paced nature of Excel’s development, it is
difficult to provide a precise list of what’s available for each
version.
Chapter 7 of the book briefly explains how to load a Data
Model from Excel into Power BI. It assumes that, as a
Microsoft 365 for Windows user, you already have the free
version of Power BI Desktop installed on your computer.
Chapter 12 delves into the integration of Python with Excel,
guiding you through the process of downloading Python for
free. All subsequent tasks and exercises within the book
are designed to be completed exclusively within Excel,
eliminating the need for external programs. However, you
will configure a few Excel add-ins as part of the process.
Technological Requirements
This book is designed for intermediate Excel users eager to
discover modern features with which they might not be
familiar. To fully benefit from it, you should already be
acquainted with the following Excel topics:
Working with absolute-, relative-, and mixed-cell
references
Building conditional logic and conditional aggregation
functions (IF() statements, SUMIF()/SUMIFS(), and so
forth)
Constant width
Used for program listings, as well as within paragraphs to
refer to program elements such as variable or function
names, databases, data types, environment variables,
statements, and keywords.
TIP
This element signifies a tip or suggestion.
NOTE
This element signifies a general note.
WARNING
This element indicates a warning or caution.
NOTE
For more than 40 years, O’Reilly Media has provided technology and
business training, knowledge, and insight to help companies succeed.
How to Contact Us
Please address comments and questions concerning this
book to the publisher:
Sebastopol, CA 95472
707-829-0104 (fax)
[email protected]
https://www.oreilly.com/about/contact.html
Acknowledgments
One of the most fascinating aspects of writing a book,
especially the acknowledgments, is that it captures a
moment in your life and highlights the people who are
significant at that time.
Many of these names can be found in the acknowledgments
to my previous book. I am especially grateful to the
acquisitions team at O’Reilly, Michelle Smith and Jon
Hassell, for giving me the green light to write another
book. My friend and fellow O’Reilly author, Tobias
Zwingmann, whose work I have mutually reviewed over the
years, provided an exceptionally helpful technical review
for this project. Additionally, my parents, Jonathan and
Angela Mount, have been unwavering in their support,
more than I could ever ask for. It’s uncertain how many
mothers wish their children to become Excel authors, but
mine has been incredibly supportive.
I also had the opportunity to deepen my acquaintance with
some individuals through this project. I extend my thanks
to Alan Murray, Joseph Stec, and Meghan Finley for their
invaluable additional technical reviews. Meghan, in
particular, has not only brought her impressive technical
editing experience to the book but has also been an
incredible support as my girlfriend throughout the writing
process. (As any author will tell you, writing a book
inevitably becomes a family affair.) Additionally, I am
grateful to Jeff Stevens, Laura Szepesi, and Mark Depow
for their feedback on the manuscript.
Moreover, I owe a debt of gratitude to the editorial team at
O’Reilly, who guided me through the extensive process of
writing a technical book. A special thanks to Sara Hunter
for being an invaluable editorial sounding board as I
embarked on writing my second book.
Lastly, I would like to express my appreciation to the entire
Excel community for being such a welcoming and inspiring
group. This spreadsheet program has opened up more
opportunities and introduced me to more incredible people
than I could have ever imagined. I hope this book
contributes in some small way to your own remarkable
journey with Excel.
Part I. Data Cleaning and
Transformation with Power
Query
Chapter 1. Tables: The
Portal to Modern Excel
Once you close the Name Manager, you’ll notice that all
references to Table1 have been automatically updated to
reflect the new name: sales.
Conclusion
This chapter has laid the groundwork for utilizing Excel
tables effectively. For an in-depth exploration of
maximizing the potential of tables, including the
application of structured references to formulate calculated
columns, refer to Excel Tables: A Complete Guide for
Creating, Using, and Automating Lists and Tables by Zack
Barresse and Kevin Jones (Holy Macro! Books, 2014).
Additionally, this chapter delved into the meticulous
organization of data, a fundamental aspect of any
successful data analysis project in Excel. Chapter 2 offers
an introduction to simplifying data transformation with
Power Query.
Exercises
To create, analyze, and manipulate data in Excel tables,
follow the exercises using the penguins dataset located in
ch_01_exercises.xlsx in the exercises\ch_01_exercises
folder in the book’s companion repository:
Extract
The initial step in ETL is to “extract” the data from an
external source. Power Query has the ability to connect to a
diverse range of data sources, extending beyond Excel
workbooks. Here are some examples of the sources it can
connect to:
Transform
The next step is to connect to this data and perform the
necessary transformations (the “T” in ETL).
Data transformation encompasses various tasks necessary
to render data usable, such as:
When you load your table into Power Query, the Power
Query Editor pops up, offering numerous options for data
cleaning and transformation. It can be quite overwhelming,
especially if you’re used to the classic Excel environment.
However, we’ll tackle this program step by step throughout
the rest of Part I.
You will learn how to perform several data cleaning tasks
later in the book. For now, a straightforward data
transformation can be achieved by adding an index column.
To do this, go to Add Column on the Power Query ribbon,
then Index Column → From 1, as shown in Figure 2-2.
Transform
The Transform tab offers additional options for data
cleaning and transformation. You’ll have the opportunity to
try many of these features in the following chapters.
Add Column
This tab is dedicated to creating new columns through a
variety of methods. In “Transform”, you used this tab to add
an index column to the data. In Chapter 4, you’ll use it to
create calculated columns.
View
The View tab customizes the display of the Power Query
Editor. To begin, click on Formula Bar in the Layout group.
This action will reveal a formula bar above your dataset,
similar to Excel, as shown in Figure 2-6.
Figure 2-6. The Power Query formula bar
NOTE
This book won’t use the formula bar in the Power Query Editor for
future demonstrations. You can hide it by unchecking Formula Bar in
the Layout group on the View tab.
WARNING
Although the Applied Steps list offers flexibility, it lacks a cherished
feature of classic Excel: the ability to undo actions. Once a step is
deleted, there is no built-in option to undo the deletion. Because most
of these steps can be easily replicated, it is often just as convenient
to manually repeat the process instead of relying on an undo button.
ebookbell.com