Introduction To Power BI Slide Deck
Introduction To Power BI Slide Deck
Manuel Quintana
Manuel Quintana
Problem Solution
I need to build a
quick prototype to
greater understand
my BI needs
Personal BI
Which Level of BI Do I Need?
Problem Solution
My data sources
have integrity and
consistency issues
Corporate BI
Which Level of BI Do I Need?
Problem Solution
The scope of my
departments BI
solution requires us
to work together
Team BI
Which Level of BI Do I Need?
Problem Solution
I have a question
about my data, but
I don’t want to
involve IT
Personal BI
What is Power BI?
The Parts of Power BI
Power BI
Terms to Know
Self-Service An approach to business intelligence that enables business users to access and
Business Intelligence work with company data without involving the IT department
A stand-alone data modeling and visualization tool that allows users to model and
Power BI Desktop transform their data so it can be used to build calculations and interactive reports
A cloud subscription service which serves as an online portal to design, view, and
Power BI Service interact with Power BI Reports, Datasets, and Dashboards
A mobile app which allows users to view and interact with dashboards and reports
Power BI Mobile anytime, anywhere via iOS, Android, and Windows devices
How Power BI Tools Fit Together
Updated frequently
Overview of Power BI Desktop
Demonstration
When Do I Engage IT?
Access
Read access is required for all necessary
data sources
Scalability
When you need your solution to scale to a
large user base
Let’s Review
Navigating the Power BI Desktop
When to engage IT
Load
Load the data directly into the model
Transform Data
Perform data transformations as necessary
Sorting
Sort Ascending/ Descending
Sort By Other Columns
Filtering
Filter by Individual or Multiple Values
Both Filtering & Sorting operate just like Excel
GUI Driven Transforms
Function
Recognizes patterns in sample
results and writes transforms for
you based on data
Append Queries
Append query results (Rows) of one table to another
Merge Queries
Joins query results (Columns) of one table to another
From Folder
Merges multiple files within a folder into one query
Append Queries
Append Queries
Adds the rows of one table, to
the bottom of another table
Append Options
Append Two Tables or Three
or more Tables
Output results as a new query
or append to existing query
Appending Queries
Demonstration
Let’s Review
Combine Data Options
Appending Queries
Transforming Data with Power BI Desktop
Types of Joins | Merging Queries
Merge Queries
Merge Queries
Adds columns from one table to
another table
Types of Joins
Just Like SQL Joins:
Left Outer
Right Outer
Full Outer
Inner Join
Left Anti
Right Anti
Key Transformations
Transpose Pivot Column Unpivot Columns
▪ The values in [Color] column are ▪ The unpivoted column headers become
converted to headers the column [Attribute]
▪ The values in the [Value] column are filled ▪ The unpivoted values become the column
in where applicable [Value]
Merging Queries
Transforming Data with Power BI Desktop
From Folder (Combine Binaries)
From Folder
From Folder
Data source option which allows the
combining of files within a folder
Automatic Logic
Transforms are automatically
applied across all files
M Query
‘M’ is used for data transformations
▪ Syntax: ▪ #date(2016,01,01)
▪ let in each #date([Year],[Month],[Day])
▪ Objects: ▪ if then else ▪ #datetime(2016,02,26, 09,15,00)
▪ true false error ▪ #time(09,15,00)
▪ and or not ▪ #datetimezone(2013,02,26, 09,15,00,
▪ Actions (Camel Case): 09,00)
▪ try otherwise
▪ #table({"X","Y"},{{0,1},{1,0}})
▪ as is meta section shared type
▪ #duration(0,1,30,0)
▪ #binary #infinity #nan #sections
#shared
Key Punctuation
▪ [Column] - To reference a Column
M is CaSe SeNsItIvE!
Basics of ‘M’
Demonstration
Taking a look at M
In Expression / Output
Let’s Review
What is ‘M’
Function Library
‘#shared’ returns a library of all available
‘M’ Functions, what they do, & an
accompanying example
Parameters
Make queries and data source
connections dynamic
Parameterizing a filter
Parameterizing a connection
Creating a template
M Query
Editing ‘M’ | Creating Parameters in ‘M’| ‘M’ Query Scenarios
Editing ‘M’ Query
// or */
‘M’ Query Parameters
(name) =>
Creating Parameters in ‘M’
Demonstration
Let’s Review
Parameters in ‘M’
Query Dependencies
Shows the lineage of your queries
Grouping
A simple way to organize queries
Usability Features
Demonstration
DirectQuery / Live Connection
DirectQuery
Always see a live version of your data –data
is never imported
Allows you to visualize very large datasets
that cannot be imported
Requires an Enterprise Data Gateway to
send data to the Power BI Service
Live Connection
Same concept but specifically with SSAS
models (both Tabular & Multidimensional)
Making a DirectQuery Connection
Demonstration
Let’s Review
How Query Dependencies works
Data Model
Semantic Layer used for Power BI Reports
Star Schema
The simplest style of data mart schema
Consists of one or more fact tables referencing any
number of dimension tables
Snowflake Schema
Extension of a Star Schema
Adds additional dimensions, usually representing
hierarchies
Normalization
Normalized Model
More tables & relationships with fewer columns
Reduces redundancy and inconsistency
Maintains Integrity of the data
Optimizes disk space
Best for increasing the speed and quality of transactional
data processes
Denormalization
Denormalized Model
Fewer tables with more columns and/or records
Adds redundancy
May not retain integrity of data
Uses more disk space
Best for increasing the speed of data search and
analysis
Data Modeling Engine
Performance
Uses In-Memory technology that
provides unmatched speed and
performance
Short Development Cycles
Quick and easy to create solutions
End User Capable
Uses query language called DAX that is
similar to Excel formulas
The xVelocity Engine
Schemas
Natural Hierarchies
Year → Quarter → Month
Country → Region → City Q1 CA Q2 TX Q3 FL Q4
Faster Reporting
JanSF Feb Oak
Mar Apr
LA May Hou
Jun Jul
Aus Aug Jax
Sep Oct
Orl Nov Mia
Dec
Drag and Drop Interactivity
Help Users Navigate Large Datasets Rolling
up / Drilling down
Creating a Data Model
Demonstration
Let’s Review
Creating Relationships in Power BI
Usability Enhancements
Creating Hierarchies
Formatting
Determines appropriate display of value
Currency, Date Time, Text, Percentage, etc.
Default Summarization
Automatic aggregation of numeric columns
Data Category
Provides more specific context for data
City, State, Image URL, Barcode, etc.
Grouping and Binning
Grouping
Allows you to create logical groups of
data in your model
Binning
Groups a metric value into equal
buckets or bins
Useful for visualizing data in a
histogram
Model Enhancements
Demonstration
Let’s Review
Formatting values appropriately
Feature
Allows you to see “What If” you had taken
a different approach
Result can be used in other Measures
Calculated Tables
Create a new table derived from another table
Can be used to create a date table when one doesn’t exist already
Calculated Measures
Create Dynamic Calculations for Reporting
Handling Complex Relationships (Role-Playing)
Time Intelligence
Calculated Columns
Creating Calculated Columns
New column defined by a DAX expression
Results viewable immediately on home table
once defined
Data Types
Whole Number Text
Decimal Number Date
Currency Binary
True/False
Functions for String Manipulation
Formatting Trimming
FORMAT LEFT
Concatenating RIGHT
CONCATENATE TRIM
Casing Searching
LOWER SEARCH
UPPER FIND
Splitting Replacing
REPLACE
MID
SUBSTITUTE
Conditional & Logical Functions
Navigation Functions
RELATED
Returns a value from a
connected table
RELATEDTABLE
Returns a table from a
connected table
Implicit Measures
Default/automatic aggregation that occurs on
numeric data
Explicit Measures
A user defined measure created by writing a
DAX formula
Plan It Out!
Best Practices and Tips: Less is More
Best Practices and Tips: 5 Second Rule
5 Second Rule
Test Report Effectiveness
Choosing Colors
http://www.colourlovers.com/
http://www.colorblender.com/
http://colorschemedesigner.com/
http://www.colorotate.org/
http://kuler.adobe.com/
And many more…
Best Practices and Tips: Color and Shape
When to Use
Good for displaying a metric with visible
disparity across a limited number of categories
Especially when comparing parts of a whole
When to Avoid
When values are very similar
When comparing many categories
Better Alternatives
Bar and Column Charts
Best Practices and Tips: 3D Charts
Bar Charts
Best at Comparing Categories of Data
Use this Instead of Pie or Donuts Charts
Line Charts
Best at Showing Trends in Data
Chart Creation
Select Data Fields
Change Visualization Type
Using View Filters
Filters Pane
A Collapsible Pane that Controls Filtering
on a Power BI Report
Filters Scope
Allows Filtering Entire Page, Just One
Visualization, or Entire Report
Filter Control
Can determine the visibility and control of
the filters pane allowed to your end users
Basic Reports
Creating Bar and Line Charts | Using Filters
Let’s Review
Demonstration of Creating a Basic Visuals
Cascading Slicers
Filters Secondary Slicers to Only
Show Related Rows
Using Slicers
Demonstration
Let’s Review
Understand what Slicers are
Understand the types of Slicers available
Demonstrate how Slicers Function
Creating Interactive Reports
Working with Tabular Data | Table, Matrix, & Card
Working with Tabular Data
Display Methods
Table
Matrix
Card
Multi-Row Card
Table Formatting
Alternating Row
Special Color Formatting
Working with Tabular Data
Demonstration
Let’s Review
How to use the Table
Best Practices
Remember data visualization best practices
Just because it’s an option doesn’t mean it’s
the best option!
Visualizing Categorical Data
Demonstration
Let’s Review
Using Bar Charts
Common Visuals
Line
Area
Stacked Area
Ribbon Chart
Waterfall
Visualizing Trends
Typically makes sense to have some
element of time to the visual.
Visualizing Data Trends
Demonstration
Let’s Review
Using Line Charts
Types of Visuals
Gauge
KPI
Fields Needed
Value - The metric you are tracking
Target - The metric goal
Visualizing Goal Tracking
Demonstration
Let’s Review
Using the Gauge
Extend Power BI
Easily add custom visuals into Power BI
Developed by the community and Microsoft
Easily consumed through Power BI Desktop
Drillthrough
Go from one report to a more detailed report
Bookmarks
Save a snapshot view of your report
Selection Pane
Show/hide visuals in your report
Spotlight
Put emphasis on or highlight one visual above all others
End to End Storytelling Report
Demonstration
Let’s Review
Configuring a Drillthrough report
Implementing Bookmarks
Leveraging the Selection Pane to hide visuals
Showing emphasis on a visual with Spotlight
Creating Interactive Reports
Additional Features
Additional Features
Grouping Visuals
Add visuals to groups just like in PowerPoint
Filter & Display Options
In/Exclude, Top N, Advanced Filtering
Report Page Tooltip
Use a report page as a custom tooltip
Performance Analyzer
Baked in analysis for visual/data performance
Decomposition Tree
See data across multiple dimensions
Additional Features
Demonstration
Let’s Review
Report Page Tooltip Top N Filtering
App Workspaces
A container in which datasets, reports, and
dashboards are stored
Limitations
App Workspaces are only available with
Power BI Pro
Roles for Workspaces
https://docs.microsoft.com/en-
us/power-bi/service-new-
workspaces
Creating an App Workspace
Demonstration
Let’s Review
Create an App Workspace
Various Roles
User Experience
Ask questions of your data
Power BI Q&A will return the
answer
Results
Pin the results to your dashboard
Working with Q&A
Demonstration
Let’s Review
Use Q&A
Limitations
Only Member and Admin roles can
Publish and Update Apps
Publishing an App
Demonstration
Let’s Review
Publish an App
Consume an App
Using the Power BI Service
Subscriptions and Alerts
Subscriptions and Alerts
Subscriptions
Email yourself a snapshot view of Reports or
Dashboards whenever data is updated
Alerts
Allows you to be notified when a metric goes
above or below a specified valued
Setting up Alerts
Using the Power BI Service
Excel Integration
Excel Integration
Analyze in Excel
Build Excel PivotTables on top of your Power
BI data models.
Requires a driver download.
Options
Publish to Web
Website or portal
Power BI Embedded
Embed in SharePoint
Export to PowerPoint
Download .PBIX
Export and Embed Options
Demonstration
Let’s Review
Exporting to PowerPoint
Data Refresh
The process of updating the
published dataset with the most
current data
On-Premises Dataset
The owner of the dataset through a scheduled refresh
Manually with the ‘Refresh Now’ menu item
Modes
Personal
Enterprise
Gateway & Refresh
Limitations
Limited to only Power BI
Does not work with LogicApps, PowerApps, or Microsoft Flow
Does not work with DirectQuery or Live Connection
Limited to single user
On-Premises Data Gateway (Enterprise)
Enterprise benefits
Multiple users can share and reuse a gateway in this
mode
Easier to make administrative and configuration changes
Can be used for Power BI, PowerApps, Microsoft Flow,
or Logic Apps
Supports Scheduled refresh, DirectQuery, and Live
Connections
Installing the Data Gateway
Demonstration
Let’s Review
Installing the Data Gateway
On a long flight
Before bed
Common scenarios