Power BI Cheat Sheets
Power BI Cheat Sheets
Power BI Cheat Sheets
TRACK
to
POWER BI
CHEAT SHEETS
| Leila Gharani
XelPlus.com 1
Power BI
You get to create your own reports without waiting for IT to set these
up. It’s designed for non-techies although techies love it too.
You get to be in charge and define your data preparation process, data
model and design reports.
POWER BI Mobile: Free mobile app available for iOS, Android and
Windows. Allows you to connect and interact with your cloud and on-
premises data on the go.
© 2022 XelPlus
ALL RIGHTS RESERVED 2
www.xelplus.com
Power BI Desktop: High Level Overview
1. Start by getting
data here
You can then view the data in the data tab (2) and adjust formatting,
update column categories (for example whether a column is a URL or
a geographical location) and add new columns.
You can relate the data from different sources and tables with one
another in the Model tab (3). This is where you define the
relationships between the data (if you’re using multiple tables).
© 2022 XelPlus
ALL RIGHTS RESERVED 3
www.xelplus.com
Quick Tour of Power BI Desktop
Home
AI visuals
Elements - Text box, Buttons, Shapes, Image
© 2022 XelPlus
ALL RIGHTS RESERVED 4
www.xelplus.com
Quick Tour of Power BI Desktop
Modelling
View
© 2022 XelPlus
ALL RIGHTS RESERVED 5
www.xelplus.com
Quick Tour of Power BI Desktop
© 2022 XelPlus
ALL RIGHTS RESERVED 6
www.xelplus.com
Quick Tour of Power BI Desktop
© 2022 XelPlus 7
ALL RIGHTS RESERVED
www.xelplus.com
Power BI Visuals
Canvas
Wallpaper
© 2022 XelPlus
ALL RIGHTS RESERVED 8
www.xelplus.com
Principles of Data Visualization
1 Know your audience
Who are you designing the report for?
What questions they want answered?
How proficient are they at reading complex charts?
3 Keep it simple
Declutter the visuals, remove any unnecessary elements, stick to
a simple color scheme that isn’t distracting.
4 Make it clear
Make sure your data tells a clear story, and is easy to interpret.
5 Stay consistent
Use the same color for the same series throughout the report.
Use consistent abbreviations and labels.
© 2022 XelPlus
ALL RIGHTS RESERVED 9
www.xelplus.com
Power BI Visualizations
Comparison
Part-to-whole
Pie & donut charts
Treemap
100% stacked column/bar
Spatial
Map, Filled Map,
Shape Map, Azure Map
Correlation
Scatter plot
Key influencers
Combo chart
© 2022 XelPlus 10
ALL RIGHTS RESERVED
www.xelplus.com
Visuals / Filtering
Visuals interact with each other – you can filter or cross-
highlight a visual by making a selection on another visual.
Cross-filtered
Cross-
highlighted
Selection
© 2022 XelPlus
ALL RIGHTS RESERVED 11
www.xelplus.com
Filters Pane
Using the filter pane to the right of
the canvas, you can apply filters on:
- Selected visual (visual level filter)
- All visuals on the current page
(page level filter)
- All visuals on all pages of the
report (if more than 1) (report
level filter).
© 2022 XelPlus
ALL RIGHTS RESERVED 12
www.xelplus.com
Slicers
Slicers are visuals that allow you to filter other visuals.
They are more interactive than the Filter pane, as they are part
of the report.
Dropdown
© 2022 XelPlus
ALL RIGHTS RESERVED 13
www.xelplus.com
Slicer Selection & Sync
When formatting slicers, you have several options regarding Selection.
The default is to enable Multi-select with Ctrl. If you disable it, you will
be able to multi-select without pressing the Ctrl key. You can also
enable “Select all” option, which will be added to the slicer.
If you enable Single select, one value always must be selected. The
default behavior of a multi-select slicer is that no selection is the same
as all selected. With Single select we can’t have all selected, so a
selection is required.
© 2022 XelPlus
ALL RIGHTS RESERVED 14
www.xelplus.com
Edit interactions
Power BI visuals are highly interactive, selecting a datapoint in one
visual filters out other visuals.
You can control the way visuals interact with each other.
Select a visual, go to Format, and toggle on Edit interactions.
A new set of header icons will appear next to the unselected visuals.
You can disable the interaction completely, or you can change the
behavior from cross-filtering to cross-highlighting (only for some
visuals) or vice versa. Once done, toggle Edit interactions off.
Cross-highlight on
Cross-filter off
Cross-filter on
Cross-filter on
Cross-filter off
© 2022 XelPlus
ALL RIGHTS RESERVED 15
www.xelplus.com
Drill down Hierarchy
Power BI supports Hierarchies. Some are generated automatically,
like the Date Hierarchy, when the Auto Date/Time setting is on.
Some can be created, either by dragging and dropping multiple fields
to the category well of a visual, or by creating an official hierarchy in
the data model.
Once a Hierarchy is added to a visual, you can drill down and up, to
explore each Hierarchy level. An additional set of icon headers
becomes available.
© 2022 XelPlus
ALL RIGHTS RESERVED 16
www.xelplus.com
Drill down
You can also access drilling options from the ribbon – whenever a
visual with hierarchy is selected, the contextual Data Drill menu
becomes available. From there, you can drill down into all hierarchical
visuals on the page with a single click.
© 2022 XelPlus
ALL RIGHTS RESERVED 17
www.xelplus.com
AI visuals
Power BI analysis is supported by artificial intelligence capabilities.
That includes AI visuals that automatically generate insights from your
data.
Q&A - allows you to ask natural language questions about your data
and generates a “standard” visual based on your request. It analyzes
your question, chooses a suitable visual type and applies the relevant
filters.
Convert to
standard visual
Teach Q&A*
© 2022 XelPlus
ALL RIGHTS RESERVED 18
www.xelplus.com
AI visuals
You’ll find another example of Power BI’s AI capabilities when you
right-click on a datapoint in a line or bar/column chart. It’s called
Analyze. It analyzes fluctuations between data points and looks for
patterns in your data that can explain it.
© 2022 XelPlus
ALL RIGHTS RESERVED 19
www.xelplus.com
Ribbon chart
Ribbon charts are great at visualizing rank changes. They are
similar to a stacked column chart, but the highest value is
always displayed on top for each time period and we see the
connecting ribbons.
Since the ribbon chart doesn’t have y-axis labels, make sure
data labels are on.
© 2022 XelPlus
ALL RIGHTS RESERVED 20
www.xelplus.com
Analytics pane
You can enhance some of the visuals (in particular line and
column/bar charts) with an additional analytical layer.
The third icon on the Visualizations pane represents Analytics and
allows you to add more information to your charts, like a trend line,
average or median line, error bars, forecast, or a constant line, useful
if you have a static target.
© 2022 XelPlus
ALL RIGHTS RESERVED 21
www.xelplus.com
Conditional Formatting
When you go to formatting, you may notice some of the options
have an fx button. This means you can apply conditional
formatting to them. And there are many types and many uses for
conditional formatting in Power BI.
You can also have the report page tooltip appear over a specific field
whenever used in a visual. You set it up from the Visualization pane
on the tooltip page. © 2022 XelPlus
ALL RIGHTS RESERVED 23
www.xelplus.com
Navigation
You can improve user experience of your report by adding app-like
navigation buttons, connected to report pages. They allow users to
effortlessly move around the report, and also serve as a “table of
contents” (make sure your page names are informative).
© 2022 XelPlus
ALL RIGHTS RESERVED 24
www.xelplus.com
Power Query
© 2022 XelPlus
ALL RIGHTS RESERVED 25
www.xelplus.com
Import – Direct Query – Live Connection
© 2022 XelPlus 26
ALL RIGHTS RESERVED
www.xelplus.com
Quick Tour of Power Query Editor
Power Query comes with a user-friendly graphical interface.
Remove other
columns Sort and filter
Append
or merge
Rename
the query
On the Home tab you’ll find some of the most common transformations.
👁 TIP: You’ll also find the common transformations when you right mouse
click on a column.
© 2022 XelPlus 27
ALL RIGHTS RESERVED
www.xelplus.com
Append
A B C
1 1 1 A B C D
2 2 2 1 1 1 null
3 3 3 2 2 2 null
3 3 3 null
4 4 null 4
A B D 5 5 null 5
4 4 4
5 5 5
Merge
A B C
aa bb 1
ab ba 2
ad be 3 A B C D E
aa bb 1 dd ee
ab ba 2 de ed
D E F
ad be 3 da eb
dd ee 1
de ed 2
da eb 3
Unpivot
BC Attributes Values
bc A1 V1
bc A1 V4
BC A1 A2 A3 bc A1 V7
bc V1 V2 V3 bc A2 V2
bc V4 V5 V6 bc A2 V5
bc V7 V8 V9 bc A2 V8
bc A3 V3
bc A3 V6
bc A3 V9
© 2022 XelPlus
ALL RIGHTS RESERVED 28
www.xelplus.com
Data Model
© 2022 XelPlus
ALL RIGHTS RESERVED 29
www.xelplus.com
Proper Data Set
© 2022 XelPlus
ALL RIGHTS RESERVED 30
www.xelplus.com
DAX
Data Analysis Expressions (DAX) is a collection of functions you can
use in the data model. It’s a formula language that was designed for
working with relational data both in Power BI and Excel Power Pivot.
RELATED – used when you need to retrieve a value from a specific row
in a related table, a bit like VLOOKUP. Returns a corresponding value
from the “one” side of the relationship to the “many” side.
Total Cost = SUMX ( Sales, Sales[Quantity] * RELATED('Product'[Cost]) )
© 2022 XelPlus
ALL RIGHTS RESERVED 32
www.xelplus.com
Calendar Table - The Rules
Minimum requirement is a table with a single column
containing a unique list of dates.
If you have Date & Time in one column in the fact table,
split them into two separate columns with corresponding
data types.
© 2022 XelPlus
ALL RIGHTS RESERVED 33
www.xelplus.com
CALCULATE function
CALCULATE is one of the most powerful functions in DAX. It allows you
to change the filter context*.
But it is not evaluated in this order. The initial expression (e.g. Total Sales)
is only calculated once the filters are applied – first the surrounding filters
coming from the report page, then the filter(s) specified in the
CALCULATE function (e.g. innovative products).
When the external and internal filters come into conflict when filtering
the same field, the internal filter of CALCULATE overrides the external
one, and only then returns the result of the expression.
* FILTER CONTEXT are all the filters applied to the data model before
a DAX expression is evaluated. This includes external filters, coming
from slicers, filter pane, cross-filtering visuals, as well as any category
breakdowns used in visuals (rows and columns of a matrix or series of
a chart). *
© 2022 XelPlus
34
ALL RIGHTS RESERVED
www.xelplus.com
Power BI Service
POWER BI Service (app.powerbi.com) is the online platform
where you can store your reports, create dashboards, and
securely share them. It requires sign in with a work or school
email address. It’s available for free, but full collaboration
and sharing is only possible with a paid license.
You can create reports directly in the Service, but you are
limited to a few source types that don’t require modelling, like
an existing dataset.
© 2022 XelPlus
*RLS = row-level security
ALL RIGHTS RESERVED 35
www.xelplus.com
Quick Tour of Power BI Service
© 2022 XelPlus
ALL RIGHTS RESERVED 36
www.xelplus.com
Dataset
© 2022 XelPlus
ALL RIGHTS RESERVED 37
www.xelplus.com
Report vs Dashboard
In Power BI you can create reports and dashboards.
Sometimes you’ll find people referring to the reports created
in Power BI Desktop as dashboards, but in fact, Power BI
dashboards are their own distinct thing.
Reports Dashboards
✓ created in Desktop or Service ✓ created in Power BI Service
✓ can be multi-page, allow for ✓ single page only, overview
more detail highlighting key metrics
✓ can be used to create multiple ✓ can display visualizations from
dashboards many different reports
✓ can be created using data ✓ can include tiles with data
from one dataset only from many datasets
✓ no alerts ✓ set conditional email alerts
✓ fully interactive ✓ not interactive (unless a whole
report page pinned)
© 2022 XelPlus
ALL RIGHTS RESERVED 38
www.xelplus.com
Designing for Mobile
You can limit the number visuals for the mobile layout,
and streamline them. For example, you can overlay one visual
over the other, like a card inside (under) a donut chart, to save
space.
Any formatting changes you apply in the mobile layout won’t
affect the primary view. You have 2 design options for the
same visual, depending on the layout.
© 2022 XelPlus
ALL RIGHTS RESERVED 39
www.xelplus.com
Licensing & Sharing
Power BI Desktop can be downloaded for free.
You can publish to the Power BI Service for free (with a free account),
but in order to share your reports, you need a paid license (Pro or
Premium per User). In order to access reports created by others, you
also need a paid license, or your organization needs to have a Premium
per Capacity subscription and the report needs to be published to a
Premium workspace.
Model size limit Model size limit Model size limit Model size limit
1 GB, 1 GB, 100 GB, 400 GB,
Maximum storage Maximum storage Maximum storage Maximum storage
10 GB, 10 GB, 100 TB, 100 TB,
Refresh rate Refresh rate Refresh rate Refresh rate
8/day 8/day 48/day 48/day
© 2022 XelPlus
ALL RIGHTS RESERVED 40
www.xelplus.com
Licensing & Sharing
Report developers in
organizations with Premium
per Capacity subscriptions
require a named Pro license to
publish and share reports.
© 2022 XelPlus
ALL RIGHTS RESERVED 41
www.xelplus.com
Workspace Roles
Workspaces are places to collaborate with colleagues and create
collections of dashboards, reports, datasets, and paginated reports.
You can control access to a workspace (and the content they contain)
by assigning workspace roles.
© 2022 XelPlus
ALL RIGHTS RESERVED 42
www.xelplus.com
Dataset Permissions
If you don’t want to give users rights to the
entire workspace, only to a specific dataset or
report, then you control access by Managing
Permissions.
Read
Write
Reshare
Build
© 2022 XelPlus
ALL RIGHTS RESERVED 43
www.xelplus.com
Sharing Reports
You can also share reports without sharing the underlying dataset.
You do that either from Manage Permissions, or with the Share
button, by unchecking the build permissions to the dataset.
© 2022 XelPlus
ALL RIGHTS RESERVED 44
www.xelplus.com
Refresh & Dataset Settings
© 2022 XelPlus
ALL RIGHTS RESERVED 45
www.xelplus.com
Power BI & Excel
You can analyze a Power BI dataset in Excel.
There are 2 ways of going about it:
2 Start in Excel:
Insert > PivotTable > From Power BI
or Data > Get Data > From Power
2
Platform > From Power BI.
Considerations
47
More Learning…
Our courses to help you succeed at work:
https://www.xelplus.com/courses/
You’ll find detailed blog posts and articles related to Excel and
PowerPoint on my Website at www.XelPlus.com
48