PowerBI Tutorial
(Jack Hyman)
Get the book –
- Amazon: https://www.amazon.com/Microsoft-Power-Dummies-Jack-Hyman/dp/1119824877
- Wiley: https://www.wiley.com/en-us/Microsoft+Power+BI+For+Dummies-p-9781119824893
Part 0: Introduction
0.0 Preface
What does Business Intelligence (BI) require?
Basic: querying data sources, reporting, caching data, and visualizing data
If you had to address your organization’s needs, what would they do?
Would taking structured, unstructured, and semistructured data and making sense of it be part of your organizational requirements?
Perhaps developing robust business analytics outputs for executive consumption?
Brief history of Power BI
Power BI was initially conceived as part of the SQL Server Reporting Team back in 2010.
Then, Power BI made its way into the Office 365 suite in September 2013 as an advanced analytics product.
Power BI was built around Microsoft Excel core add-ins: Power Query, Power Pivot, and Power View.
Along the way, Microsoft added a few artificial intelligence features, such as the Q&A Engine, enterprise-level data connectors, and security options via the Power BI Gateway.
0.1 About this Book
Target Audience
What will be learnt from here?
Developers who want to find tips, tricks and techniques from Power BI (or beyond) especially DAX area
IT Professionals that can treat this as a starting point if you want to enter the world of Microsoft enterprise business intelligence
Managers or Executives to get understand of the Power BI product which help your to bring guidelines for business intelligence requirements to the team
0.2 Foolish Assumptions
Have already downloaded a copy of Power BI Desktop
Have at least signed up for a Power BI Free Services account, but preferably have a Power BI Pro account
Have access to the Internet
Have a meaningful dataset
0.3 Icons Used in This Book: Tip, Remember, Technical Stuff, On the Way, Warning
0.4 Beyond the Book
Power BI for Dummies Cheat Sheet
Another cheat sheet: https://www.dummies.com/article/technology/information-technology/data-science/general-data-science/microsoft-power-bi-for-dummies-cheat-sheet-289744/
Sample Dataset
Part 1: Put Your BI Thinking Caps On
Learning Outcomes:
- Get introduced to the types of data used in enterprise BI solutions
- Identify the roles, responsibilities, and products produced by BI professionals
- Discover the licensing options and core features available with Power BI
CH01 A Crash Course in Data Analytics Terms: Power BI Styles
Chapter Learning Outcomes:
- Figuring out the different types of data Power BI can handle
- Understanding your options for business intelligence tooling
- Familiarizing yourself with Power BI terminology
01.0 Preface
Dealing with data isn’t always a chore (苦差事) – data be be fund to explore as well
01.1 What is Data, Really?
Data contains facts. Sometimes, the facts make sense; sometimes, they’re meaningless unless you add a bit of context.
Information is the collective body of all the data parts, that results in the factoids making logical sense
01.1.1 Working with Structured Data
(see:)
Structured data conforms to a tabular format, meaning that each column and row must maintain an interrelationship.
In Power BI, the structured data conform to a formal specification of tables with rows and columns, commonly referred to as adata schema.
Microsoft SQL Server
Microsoft Azure SQL Server
Microsoft Access
Azure Table Storage
Oracle
IBM DB2
MySQL
PostgreSQL
Microsoft Excel
Google Sheets
01.1.2 Looking at Unstructured Data
(see:)
Video, audio, photo, or text file is considered unstructured data
01.1.3 Adding Semistructured Data to the Mix
(see:)
Nonrelational data system or NoSQL databases are best associated with semistructured data.
If the serialized language can communicate and speak the same language, a semistructured dataset has great potential
01.2 Looking Under the Power BI Hood (引擎罩, 兜帽)
Power BI is a product that brings together many smaller, cloud-based apps and services with a specific objective: to organize, collect, manage, and analyze big datasets.
(see:01.2.1 Posing Questions with Power Query)
(see:01.2.2 Modeling with Power Pivot)
(see:01.2.3 Visualizing with Power View)
(see:01.2.4 Mapping Data with Power Map)
Power Q&A: an artificial intelligence engine that allows you to ask questions and receive responses using plain language
(see:01.2.5 Interpreting Data with Power Q&A)
Power BI Desktop: a free, all-in-one solution that brings together all the apps described in this list into a single graphical user interface
(see:01.2.6 Power BI Desktop)
Power BI Services: a cloud-based user experience to collaborate and distribute products such as reports with others
(see:01.2.7 Power BI Services)
Big Data is a concept where the buisness and data analyst will evaluate extremely large datasets, which may reveal patterns and trends relating to human behaviors and interactions not easily identifiable without the use of specific tools.
01.2.1 Posing Questions with Power Query
Before Power BI became its own product line, it was originally an advanced query and data manipulation add-in for Excel, circa (大约) 2010
One of the justifications for the switch to a dedicated product was the need for a more robust query editor.
With the Excel editor, it was a single data source
With Power BI’s Power Query, you can extract data from numerous data sources, and also capable to extract data from unstructured, semistructured, or application sources
Power Query provides pretty common procedure
It transforms the data you specify by adding columns, rows, data types, date and time, text fields, and appropriate operators.
01.2.2 Modeling with Power Pivot
With Power Pivot, you can create models such as start schema, calculated measures, and columns and build complex diagrams.
Power Pivot leverages a programming language called the “Data Analysis eXpression Language - or DAX”
01.2.3 Visualizing with Power View
It’s Power BI’s visualization engine.
Power View gives users the ability to filter data for individual variables or an entire report
01.2.4 Mapping Data with Power Map
A user can highlight data using geocoordinate (地理坐标) latitude (纬度) and longitudinal (经度) data as granular (精细) as an address or as global as a country
01.2.5 Interpreting Data with Power Q&A
It’s a natural language engine, providing a way to interpret text, numbers, and even speech so that users can query the data model directly
Power Q&A works directly in conjunction with Power View
01.2.6 Power BI Desktop
Using Power BI Desktop, user can complete all business intelligence activities under a single umbrella.
Microsoft updates Power BI Desktop features monthly.
01.2.7 Power BI Services
Name changed from “Power BI Website”, “Power BI Online” to “Power BI Services”
It functions as the Software as a Service companion to Power BI
01.3 Knowing Your Power BI Terminology
01.3.1 Capacities
Capacities are the sum total of resources needed in order for you to complete any project you may create in Power BI.
Resources include the storage, processor, and memory required to host and deliver the Power BI projects
Two types of capacity in Power BI
Shared Capacity
Dedicated Capacity
01.3.2 Workspaces
a means of collaborating and sharing content with colleagues
Any workspace is created on capacities
Adataflow is a collection of tables that collects the datasets imported into Power BI.
Power BI uses an Azure data lake, a way to store the extremely large volumes of data necessary for Power BI to evaluate, process, and analyze data rapidly.
Adataset is a single asset in your collection of data sources
If want to share a dataset, a Pro or Premium license is required
01.3.3 Reports
Power BI Reports translates the data into one or more pages for visualizations
Two Report view modes
Reading View
Editing View
01.3.4 Dashboards
The Power BI dashboard, also knows as Canvas, brings your data story to life
The dashboard represents the large dataset that you feel covers your topic at a glance
Every dashboard represents a customized view of an underlying dataset
A minimum Power BI Pro license is required if you want to share a dashboard with a colleague
01.3.5 Navigation Pane
Use to complete actions to locate and move between a workspace and the various Power BI capabilities - dashboards, reports, workbooks, datasets - whatever
01.4 Business Intelligent (BI): The Definition
Business Intelligence is what businesses use in order to be in a position where they can analyze current as well as historical data.
Throughout the process of data analysis, the hope is that an organization will be able to uncover the insights needed to make the right decisions for the business’ future.
2. Analyze data to discover trends
3. Use visualization options in order to provide data clarity
4. Taking action and making decisions
CH02 The Who, How, and What of Power BI
02.1 Highlighting the Who of Power BI
02.2 Understanding How Data Comes to Life
02.3 Examining the Various Types of Data Analytics
02.4 Taking a Look at the Big Picture
CH03 Oh, the Choices: Power BI Versions
03.1 Why Power BI versus Excel?
03.2 Power BI Products in a Nutshell
03.3 Examining the Details of the Licensing Options
03.4 On the Road with Power BI Mobile
03.5 Working with Power BI Report Server
03.6 Linking Power BI and Azure
CH04 Power BI: The Highlights
04.1 Power BI Desktop: A Top-Down View
04.2 Services: Far and Wide
Part 2: It’s Time to Have a Data Party
CH05 Preparing Data Sources
05.1 Getting Data from the Source
05.2 Managing Data Source Settings
05.3 Working with Shared versus Local Datasets
05.4 Storage Modes
05.5 Considering the Query
05.6 Exporting Power BI Desktop Files and Leveraging XMLA
CH06 Getting Data from Dynamic Sources
06.1 Getting Data from Microsoft-Based File Systems
06.2 Working with Relational Data Sources
06.3 Importing Data from a Non-relational Data Source
06.4 Importing JSON File Data into Power BI
06.5 Importing Data from Online Sources
06.6 Creating Data Source Combos
06.7 Dealing with Modes for Dynamic Data
06.8 Fixing Data Import Errors
07.1 Engaging Your Detective Skills to Hunt Down Automalies and Inconsistencies
07.2 Stepping through the Data Lifecycle
07.4 Tweaking Power Query’s M Code
07.5 Configuring Queries for Data Loading
07.6 Resolving Errors During Data Import
Part 3: The Art and Science of Power BI
CH08 Crafting the Data Model
08.1 An Introduction to Data Models
08.2 Dealing with Table and Column Properties
08.3 Managing Cardinality and Direction
08.4 Data Granularity
CH09 Designing and Deploying Data Models
09.1 Creating a Data Model Masterpiece
09.2 Managing Relationships
09.3 Arranging Data
09.4 Working with Extended Data Models
09.5 Publishing Data Models
CH10 Perfecting the Data Model
10.1 Matching Queries with Capacity
CH11 Visualizing Data
11.1 Looking at Report Fundamentals and Visualizations
11.2 Dealing with Table-Based and Complex Visualizations
11.3 Dabbling in Data Science
11.4 Questions and Answers
CH12 Pumping Out Reports
12.2 Filtering and Sorting
12.3 Configuring the Report Page
12.4 Refreshing Data
CH13 Diving into Dashboarding
13.1 Configuring Dashboards
13.2 Creating a New Dashboard
13.3 Enriching Your Dashboard with Content
13.4 Pinning Reports
13.5 Customizing with Themes
13.6 Working with Dashboard Layouts
13.7 Integrating Q&A
13.8 Setting Alerts
Part 4: Oh, No! There’s a Power BI Programming Language!
CH14 Digging Into DAX
14.1 Discovering DAX
14.2 Dealing with Data Types
14.3 Operating with Operators
14.4 Making a Statement
14.5 Ensuring Compatibility
CH15 Fun with DAX Functions
15.1 Working with DAX Parameters and Naming Conventions
CH16 Digging Deeper into DAX
16.1 Working with Variables
16.3 Best Practices for DAX Coding and Debugging in Power BI
CH17 Sharing and the Power BI Workspace
17.1 Working Together in a Workspace
17.2 Creating and Configuring Apps
17.3 Slicing and Dicing Data
17.4 Troubleshooting the Use of Data Lineage
17.5 Datasets, Dataflows, and Lineage
17.6 Defending Your Data Turf
Part 5: Enhancing Your Power BI Experience
CH18 Making Your Data Shine
18.1 Establishing a Schecule
18.2 Protecting the Data Fortress
18.3 Sharing the Data Love
18.4 Refreshing Data in Baby Steps
18.5 Treating Data Like Gold
18.6 Configuring for Big Data
CH19 Extending the Power BI Experience
19.2 Powering Up with Power Apps
19.3 Integrating OneDrive and Power BI
19.4 Collaboration, SharePoint, and Power BI
19.5 Automating Workflows with Power BI
19.6 Unleashing Dynamics 365 for Data Analytics
Part 6: The Part of Tens
CH20 Two Ways to Optimize DAX Using Power BI
20.01 Focusing on Logic
20.03 Keeping the Structure Simple (KISS)
20.04 Staying Clear of Certain Functions
20.05 Making Your Measures Meaningful
20.06 Filtering with a Purpose
20.08 Playing Hide-and-Seek with Your Columns
20.09 Using All Those Fabulous Functions
20.10 Rinse, Repeat, Recycle
CH21 Ten Ways to Make Compelling Reports Accessible and User-Friendly
21.01 Navigating the Keyboard
21.02 Having a Screen Reader As Your Companion
21.03 Standing Out with Contract
21.04 Recognizing Size Matters (with Focus Mode)
21.05 Switching between Data Tables and Visualizations
21.07 Setting Rank and Tab Order
21.08 It’s All About Titles and Labels
21.09 Leaving Your Markets
21.10 Keeping with a Theme
Microsoft Certification
Power BI Data Analyst Associate
Skilles
Design a Data Model in Power BI
Add Measures to Power BI Desktop Models
Design Power BI Reports
Enhance Power BI Report Designs for the User Experience
Create and Manage Workspaces in Power BI
Manage Datasets in Power BI
Learning Resource
1. Get Started with Microsoft Data Analytics
2. Prepare Data for Analysis with Power BI
3. Model Data with Power BI
4. Build Power BI Visuals and Reports
5. Manage Workspaces and Datasets in Power BI