Power BI Bible
Power BI Bible
Power BI Bible
Bible
Transforming Insights with Power
BI’s Magic; Learn the Secrets of
Data Visualization and Analysis
Carnon J. Martinez
Copyright © 2023 Carnon J. Martinez
All Rights Reserved
This book or parts thereof may not be reproduced in
any form, stored in any retrieval system, or
transmitted in any form by any means—electronic,
mechanical, photocopy, recording, or otherwise—
without prior written permission of the publisher,
except as provided by United States of America
copyright law and fair use.
Disclaimer and Terms of Use
The author and publisher of this book and the
accompanying materials have used their best efforts
in preparing this book. The author and publisher
make no representation or warranties with respect to
the accuracy, applicability, fitness, or completeness
of the contents of this book. The information
contained in this book is strictly for informational
purposes. Therefore, if you wish to apply the ideas
contained in this book, you are taking full
responsibility for your actions.
Printed in the United States of America
TABLE OF CONTENTS
TABLE OF CONTENTS
CHAPTER 1
INTRO TO POWER BI
What Is Power BI?
Power BI Components
Power BI Desktop
Its components
The Power BI Service
The Power Platform
How Did We Get to Power BI?
SQL Server: Microsoft’s Relational Database
SQL Server Analysis Services Multidimensional: One Small Step into BI
SQL Server Reporting Services: Pixel-Perfect Reporting, Automated Reports,
and More
Excel: A Self-Service BI Tool
Power Pivot
Important New Functionality That Leads to Power BI
Power BI Desktop is born
Power BI Desktop under the Hood
VertiPaq: The Storage Engine
DAX: The Formula Engine
What Makes Power BI Different from Its Competitors?
Conclusion
CHAPTER 2
THE REPORT AND DATA VIEWS
Use the ribbon in Power BI Desktop
Report View: Home Section of the Ribbon
The Clipboard Subsection
The Data Subsection
The Queries Subsection
The Insert Subsection
The Calculation Subsection
Report View: The Insert Tab
The Pages Subsection
The Visuals Subsection
The AI Visuals Subsection
The Power Platform Subsection
The Elements Subsection
Report View: The Modeling Tab
The Relationships Subsection
The Calculations Subsection
The Page Refresh Subsection
The Security Subsection
The Q&A Subsection
Report View: The View Tab
The Themes Subsection
The Scale to Fit Subsection
The Page Options Subsection
The Show Panes Subsection
Report View: Help Section
Report View: External Tools Section
The Pane Interface of the Report View
Visualizations Pane
Fields and Filters Panes
A Quick Rundown of the Other Panes
Data View
Conclusion
CHAPTER 3
IMPORTING AND MODELING OUR DATA
Getting Our Data
Importing the Data
The Power Query Ribbon
The Home Tab
Transform Tab
The Add Column Tab
The Model-View
What Is a Relationship?
Types of Relationships in Power BI
Creating and Managing Relationships in Power BI
Benefits and Applications of Relationships in Power BI
The Properties Pane
Conclusion
CHAPTER 4
LET’S MAKE SOME PICTURES (VISUALIZING DATA 101)
Why Visualize Data?
The Visualizations pane
Fields
Format
Analytics
Visual Interactivity
Enable the visual interaction controls
Change the interaction behavior
Column and Bar Charts
Stacked Bar and Column Charts
Clustered Bar and Column Charts
100% Stacked Bar and Column Charts
Small Multiples
Waterfall Chart
Benefits of Using Waterfall Charts in Power BI
Creating a Waterfall Chart in Power BI
Line and area charts.
Line Chart
Creating a Line Chart
Area Chart
Stacked Area Chart
Line and Stacked Column Chart/Clustered Column Chart
Ribbon Chart
Donuts, dots, and maps.
Funnel Chart
Scatter Chart
Pie and Donut Chart
Treemap
Map Visuals
The “Flat Visuals”
Gauge
Card/Multi-Row Card
KPI
Table/Matrix
Slicer
Conclusion
CHAPTER 5
AGGREGATIONS, MEASURES, AND DAX
A Primer on the DAX Language
Measures
Calculated Columns
Calculated Tables
Types of Functions
Aggregations, More than Some Sums
Sum
Average
Minimum and Maximum
Standard Deviation, Variance, and Median
Standard Deviation
Variance
Median
Count and Count (Distinct)
First, Last, Earliest, and Latest
Measures and DAX Fundamentals
Implicit and Explicit Measures
Implicit Measures
Characteristics of Implicit Measures in Power BI
Applications of Implicit Measures in Power BI
Explicit Measures
Characteristics of Explicit Measures in Power BI
Applications of Explicit Measures in Power BI
DAX Syntax Fundamentals
CALCULATE
Examples of CALCULATE Function Usage
We Heard You like DAX, So We Put Some DAX in Your DAX
Nested DAX Functions
Examples of Nested DAX Expressions
Row and Filter Context
Row Context
Filter Context
Interaction between Row and Filter Context
One Final DAX Example
Conclusion
CHAPTER 6
PUTTING THE PUZZLE PIECES TOGETHER: FROM RAW DATA TO REPORT
Your First Data Import
Choose and Transform the Data When You Import
Consolidating Tables with Append
Considerations for Consolidating Tables with Append
Using Merge to Get Columns from Other Tables
Building Relationships
Autodetect during load
Create a relationship with Autodetect
Create a relationship manually
Edit a relationship
Editing relationships using different methods
Important
Configure more options
Cardinality
Cross filter direction
Make this relationship active
Understanding additional options
Automatic relationship updates
Identifying Our Relationship Columns
Time to Get Building
Let’s Get Reporting
We Need a Name...
Cards Help Identify Important Data Points
Bars, Columns, and Lines
Conclusion
CHAPTER 7
ADVANCED REPORTING TOPICS IN POWER BI
AI-Powered Visuals
Key Influencers
Using the Key Influencers Visual in Power BI
LET’S WORK WITH AN EXAMPLE.
Decomposition Tree
Key Benefits of the Decomposition Tree
Using the Decomposition Tree Visual in Power BI
Q&A
Smart Narrative
What-If Analysis
Benefits of What-If Analysis in Power BI
Techniques for What-If Analysis in Power BI
Best Practices for What-If Analysis in Power BI
Parameter Setup
DAX Integration of the Parameter
Parameter Modification
R and Python Integration
Benefits of R and Python Integration
Practical Applications
Limitations of Using R and Python
Enabling R and Python for Power BI
R and Python in Power Query
R and Python Visuals
Conclusion
CHAPTER 8
INTRODUCTION TO THE POWER BI SERVICE
The Basics of the Service: What You Need to Know
The Navigation Menu
Home and Browse
Create
Data Hub
Settings
Metrics
Apps
Deployment Pipelines
Learn
Publishing Your Work
What Is a Workspace?
My Workspace
Shared Capacity Workspaces
Dataflows in Shared Workspaces
Putting Your Data in Front of Others
Adding Users to a Workspace
Sharing via a Link or Teams
Sharing via a Link
Sharing via Teams
Sharing via SharePoint
Creating an App
Conclusion
CHAPTER 9
LICENSING AND DEPLOYMENT TIPS
Licensing
Power BI service licenses
Free per-user license
Pro license
Premium per user (PPU) license
Premium capacity
Workspace and App Management
Workspace Generation and Access Control
Managing Users in a Workspace
Remove a user or change their role in a workspace.
Adding Users to Roles for RLS Implementation
The Golden Dataset(s)
On-Premises vs. Cloud Deployment for Power BI
On-Premises Deployment
Cloud Deployment
Scaling Power BI Deployments for Enterprise Use
Best Practices for Power BI Deployment
Troubleshooting Licensing Issues in Power BI
Common Licensing Issues
Troubleshooting Licensing Issues
Tips for Optimizing Power BI License Costs
Conclusion
CHAPTER 10
THIRD-PARTY TOOLS
Get to Know Business Ops
Add External Tools, Remove External Tools, and Modify Display Order
Learning, Theme Generation, Visual Generation
Additional DAX Resources
DAX Studio
What can you do with DAX Studio in Power BI?
Download, Install, and Setup DAX Studio Power BI
DAX Studio UI Basics
Metadata Panel
The Ribbon
Query Pane
Output Pane
How to Write Queries in DAX Studio?
Tabular Editor
Creating Roles
Table and Measure Management
The ALM Toolkit for Power BI
Bravo
Analyze Model
DAX Formatting
Manage Dates
Export Data
Understanding Bravo's Data Export Options
Preparing Data in Bravo
Exporting Data from Bravo
Conclusion
Commonly Used DAX Expressions
Aggregation Functions
Date and Time Functions
Time Intelligence Functions
Filter Functions
Logical Functions
DAX Operators
Some Favorite Custom Visuals
SandDance
Smart Filter Pro
Chiclet Slicer
Timeline Storyteller
Synoptic Panel
Word Cloud
Card with States
Radar Chart
Hexbin Scatterplot
Hierarchy Slicer
Gantt chart by MAQ Software
Bullet chart
Sunburst Chart
Conclusion
INDEX
CHAPTER 1
INTRO TO POWER BI
What Is Power BI?
Imagine for a moment that you are a data analyst working in the
hectic atmosphere of a large corporation. Because you are
continually flooded with a vast volume of data coming from a variety
of sources, it can be difficult to glean significant insights from the
data and present them in a way that is both clear and succinct.
However, there is a solution that can completely transform your data
analysis experience, and that solution is called Power BI. You will
have the ability to transform raw data into visually engaging reports
and interactive dashboards with the help of the sophisticated
technology known as Power BI. You can simply connect to many
data sources thanks to its intuitive interface, regardless of whether
those data sources are spreadsheets, databases, or cloud services
where the data is kept. Excel, SharePoint, and SQL Server are
examples of well-known tools that can be easily integrated with
Power BI. This integration makes data retrieval and aggregation a
snap.
After your data has been connected, Power BI gives you the ability
to manipulate it and model it following your requirements. To build a
foundation for your study that is both structured and well-organized,
you can easily combine tables, define associations between various
datasets, and run calculations. You can acquire deeper insights
because of its flexible data modeling capabilities, which enable you
to explore the hidden patterns and correlations included within your
data. But the real power of Power BI rests in the features it offers for
visualizing data. The days of using boring spreadsheets and
unchanging charts are long gone. Power BI provides users with
access to a comprehensive collection of dynamic visualizations,
including bar charts, line graphs, maps, and gauges. Stunning
visualizations that bring your data to life can be crafted quickly and
easily by dragging and dropping data fields onto a canvas. These
aesthetically beautiful and interactive reports let you deliver
complicated information straightforwardly and engagingly, which
enables stakeholders to understand insights at a glance and
improves your ability to communicate effectively. Power BI is not only
about how it looks; it is built on a powerful and efficient engine that
can handle massive datasets with surprising speed and agility. Your
reports will always be up to date thanks to real-time updates and the
ability to refresh data, which will also provide you with the most
recent information to help you make decisions promptly.
To acquire a more in-depth comprehension of your data, you can
obtain new insights by using the advanced analytics tools of Power
BI. These features allow you to discover patterns, locate data
anomalies, and carry out complex calculations. You can simply share
your reports and dashboards with coworkers, allowing them to
examine the data, ask questions, and offer their insights.
Collaboration is another feature of Power BI. The collaboration tools
offered by Power BI allows for seamless teamwork, which in turn
helps to cultivate a culture of data-driven decision-making throughout
your firm. Lastly, Power BI is the most reliable partner you could ask
for in the field of data analysis. It gives you the ability to connect,
model, display, and share your data in ways that were previously
impossible to conceive of. You'll be able to turn raw data into insights
that can be put into action with Power BI, which will help your
business make more informed decisions and accelerate its path to
success. Consequently, if you want to realize the full potential of your
efforts to analyze data, you should leverage the power of Power BI.
Power BI Components
Users are now able to produce and use reports based on your data
with the help of a wide selection of products that together make up
Power BI today.
The following is a list of all the components that are included in
the Microsoft Power BI family of products, as provided by
Microsoft:
● Power BI Desktop
● Power BI service
● Power BI Mobile
● Power BI Report Builder
● Power BI Report Server on-premises
● Power BI Embedded
● Power BI Desktop: This is a Windows application that acts as
the primary development tool for the creation and design of
interactive reports and dashboards. Power BI Desktop was
developed by Microsoft. It provides a broad selection of data
connecting options, data transformation capabilities, modeling
tools, and visualization capabilities, among other things. Users of
Power BI Desktop can develop aesthetically attractive reports and
dashboards, as well as create complicated data models,
implement custom calculations with DAX (Data Analysis
Expressions), and more. When it comes to authoring and revising
Power BI content before uploading it to the Power BI Service, this
is the tool that everyone uses.
● Power BI Service: Microsoft's Power BI Service is a web-based
platform that is also known as Power BI Online and Power BI
Cloud. It is offered by Microsoft. Users are granted the ability to
publish, share, and collaborate on Power BI reports and
dashboards through the use of this feature. Users can store and
manage their data securely in the cloud using Power BI Service.
Users are also able to generate data-driven alerts, schedule data
refreshes, and access reports and dashboards from any location
using a web browser or the Power BI mobile app. It offers extra
features such as the capacity for content sharing and
collaboration, in addition to powerful analytics capabilities.
● Power BI Mobile: This is a collection of mobile applications that
can be downloaded on Apple and Google-based mobile devices
respectively. It gives users the ability to access and interact with
Power BI dashboards and reports when they are on the move.
The mobile apps deliver an experience that is responsive and
optimized, enabling users to access and explore data, receive
data-driven notifications, and maintain a connection with the data
insights of their company even when they are away from their
desks. Enhancing portability and adaptability in data consumption,
Power BI Mobile assures users that they will always have access
to their most important data, regardless of where they are.
● Power BI Report Builder: This is a standalone product that
enables users to generate paginated reports in Power BI.
Invoices, statements, and operational reports are examples of the
kinds of traditional and fixed-layout reporting demands that often
call for the employment of these reports. Table-based layouts,
flexible formatting options, and complex parameters are some of
the capabilities that are included in Power BI Report Builder's
extensive feature set, which can be used for designing and
authoring pixel-perfect reports. It is especially helpful for
businesses that largely rely on structured reports that are printed
out and require exact control over the report's style and content.
● Power BI Report Server (on-premises): Power BI Report
Server is a reporting solution that allows businesses to host,
manage, and distribute Power BI reports within their
infrastructure. It is an on-premises version of the Power BI Report
Server. It ensures compliance with regulatory standards our data
governance policies by providing a method to store sensitive data
and reports on local servers. The Power BI Report Server
provides functionality that is analogous to that of the Power BI
Service. These capabilities include interactive reports, the
refreshing of data, and the secure sharing of information inside an
organization's network.
● Power BI Embedded: This is a service that is geared toward
developers and allows Power BI reports and dashboards to be
embedded directly into other applications or websites. End users
will have access to real-time analytics and interactive reports
without having to leave the context of their primary application
thanks to this feature, which enables developers to integrate
Power BI's extensive data visualization capabilities into their apps
in a seamless manner. Power BI Embedded is frequently utilized
by software manufacturers, SaaS providers, and businesses who
wish to give embedded analytics to either their external clients or
their employees.
These Power BI components cater to various areas of data analysis,
reporting, and visualization. As a result, Power BI offers a
comprehensive array of tools and services to address a wide variety
of business objectives and scenarios.
Power BI Desktop
In the data-driven world of today, companies in a wide variety of
fields are struggling to make sense of massive amounts of data. The
ability to draw meaningful conclusions from this data has become
necessary to make intelligent business decisions. Users are given
the ability to connect, transform, and efficiently visualize data
through the utilization of Microsoft's Power BI Desktop, which is a
highly effective business intelligence application.
Power BI Desktop allows for seamless integration to a wide variety
of data sources, such as databases, spreadsheets, web sources,
and cloud services. Because of its extensive data connectivity,
customers can extract data from a wide variety of platforms,
including SQL Server, Excel, SharePoint, Salesforce, Azure, and
many others. The capability to merge data from several sources
makes the process of data integration simpler. As a result, users can
obtain a more comprehensive perspective of the information of their
firm. Once you have it linked, Power BI Desktop gives you access to
a wide variety of features for transforming and modeling data. Users
have the option of using an intuitive user interface or the more
complex Power Query Editor to clean, reformats, and alters their
data. Users of Power Query can execute data cleaning activities
such as removing duplicates, filtering rows, and combining
databases using the software. Data modeling is another feature that
is supported by Power BI Desktop. This feature enables users to
construct relationships between tables, generate calculated columns
and measures, and apply business rules to improve data analysis.
The capacity of Power BI Desktop to generate data representations
that are both interactive and aesthetically pleasing is one of its most
notable advantages. Charts, graphs, tables, maps, and personalized
visualizations are just some of the options for data visualization that
can be generated by the program. Users can quickly construct
engaging reports and dashboards by dragging and dropping fields
onto the canvas and customizing the associated visual
characteristics. Users can show data in a manner that is both
meaningful and entertaining because Power BI Desktop provides a
broad variety of formatting options, animations, and interactive
features.
Power BI Desktop goes beyond traditional methods of data
visualization by providing tools for more advanced analysis. It is
compatible with the data analysis and modeling tools developed by
Microsoft, such as the DAX (Data Analysis Expressions) and R
scripting languages. Users can make use of these functionalities to
build prediction models, perform complicated calculations, and
create sophisticated metrics. The Q&A feature of Power BI Desktop
allows users to ask questions about their data and obtain fast
insights. This is made possible by the fact that Power BI Desktop
supports natural language queries.
Power BI Desktop makes it easier for individuals, groups, and
organizations to work together and share insights gained from data.
Users can publish their reports and dashboards to either the Power
BI service or SharePoint, making them available to stakeholders
located around the enterprise. The Power BI service is hosted in the
cloud and offers real-time data refreshment and sharing capabilities.
These features make it possible for users to work together and make
decisions based on the collected data. In addition, Power BI
Desktop files (.pbix) can be readily shared with other users and
viewed by them, which ensures that working together on analysis
and reporting is a smooth process. It is crucial to be able to obtain
data insights while on the move in today's world, which is dominated
by mobile devices. Users can view and interact with reports and
dashboards on their mobile devices such as smartphones and
tablets thanks to the Power BI Desktop application's seamless
integration with the Power BI mobile app. This flexibility across
platforms ensures that users can access key data insights whenever
and wherever they need them, regardless of the device they use or
the operating system they employ.
Its components
The Power BI Desktop application consists of its very unique
components. The Power BI canvas and Power Query are the two
features that are going to receive the majority of our attention
because of how vital they are to someone just starting with Power BI.
The canvas in Power BI is where you construct your visualizations
using the software. Imagine the canvas as a slide in PowerPoint that
has all of your data. To explore your data and get new insights, this
section will guide you through the process of dragging and dropping
information into various types of visualizations. You'll also be able to
add photos and text boxes here, format the visuals, and perform a
variety of other tasks here.
Importing data and then manipulating it through the use of Power
Query is the essence of data modeling. In Power BI, in contrast to
Microsoft Excel, for example, you do not edit individual data cells;
rather, you alter entire columns of data by making use of the
program's built-in functions, wizards, and formulas. Power Query
gives you the flexibility to construct individualized columns based on
the rules that you choose. It gives you the ability to combine
numerous data tables into one, as well as add values from one table
to another.
Getting data from your sources is the starting point for everything in
Power Query, and Power Query supports a very large number of
different sources of data. You'd like to establish a connection to a
database, right? SQL? Oracle? Teradata? You have nothing to worry
about using Power Query. You want to obtain a table by establishing
a connection to an Excel worksheet, right? No issue. Comma-
separated values (CSV)? Easy. Cloud sources? Also not an issue.
Power Pivot
PowerPivot was first made available by Microsoft in the year 2010.
After some time, the name PowerPivot was changed to include a
space between the two words, making it two words long and
conforming it to the naming conventions of the other products in the
new Power BI suite of tools. Power Pivot was initially developed as
an add-on for Excel. It enabled end users to collect data from a wide
variety of sources and then store that data in a relational online
analytical processing (ROLAP) model within the worksheet. Power
Query was included in the installation of Power Pivot. Data
manipulation through the use of the M programming language is
made possible through the Power Query tool, which is an in-engine
extract, transform, and load (ETL) tool. Power Pivot is a powerful
data modeling and analysis feature that is available in Microsoft
Excel and Power BI. It enables users to create advanced data
models by importing and linking large volumes of data from a variety
of sources. Users can also perform complex calculations and
analyses by making use of the Data Analysis Expressions (DAX)
language. Power Pivot is available in both of these applications.
The following are some of the most important characteristics of
Power Pivot:
Conclusion
The journey through various aspects of Power BI and related
technologies has shed light on the remarkable features and
capabilities that make Power BI a standout choice in the realm of
business intelligence and data visualization. From its integration with
the Microsoft ecosystem to its user-friendly interface, Power BI offers
a seamless and familiar experience for users.
Its broad connectivity options enable users to bring data from diverse
sources, empowering comprehensive analysis and reporting. When
considering the evolution of Power BI, it is evident that it has been
shaped by Microsoft's commitment to providing powerful tools for
data analysis and visualization. From its origins in SQL Server and
Excel to the development of Power Pivot and Power Query,
Microsoft has continually refined and expanded the capabilities of
Power BI to meet the evolving needs of users.
Overall, Power BI offers a comprehensive and powerful solution for
organizations seeking to unlock the value of their data. Its integration
with the Microsoft ecosystem, user-friendly interface, extensive
connectivity options, advanced modeling and analysis capabilities,
collaboration features, and enterprise-grade security combine to
provide a unique and compelling offering in the business intelligence
landscape. With Power BI, organizations can derive meaningful
insights, make informed decisions, and drive success in today's
data-driven world.
CHAPTER 2
THE REPORT AND DATA VIEWS
If you have any experience with Power BI, you are aware of how
simple it is to generate reports that provide various views and
insights into the data you have. Power BI Desktop, which is also
available, has a more extensive set of functionality. Using Power BI
Desktop, you can design sophisticated queries, combine data from
many different sources, establish relationships across tables, and do
much more.
Power BI Desktop includes a Report view," in which users can
generate an unlimited number of report pages that include visuals.
The editing view of the report in the Power BI service is quite similar
to the experience provided by the report view in the Power BI
Desktop application. You can relocate visualizations, copy and paste
them, combine them, and do many other operations. You will be able
to work with your queries and model your data using Power BI
Desktop. This will allow you to ensure that your data will offer the
greatest insights possible in your reports. After that, you will have the
option to store your Power BI Desktop file either on your local disk or
in the cloud, depending on your preference.
When you load data for the first time in Power BI Desktop, the
Report view will appear before you. It will include a blank canvas and
links that will assist you in adding data to your report.
Use the ribbon in Power BI Desktop
The advantages of using the ribbon are designed to make the
experience of using Power BI Desktop as well as other Microsoft
applications simple.
These benefits can be grouped into the following categories:
● Search bar - The ribbon has a search experience that is
comparable to the search that is offered in other Microsoft
applications. Power BI will provide recommendations for
activities to take depending on the current condition of your
report whenever you pick the search box. While you are typing,
the search results will automatically change, and buttons will
appear to give assistance or guide you to the next step.
● Improved look, feel, and organization - Icons and
functionality in the updated Power BI Desktop ribbon are
aligned to the look, feel, and organization of ribbon items found
in Office applications.
You can find the options for the Report Page Navigation towards
the bottom of the page. You can navigate between the worksheets in
Excel in a manner very similar to how you would navigate through
the worksheets in a report by either clicking on specific report pages
or using the arrows to scroll through the list of pages, depending on
how long your report is. The view selector, which consists of three
icons, can now be found on the left side of the screen. Report, Data,
and Model are the views in ascending sequence from the top of the
page to the bottom. The various views each have their unique
versions of the ribbon menu. The Home tab is the starting point for
the default view when using the ribbon interface, as can be seen in
the figure below. There are some different names for the Home tab,
some of which include Home view, Home ribbon, and Home section.
From this point on, I'll call its components (Home, Insert, and
Modeling) as tabs.
When you choose the SQL Server button from the toolbar, a pop-up
box will display, allowing you to input the server's name or location,
as well as an optional database name. When you attempt to connect
to the server, it will inquire about your credentials.
You will also have the option to pick DirectQuery or Import when you
get to this page. When you switch to the Import mode, the data will
be downloaded into your local data model. When the DirectQuery
option is selected, Power BI will construct queries to run against the
database and then, after the results of those queries are obtained, it
will execute whatever processing is necessary with the data.
There is also a button labeled "Advanced options". This button
gives you the ability to specify a command timeout in minutes, pass
a custom SQL statement, include relationship columns, browse
using complete hierarchies, and enable SQL Server failover support.
All of these features can be accessed by clicking the button.
When you click the "Enter data" button, you will be presented with
an interface that, if you are acquainted with Excel, should seem
rather natural to you. This is because the button creates a structure
that resembles a table, into which you can insert columns, give those
names, and enter data into cells. It is essential to take note that this
user interface does not include a feature for formulas. It's only for
entering basic data into a system. You can also copy and paste
information into this window, but you should exercise caution before
going copy-paste crazy. This window can be helpful for testing, or if
you want to construct a lookup table for your model. You can
accomplish any of those things here. However, because this kind of
table structure can only store a maximum of 3,000 cells' worth of
data and requires manual management, it is not a good idea to put
big quantities of data in it. I strongly advise against doing so.
You can do two different things with the "Transform data" option
depending on whether you select the icon or the drop-down arrow. If
you click on the icon, you will be taken directly to the interface for
Power Query. Here, you can utilize an intuitive user interface to carry
out a variety of data manipulation operations including filtering,
sorting, merging, appending, and altering data.
If you click on the arrow that point downward, you will bring up a
menu with many different options as it drops down. When you click
"Data source settings," a pop-up window will appear that allows
you to alter various parameters, such as credentials or the locations
of files and other similar options. If you have parameters and
variables, you can also change them in this section.
Once your picture is uploaded and placed on the report page, you
will see that it, along with every other item that can be found in the
Elements part of the ribbon, has its unique formatting window that
appears on the right side of the page when it is chosen. You can
change the size of the shape in the report, just like the size of any
other Power BI element, by clicking and dragging the box to the
appropriate size. This works for all Power BI components.
When all of the panes are shown to their full extent, as you can see,
they do not leave you with a lot of real estate to work with. However,
only the Visualization and Fields windows are consistently shown at
any one time. In addition, the Filters pane is distinct from the other
panes in that it is not as detached from the canvas as the other
panes are. This is because the Filters pane determines how things
on the canvas behave.
Visualizations Pane
You can choose visualizations to add to a report, add columns and
measures to show in those visualizations in the Values tab, and do
other tasks in the Visualizations pane.
First, let's look over the list of visuals. The visuals are listed in
order from left to right, top to bottom:
● Stacked bar chart
● Stacked column chart
● Clustered bar chart
● Clustered column chart
● 100% stacked bar chart
● 100% stacked column chart
● Line chart
● Area chart
● Stacked area chart
● Line and stacked column chart
● Line and clustered column chart
● Ribbon chart
● Waterfall chart
● Funnel chart
● Scatter chart
● Pie chart
● Donut chart
● Treemap
● Map
● Filled map
● Shape map
● Azure map
● Gauge
● Card
● Multi-row card
● KPI
● Slicer
● Table
● Matrix
● R script visual
● Python script visual
● Key influencers
● Decomposition tree
● Q&A
● Smart narrative
● Paginated report
● ArcGIS Maps for Power BI
● Power Apps for Power BI
● Power Automate for Power BI
That's a lot of visuals right first, and it can be overwhelming.
However, it is not as horrible as it seems, and some of those things
may be things that you never use anyhow. Be aware that if you have
any custom visuals or imported visuals in your Power BI report, they
will display under this list, above the Fields and Format buttons. Two
buttons can be found in the space between the visualization list and
the Values part. The Fields section can be found on the left, while
the Formatting section can be found on the right. Since they accept a
variety of criteria, the subsections of each visual will each seem
somewhat different. There is a possibility that a column chart and a
line chart may seem comparable to one another; nonetheless, both
types of charts are going to have different regions in which fields can
be placed.
Similarly, the Format pane is going to contain a varied set of settings
depending on the visual. This is because every visual has something
distinct that has to be formatted. Despite this, there are a few things
that remain the same. You'll also notice that when you have a visual
chosen, a third option will show up in this section as well. This is
something that you should keep in mind. That's the button for
Analytics. It is essential to have a solid understanding of the fact that
this feature is only applicable to the visualizations that come pre-
installed with Power BI, and even then, it is not accessible for every
single visual. You can, however, do things like establish trend lines,
constant lines, averages, and so forth. The most essential thing to
remember about this part is that you should not be afraid to
experiment with the plethora of different options that are at your
disposal. If you aren't sure what to do, you can always let Power BI
handle everything for you by using its default settings. The Format
and Analytics subsections provide you with the capabilities you'll
need when you're ready to take a little bit more control over your
report.
The "Drill through" portion is the last part of the visualization
window that can be accessed. You can quickly develop a story with
data that enables users to find specific examples that are relevant to
their analysis thanks to this powerful feature, which enables you to
drill down from one subsection of your report to another while
keeping all of the data elements filtered as you had them previously.
Fields and Filters Panes
A list of all the tables, columns, and measures that are included in
your report can be seen in the Fields pane. In addition to that, it will
include any folders that you can establish in addition to any
hierarchies or groups that you might build in your data model. Simply
clicking and dragging the column or measure to the right location in
the Visualizations pane or onto the visual itself on the canvas is all
that is required to include these components in your existing visuals.
You can also tick the option to tell Power BI to move the item into the
visualization of your choice when you click it. Or, if you don't have
visualization already, Power BI will generate one for you and add it to
the canvas along with the data element you choose. When you right-
click on a table inside your model, you will be presented with a
context list that has options for adding a new measure, a new
calculated column, a new fast measure, refreshing the data,
modifying the query for that table within Power Query, and other
options.
If you right-click on a column in this section, you will be presented
with a context list that allows you to add the column to your canvas,
create a hierarchy beginning with that column, add a new measure
or column, add the column to your filters list, or add it to the drill
through option. If you do not want that particular data piece to be
utilized at that moment, you will also have the option to conceal it
from view. There are three subsections in the Filters pane. You have
probably previously used filters, but in case you haven't, a filter is a
function that establishes a condition for the data to be presented.
This condition must be met for the data to be displayed. For
instance, if I have a filter for an age bracket and pick the grouping
from 12 to 18 years old, then all of the data that I see will be related
to that age range. Every other piece of data would be disregarded.
When you have a certain visual chosen, the Filters pane will
provide you the option to apply filters to that particular visual
when you make that selection.
● “Filters on this page” filters all visuals on that specific
report page.
● “Filters on all pages” sets a filter condition for the entire
report.
Any fields that are included inside a visual will, by default, also be
shown in the Filters pane under the part titled "Filters on this visual"
and can be interacted with in that area. In the Filters pane, you can
configure three different kinds of common filters, each of which has a
unique function. The fundamental filtering presents all the possible
values for the specified column and enables you to choose any
number of those values to have their status changed to "true." It's not
hard to understand at all.
The sophisticated filtering provides you with the ability to
combine two distinct and one-of-a-kind criteria, each of which
has logic associated with it depending on the kind of data that
the column represents:
● Contains (text)
● Does not contain (text)
● Starts with (text)
● Does not start with (text)
● Is (all)
● Is not (all)
● Is blank (all)
● Is not blank (all)
● Is empty (text)
● Is not empty (text)
● Is after (date)
● Is on or after (date)
● Is before (date)
● Is on or before (date)
● Is less than (number)
● Is less than or equal to (number)
● Is greater than (number)
● Is greater than or equal to (number)
Even though the majority of these criteria are self-explanatory, it is
essential to keep in mind that you are the one who must enter the
value into the subsection. This is in contrast to the standard filtering
option, which presents you with a list of possible values to choose
from. After that, you can build an “and/or” condition by selecting the
button, and you can also establish a second logic set. To make
advantage of sophisticated filtering, it is not necessary to set a
second logic condition. A Top N–type filter is the third sort of
common filter that is used. You can specify the number of top or
bottom values that you want to show by a specific value in your
model that may or may not be in that visual. You can do this by
clicking on the "Settings" button. An excellent illustration of this
would be to look at your top 10 sales customers ranked according to
state, nation, revenue, or volume can decide how many of the field's
values to show as well as whether the visual should show the
highest or lowest values for that particular field. When filtering for a
whole page or report, you will see that the Top N option is not
accessible. Only when used at the visual level is the Top N filtering
method effective. Dates also contain two other sorts of filters that
can be used, which are called relative date and relative time,
respectively. Only in cases when the date field also contains a time
component will the relative time be shown. These filter options
provide you the ability to define precise periods for a visual or the
report, such as the most recent 10 days, the next week, or the most
recent year. The use of hours and minutes in conjunction with
relative time gives you the ability to delve into this level of detail.
A Quick Rundown of the Other Panes
You will not see the first four panes by default; however, you can
make them visible by selecting the View tab, and they will display in
the order that you add them. These panels are the Bookmarks pane,
the Selection pane, the Performance Analyzer pane, and the
Sync Slicers pane.
You can preserve filters, drills, and any other criteria that you can set
for a particular report page by using the Bookmarks window. This
saves the page so that you can return to it later. Let's imagine, for
example, that we have a sample of our report page that displays all
of the data; however, we would want it to be possible for end users
to rapidly convert the report to a certain filtered view. To change the
page's conditions from one state to another, we can utilize
bookmarks. You can easily modify the visibility of items in the report
as well as the stacking order of those elements thanks to the
Selection pane. Suppose you have a logo that you want to always
display in a certain spot on the report.
However, when you add visuals to the canvas, the logo gets covered
up by the box associated with the visual, even if the section of the
box that is overlying the logo is blank. You will need to move the logo
to the forefront to correct it, and you can do so and change the
layering order of the whole document from inside this panel. You can
also group things so that they can be handled and moved as a unit.
When you are ready, the Performance analyzer will guide you
through the process of troubleshooting the reasons why anything in
a report could be taking longer to show than you believe it should or
why it loads more slowly than it did in the past. You can obtain
information on how many milliseconds it took to build the DAX query,
visualize the results, and other elements by using the Performance
analyzer. This includes the DAX that Power BI created to create the
visual. When you have some DAX knowledge under your belt, it can
be helpful to know the entire filter and row contexts to understand
how Power BI develops the proper code to power the visualization.
This is because machine-generated DAX isn't always the simplest to
learn from as a novice. In a similar vein, if your report is experiencing
problems, you can try out various settings to see if they affect the
report's performance and whether or not it improves.
The "Sync slicers" pane is the last pane. When you add slicer
visuals to a report, the visuals will only work on that particular page
of the report. You can, however, choose a slicer, add it to additional
pages, and sync them using the "Sync slicers" window. This will
ensure that any changes made to the slicer on one page will be
reflected on all of the other sites where it is used. When someone is
looking at the data and they discover, for instance, a certain firm that
they want to zero down on, this can be quite helpful for exploratory
research. If they set that filter in one section of the report, then the
slicer decision that they make there will be carried over to all of the
other pages in the report that also contain that slicer. You even have
the power to declare that the synchronization should take place on
Page A, but not on Page B, for example.
Data View
You will be able to see the data at the table level inside your report
by using the Data view. Instead of displaying the columns in your
report in alphabetical order, it will show them in the order that the
columns appear in the report. The order in which the columns are
found in the data source is referred to as the ordinal order. In our
example, the ordinal order refers to the order in which the columns
show in Power Query before being imported into our data model. To
begin, you will see that there are two new areas of the ribbon that
you can interact with. When you have a table or column chosen in
the Fields pane, the "Table Tools" tab of the ribbon will become
visible on the ribbon. When a certain column is chosen, and only
then, will the "Column tools" tab become visible. These tabs
consider context in every way.
You can alter the table name, designate it as a date table, or see our
relationships in this area in the same manner that we did from the
ribbon. The Table Tools subsection can be found under the Tools
menu. In addition, we provide a variety of mathematical methods for
the creation of tables and measures. There isn't a whole lot here
that's new, and you can also find this view in the Report view if you
have a table or column chosen. The "Mark as date table" feature is
the only item that is distinctive about this platform and warrants
discussion. Power BI will automatically generate, behind the scenes,
a date table for each occurrence of a date field in your data model.
This table will include all of the dates that fall between the first and
final date associated with that field. It accomplishes this so that,
behind the scenes, it can put together functionality for the date
hierarchy as well as some other essential tasks.
In a model of this scale, this is not a significant issue at all. On the
other hand, if you start working with huge models that include
dozens or even hundreds of hidden date tables, the size of your
model can begin to expand extremely rapidly. You can avoid going
through this step altogether with Power BI by configuring your model
to include a date table that will fulfill this function for all of the other
dates. As can be seen in the picture that follows, the "Column tools"
tab is visible to me whenever I have a column selected for editing.
I can see the name of the column as well as the data type it contains
if I start on the left. In this particular instance, I'm inspecting the Date
column, and the data type that it employs, which is simply referred
to as Date, is distinct from the Date/Time data type. When the data is
presented in a visual, I can choose how I want it to be formatted.
Since it is a date, I can use a drop-down menu to access a selection
of different possibilities. When I pick a column that contains
numbers, I have the option to display the value in a variety of
formats, including money, a decimal number, a whole number, a
percentage, or scientific notation. If you choose the General option,
the default setting will be the way the data model stores the
information. Because the data that was chosen in the picture that
was just shown is not of the numeric data type, the options to choose
the currency, percentage, display commas in numbers, and set the
number of decimal places for a value are all disabled and shown as
grayed-out text.
Next, inside the section titled "Properties," you will find a section
where you can configure the settings of that column, including its
default summarization and how Power BI should classify the data.
By default, non-numeric columns are not summarized. You can,
however, establish a default summary for any column or count or
count (distinct) you choose. The sum operation is used as the default
summary for numerical columns; however, this is not necessarily the
most appropriate choice. The total, the average, the minimum, the
maximum, the count, and the count (distinct) are the default
possibilities for summarization. If you want a certain column to not
have any default summarizing, you can always set that column to
"Don't summarize."
A summary of the circumstances surrounding the data in question
can be found under the Data category. The majority of columns do
not have any data categories assigned to them; hence they are left
uncategorized by default. When it comes to numbers, there aren't a
whole lot of possibilities, unless you want a numerical value to be
recognized as something else entirely, like a barcode value or a
postal code, for example. There are no options available for data
categories when dealing with dates. When dealing with data
represented as text, however, having the necessary settings chosen
for the relevant columns can make the process of working with that
data considerably simpler in some visualization. The following
categories are available for selection: Address, Place, City,
County, State or Province, Postal code, Country, Continent,
Latitude, Longitude, Web URL, Image URL, and Barcode.
The next part is titled "Sort by column," and while it is tucked away,
the environment it provides is very magnificent. You will have the
ability to provide a rule for a column so that it will automatically sort
itself according to that rule when it is included in a visual. Data
groups enable you to quickly put together combinations of data,
often known as bins, for analytical purposes. Examples of this are
many, and some of the most visible include age groups and
anthropological categories. On the other hand, you can undoubtedly
think of a great many methods to organize people into groups. Have
a lengthy and involved product list? Sort them into groups that are
easier to handle. Do you want to isolate a certain patient condition
from that of other patients and use them as a control group?
Specifically categorize each of them.
Conclusion
Users can build visually engaging reports and obtain deeper insights
into their data by using the Report and Data Views parts of Power BI,
which are both key components of the software. Users are given the
ability to successfully analyze, display, and present their data thanks
to the provision of a broad variety of features and functions by these
parts. They provide users with access to a full collection of tools that
enable them to turn data into meaningful visualizations, analyze
insights, and share reports with stakeholders. Users can unleash the
full potential of their data and make data-driven choices, which is
what drives the success of their organizations when they harness the
power of these areas.
CHAPTER 3
IMPORTING AND MODELING OUR
DATA
Getting Our Data
Obtaining the appropriate data for analysis is an essential phase in
the process of importing and modeling data in Power BI. This step is
one of the most important steps. This section focuses on the
numerous approaches and considerations that are involved in
getting data from various sources and preparing it for modeling
inside Power BI.
These techniques and concerns are discussed in further detail
below.
As soon as you click the Close & Apply button, all the changes
you've made up to that point are applied, refreshing any affected
data components. When you click the drop-down arrow, a drop-down
menu will appear with three options: (1) Close & Apply; (2) Apply,
which, as you might expect, applies changes but doesn’t close
Power Query; and (3) Leave, which does not apply any changes. If
you choose to leave, Power BI Desktop will warn you that you have
unapplied changes. With the help of the New Source button in the
New Query section, we can add new data. While clicking the drop-
down arrow creates a drop-down menu with the most popular data,
selecting its icon opens the whole data source selection menu.
You can instantly connect to any data source you've previously used
using the Recent Sources button, not simply the one in your active
Power BI Desktop file. This can be helpful if you are doing testing
and want to build a second file and quickly link, or if you are
developing a new model and want to enhance it with a component
from an earlier project. When you enter data, a simple table structure
will appear where you can manually enter data and establish column
names. Although I don't advise utilizing Enter Data often, it can be
helpful if you have several data sources and need to quickly add a
new dimension that might not be present elsewhere in your data.
Although Enter Data's interface resembles Excel quite a bit, neither
formulas nor data validation rules are supported by it. There are just
rows and columns, and the more data you add; the more human
management is required. Because of this, I normally advise against
using Enter Data, although it is available if necessary. When you
click the "Data source settings" button, a window will appear. You
can then change sources, export a PBIDS file for that data source,
adjust permissions, and delete permissions. A PBIDS file is
essentially a Power BI Desktop shortcut for that data source that you
can access in another Power BI file. You can add, examine, and
update each of your current parameters using Manage Parameters.
Power Query parameters are settings that can be used in certain
scenarios to alter how particular data is dealt with. There are many
uses for parameters, including parameter rules in deployment
pipelines, what-if analysis, and more.
You can manage a query, whose meaning isn't always clear, by
refreshing the preview, seeing the properties, using the Advanced
Editor, or going to the Query area of the Home tab. By using the
Refresh Preview button, you can acquire an updated preview of the
data for the query that is presently highlighted and use it as a
working reference. When you have rapidly updating datasets and
want to make sure that your intended transformation behavior is still
being obtained despite the changing data, this can be useful.
Additionally, you can choose to update the preview of each active
query in your model by clicking the drop-down arrow. When you click
the Properties button, a dialog box appears with the query's name,
description, and two checkboxes for "Enable load to report" and
"Include in report refresh"—both of which are automatically
chosen. Until it is added, there is nothing in the description box, thus
explaining a query can be useful.
All visuals that depend on that table will stop working when "Enable
load to report" is disabled since it will regard the whole table as if it
doesn't exist. Consider this to be similar to soft-deleting a table from
your data model. If you wish to re-enable it, it's still available in
Power Query, but Power BI ignores it otherwise. It would be better if
the "Include in report" refresh mechanism was more obvious. You
cannot include that table in the report's refresh if "Enable load" is
disabled. When this is deactivated, the data is kept in the model as it
is right now, but data refreshes do not update that query. Use this
method when a table is really big and you want to test some other
changes in a data refresh without refreshing the biggest table. In
some use situations, individuals will preserve certain data for some
time for things like audits. You can see the real M that is produced by
each modification you do in the Advanced Editor. In my opinion, it's
fantastic that you can see the code that is created when you make a
change, especially if you're interested in learning the language
yourself. M is a language that is simple to learn but challenging to
master, in my view. Duplicate your working code in a text file or other
backup before making changes if you want to attempt changing the
M straight from the editor here. The reason is that, regardless of
whether your code is usable or not, whatever modifications you
make and then click Done, that's what you'll receive. As with
everything programming, a good rule of thumb is to always keep a
backup!
Finally, the Manage button. There are three options available when
you click this button: Delete, Duplicate, and Reference. Duplicating
a query takes the query as it currently exists and duplicates it. This is
straightforward and does mean you are storing that data twice. The
reference takes a somewhat different approach. It creates a new
query that seems to be a duplicate at first, but it's not. It lets you start
from the final form of the query it is referring to and continue from
there. Be cautious since if you update the parent query, the referred
query will also change, which might lead to issues in that query.
There are two options in the Manage Columns section: Choose
Columns and Remove Columns. Both methods take you there, but
they do it in different ways.
You can choose which columns to maintain in the query and drop the
others by clicking the Choose Columns icon, which will open a
dialog box. You can access the previously stated Choose Columns
dialog box or a single column in the query by clicking the Choose
Columns drop-down arrow. In cases when a query has a large
number of columns and you are unsure of their order, this second
capability can be helpful. The column is only removed when the
Remove Columns button is clicked. You are not provided with a
dialog box. Whatever columns are chosen are taken out. A menu
with a second option, to Remove Other Columns, is shown when
you click the Remove Columns drop-down arrow. This removes all of
the columns that you don't have chosen. There are two sections in
the Reduce Rows section: Keep Rows and Remove Rows. Each
has a specific use case centered on the first X rows or the rows
between X and Y. The option to eliminate duplicate rows, as
illustrated in the Remove Rows section, is one item I do want to
caution you about in this area. It's crucial to be aware that it
eliminates duplicates depending on the columns you've chosen.
Therefore, if you simply choose one column and eliminate
duplicates, you risk losing information that you had planned to
maintain. You can choose a column and then sort in either
ascending or descending order using the Sort section. When more
than one column is chosen, this is ineffective.
The Transform section follows, where you will find some
straightforward transformation options. Split Columns enables you to
divide a specified column into numerous columns using a delimiter of
your choice. One common use of this is when you need to split the
first and last names in a single-name column. You can aggregate the
results of your current query using Group By. This can be helpful,
for example, if you have a lot of data and want to pre-aggregate it to
get rid of certain rows. We can modify the data type of a chosen
column by using the Data Type button. When data is initially
introduced to Power Query, Power BI will attempt to automatically
recognize the various kinds of data. Power BI performs a fantastic
job at recognizing data types, but sometimes it goes wrong, so you'll
have to make a manual change here. Coincidentally, you can quickly
verify the data type of a column by looking at the icon in the column
header.
Use First Row as Headers is fairly self-explanatory, and depending
on the data source, Power BI will often attempt to determine if the
first row has column headers. You will also notice an option to make
your headers the first row if you click the arrow next to the Use First
Row as Headers button. You can search for and replace data in a
specific column using Replace data. Depending on your analysis,
one typical use case would be to either regard zeros as nulls or nulls
as zeros. It's vital to remember that you cannot update specific cells
since Power Query only understands columns; it has no
understanding of cells. We can add queries, merge queries, and
combine files using the Combine section. Similar to a SQL JOIN
statement, merge queries operate. A JOIN statement instructs the
computer to provide the value for Column N and add it whenever the
values in Columns A and A in Tables A and B are equivalent. Let's
imagine you have Column A in Table A and Column A in Table B and
you want to add Column N from Table B to Table A. The same thing
is being done here.
Append Queries are designed to combine many inquiries with the
same kind and structure of data into a single, lengthier query that
resembles a UNION statement from SQL.
By pre-combining numerous files into a single view, Combine Files
enables you to avoid the problem in Append Queries. Be cautious
when adding tables that you are receiving the desired result. If you
should have columns that are specific to each table, this option will
combine all of that to create a single result covering all the columns
and values across the two tables. Finally, things that your company
may utilize to connect to Azure AI services are available in the AI
Insights area. Recognize that for these features to be updated, you
must be using Power BI Premium. To find out more, find out whether
your company uses Azure Machine Learning Studio or Cognitive
Services by asking your Azure administrator.
Transform Tab
Beyond what we saw in the Transform portion of the Home page,
there are other options for converting your data on the Transform
tab. To examine the whole Transform tab, though, let's first look at
the picture below. First, we see Group By and Use First Row as
Headers in the Table section.
Transpose converts your columns into rows. Your data's row-by-row
order is reversed by Reverse Rows such that the final record comes
before the first and vice versa. The number of rows in the query will
be shown using the command Count Rows.
The Any Column section offers the option to alter a column's data
type. Values can also be changed. With the help of Unpivot
Columns, you can restructure the columns of data you've chosen
into a "attributes" column and a "values" column. You may wish to
reshape your data in this manner at times, such as when you want to
combine many columns into a few columns with a larger number of
entries.
Based on its presentation of the data, the Detect Data Type button
will go over each column and try to give it the proper data type.
When you initially load data into Power Query, Power BI will often do
this task automatically. However, if you make a lot of transformation
modifications that might alter the data types of several columns, you
can instruct Power BI to perform this task once again. Using the Fill
button, you can substitute a value based on other values in the
column for any missing values, whether they are at the top or bottom
of the column. A column in a table can be moved by using the Move
button. You can reposition it to the left, the right, the beginning, or
the end. With many columns chosen, you can accomplish this.
Rename allows you to rename a chosen column. You can use Pivot
Column to take a column's values, convert them into columns, and
then recalculate values across the new combination. When you want
to display the values alongside the characteristics as columns but
have the attributes in one column and the values in another, this can
be helpful. The function Convert to List is special. It takes one
column and converts it into a list, a specific kind of table in Power
Query. To certain custom functions, lists can be supplied similarly to
arguments. The Text Column section is a bit strangely named
because you can use these functions on more than just text
columns. Thankfully, they are pretty straightforward for the most part.
Split Column enables you to choose a delimiter and divide a column
into two columns. You cannot change the data type in format. You
may make all the data lowercase, or uppercase, or add prefixes or
suffixes, for example. By using this functionality, the column will
change to a text-type column. With the option to choose a separator,
Merge Columns mashes two or more columns together.
You can edit a column or columns using Extract to maintain certain
characters inside the column. In contrast to everything else here,
Parse does something unique. Parse converts semi-structured data
from a JSON or XML file into a more conventionally structured
format for analysis. Although we don't use any JSON or XML files in
our examples, you may need to parse the data before analyzing it if
you were dealing with NoSQL databases or receiving results from
API calls. This parse function performs that. With the help of the
Number Column functions, you can round a column, determine
whether a value is even or odd, or determine its sign in addition to
performing standard calculations against a column to edit its values.
You can also perform trig functions against a column. I advise
duplicating a column before making any changes to the data, except
the statistics function, so that you can have both the original clean
value and the updated value. Similar to the Number Column, the
Date & Time Column section performs a variety of date and time
changes.
The final section in the Transform tab is the Scripts section, which
offers the ability to run both R and Python scripts against your data.
You need to have R or Python installed to utilize these functions, and
Power BI has to be aware of the location of your installation of those
language libraries. You can conduct transformations there and utilize
it as a single step if you're more at ease dealing with data frames in
R or Python. Additionally, you can use Power Query to pre-prepare
the job, use a script task, and then make additional changes in
Power Query. These features can be combined, so if you wanted to
utilize both, you could.
The Add Column Tab
The first thing to note in the Add Column tab is that except for the
General section, we have seen all the other functions in other places
in the ribbon to this point. However, the General section contains so
much that it still merits a section of its own.
Within Power BI Desktop, go to the Format menu and then click Edit
Interactions.
3. Every single one of the other visualizations on the report
page gets a new filter and highlight icons thanks to Power
BI.
Cross-filtering is taking place between the line chart and the map
thanks to the tree map. Cross-highlighting is being done on the
column chart by the tree map as well. You now can adjust how the
chosen visualization interacts with the other visualizations that are
shown on the report page. This can be done by using the report
page's settings.
Change the interaction behavior
Get familiar with how your visualizations interact by selecting each
visualization on your report page, one at a time. Choose one
individual data point, a bar, or a shape, and then see how it affects
the other visualizations. Altering the interactions is something you
can do if you decide that the conduct being shown is not to your
liking. These modifications are preserved in the report, which
ensures that you and anybody else who consumes the report will
have the same visual interaction experience. To get started, choose
a visualization to turn it into an active mode. Take note that
interaction icons have been added to each of the other visualizations
that can be seen on this page. The icon that is bolded is the one that
is currently being used. The next step is to identify the influence that
the chosen visualization should have on the other options. You can
repeat this process for each of the additional visualizations that are
included on the report page.
1. Prepare your data: Make sure that your data has both a
categorical column that represents the categories and a
numerical column that represents the values that are
linked with each category. This is an important step in the
data preparation process.
2. Open Power BI Desktop: Launch the Power BI Desktop
application on your computer.
3. Connect to the data source you want to use: After
loading the data into Power BI, connect to the data source
you want to use, which might be an Excel file, a database,
or a cloud service.
4. Drag and drop the desired fields: From the Fields pane,
drags the category column (for example, Product
Category) to the Axis field well, and then drags the
numerical column (for example, Sales Amount) to the
Values field well.
5. Select the chart type: Choose the sort of chart you want
to use by clicking the "Column Chart" or "Bar Chart"
button in the Visualizations window. This option is based
on your taste. The chart will be generated by Power BI
automatically and shown on the canvas.
6. Customize the chart: Adjust the look of the chart by
making use of the formatting options included in the
Visualizations pane. You can do this by making changes to
the chart's colors, labels, axes, and legends, among other
things. You can also activate extra features like data labels
or trendlines.
7. Interact with the chart: Users can interact with the chart
by choosing certain bars and columns, adding filters, or
diving down into more comprehensive views.
In Power BI, you can more effectively display and compare data
across categories by making use of column and bar charts. This, in
turn, enables you to get more insights and a deeper comprehension
of your data.
The construction of the x- and y-axes in column and bar charts is
often quite straightforward. Taking the values into consideration, we
can then compare them along two dimensions to get some
information. When we wish to compare one number to another, we
may utilize certain charts' additional y-axis feature, which allows us
to put in a second y-axis.
Small Multiples
When comparing patterns, trends, or distributions within a dataset
across many categories or dimensions, small multiples are very
helpful. Small multiples provide a full perspective of the data and
make it simple to compare the subsets by organizing multiple charts
in a grid or matrix arrangement. More efficiently than a single chart,
this visualization style aids in the discovery of parallels, contrasts,
outliers, and relationships within the data. The capacity of small
multiples to lighten cognitive strain and enhance data understanding
is one of their main benefits. Small multiples divide the data into
smaller, more understandable parts as opposed to depending on a
single complicated display. As a result, users can concentrate on
each subset separately while keeping the larger context in mind,
which makes it simpler for them to grasp and analyze the data.
When comparing patterns, trends, or distributions within a dataset
across many categories or dimensions, small multiples are very
helpful. Small multiples provide a full perspective of the data and
make it simple to compare the subsets by organizing multiple charts
in a grid or matrix arrangement. More efficiently than a single chart,
this visualization style aids in the discovery of parallels, contrasts,
outliers, and relationships within the data. The capacity of small
multiples to lighten cognitive strain and enhance data understanding
is one of their main benefits. Small multiples divide the data into
smaller, more understandable parts as opposed to depending on a
single complicated display. As a result, users can concentrate on
each subset separately while keeping the larger context in mind,
which makes it simpler for them to grasp and analyze the data.
Waterfall Chart
The movement of values from an initial level to a final level via a
sequence of intermediate positive and negative elements is visually
represented by a waterfall chart, sometimes referred to as a bridge
chart. It illustrates how each aspect affects the total change and how
it affects the final number. In financial analysis, waterfall charts are
often used to show income statements, cash flows, and other
financial measures.
Benefits of Using Waterfall Charts in Power BI
Waterfall charts provide numerous benefits for data analysis
and reporting purposes.
Funnel Chart
The funnel chart is a versatile visualization tool. Fundamentally, a
funnel chart serves the purpose of contrasting a set of data against
another set of data, to determine their proximity or divergence.
Below are the essential features and characteristics of Funnel
Charts in Power BI.
Card/Multi-Row Card
The card visual in Power BI is one of the most straightforward
visuals available. It is also one of the names whose meaning can be
deduced by just looking at it. When a value is provided to it, it takes
that value and places it on a square card along with a short
explanation of what it is that is being seen. In my opinion, the card is
effective in both of these areas. First, because of its straightforward
nature, it is not difficult to comprehend the content that you are
reading. When you combine this with the capability of the card visual
to cross-filter, you have a tool that can simply and rapidly emphasize
a particular value for any combination of data. Second, it assists the
narrative process by directing the reader's attention to certain values
that you believe they should care about. These values can be
significant in and of themselves, or they may give the required
context that makes the other visuals on your report page more
relevant. Either way, it is beneficial to the storytelling process.
The multi-row card visual is analogous to the relative of the card
visual that your aunt and uncle continuously gush about at
Thanksgiving, but you have your doubts about whether or not they
are all that wonderful. Unapologetically cramming several values into
a single "card"-like the area is the goal of the multi-row card. If all of
the numbers are aggregates, then it will have a somewhat clean
appearance. However, if you have aggregations and then some
dimension that categorizes those aggregations, the multi-row card
will construct several rows on the card, showing the aggregated
values for each category value. These rows will be shown in the
order that the categorical values appear on the card.
KPI
The key performance indicator (KPI) visual is one of those things
that, on the surface, seems like a wonderful idea, but ultimately ends
up driving people crazy. Although it is not quite as confusing as the
scatter chart, the KPI visual might be difficult to understand at first.
There is a field that serves as an indication, and the value of this
field is what you are truly measuring. There is something called a
trend axis, which is how the visual will present the findings on an x-
axis that isn't being displayed right now. Then there is the desired
aim, which either we should be higher or lower than at this point. The
comparison of the current year's revenues to those of the prior year's
revenues broken down by fiscal month is a typical example of a KPI
use case. The most annoying aspect of the KPI is that it always
shows the value for the most recent value on the axis, regardless of
what occurred before it, even though it will depict those data in the
chart part of the report. This is a waste of everyone's time.
Table/Matrix
The table is exactly what it sounds like. There are no extra features
or bonuses here. In the Visualizations window, the table visual has
only one insert, and it goes into a values field. Everything is a field or
column, and the values are all associated with the column that
everything is in. It could seem contradictory to include a table visual
in a data visualization tool; nonetheless, the table visual can give
some additional particular information that can provide more
contexts. When it comes to emphasizing certain data points, I often
find that a table, as opposed to a multi-row card, works best for me.
Another nice thing done with table visuals is placing them at the end
of reports. This makes it simple for analysts who may want to utilize
the data from that table for other types of analysis to extract the data
from the table quickly and easily.
The matrix is more analogous to a pivot table in Excel since it has
the capability of having many layers of row attributes into which one
may delve. Matrices can potentially be overdone, however, when
they are utilized to highlight certain data sets or combinations of
data, they can assist spotlight specific things for readers or offer
further context to analysts, allowing the analysts to figure out what
questions they need to address as rapidly as possible. For a good
number of years, Power BI would first place the data in a table
before exporting it, which caused the matrix formatting to be lost
when the data was exported from a matrix visual. However, as of
recently, this is no longer the case; thus, if you need to export data in
the format of a matrix, maybe for a presentation or anything else,
you can do so.
Slicer
There isn't a huge amount of difference between using a slicer and
selecting a column in the Filters pane by clicking the "Filters on this
page" button. What is different, however, is that as a visual on a
report page, you can alter how it interacts with every other visual on
the report page by utilizing the "Edit interactions" function on the
Format tab of the ribbon; and slicers can be synchronized across
pages of your choice by using the "Sync slicers" pane. Both of
these features can be found on the ribbon's Format tab. Because of
this, slicers can become far more versatile and user-friendly for the
people reading your report. This provides you, the author, with an
additional opportunity to highlight the particular aspects that, in your
opinion, should be emphasized to assist your audience in
comprehending how they should be thinking about the content.
Conclusion
In conclusion, data visualization in Power BI is essential for gaining
relevant insights and making sensible decisions. The Visualizations
Pane acts as a central location for producing and modifying data
visualizations, giving users access to a variety of visual formats for
efficient information communication. Users can explore and analyze
data dynamically and intuitively by using visual interaction, revealing
patterns, trends, and outliers. Power BI's data analysis and decision-
making process both heavily rely on data visualization. Data
visualization improves data interpretation, permits trend detection,
and aids in successful communication, whether it be via column and
bar charts, map visuals, "flat visuals," tables and matrices, slicers, or
other visual kinds. Users may get useful insights from their data,
enhance reasoned decision-making, and promote corporate success
by using the power of visual representations.
CHAPTER 5
AGGREGATIONS, MEASURES, AND
DAX
A Primer on the DAX Language
Data Analysis Expressions, often known as DAX, is a multipurpose
query language that can be used to retrieve particular results or to
generate calculated tables or columns. Analysis Services Tabular
and Power BI both utilize DAX as the language of their respective
formula engines. When you build a new visual in Power BI, the
program automatically creates DAX behind the scenes to get the
data from the Power BI storage engine. However, much like
everything else in capability BI, DAX must be configured on a
column-by-column or table-by-table basis for it to be used. DAX has
an extraordinary amount of capability. In software such as Excel,
where everything is specified down to the level of each cell, this is
not the case. In contrast to Excel, DAX cannot edit specific points in
space or cells. The data in a table or column must be modified
before it may proceed. Keep in mind that the fundamental structure
of our database is columnar; thus, we want a language that can edit
and query columns of data rather than individual cells of information.
It is considerably more powerful to be able to change and query
columns since it is quicker, and you don't have all of the overhead of
having to be able to write formulae against particular cells. Having
this ability also makes it easier to work with large amounts of data.
Measures
The idea of measures is one of the most essential aspects of the
DAX programming language, and it is very important for both the
data analysis and the reporting processes. Measures are, in a
nutshell, calculations that are carried out at the moment. They allow
us to extract aggregated numbers, run calculations over several
rows or tables, and assess sophisticated business logic. Answers to
inquiries like "What is the total sales revenue?" or "What is the
average customer satisfaction score?" are often provided using
measures.
To construct a measure in DAX, we utilize the construct MEASURE
command or the user interface offered by visualization tools like
Power BI. Measures are often connected with a particular table in
the data model and are assessed within the context of that table.
However, they can also reference columns from other tables via the
connections between the tables. Expressions written in DAX, which
include functions, operators, and pointers to columns or other
measures, are used to generate measures. DAX has a
comprehensive set of functions, which can be used to carry out a
variety of calculations, aggregations, filtering, and other operations.
These functions make it possible for us to compose strong
expressions that can extract valuable insights from the data we
provide.
One of the most important characteristics of measures is their
capacity to dynamically adjust to varying degrees of granularity in the
data they collect. For instance, a measure of sales revenue can
either present the total revenue for the whole dataset or dynamically
alter itself to provide revenue at various levels of aggregation, such
as by year, month, or product type. Because of its adaptability, this
system enables drill-down analyses as well as the examination of
data at varying degrees of detail. The context in which measures are
assessed is also taken into consideration. The term "context" refers
to the collection of filters or criteria that are applied to the data before
any calculations are carried out. DAX contains methods like
CALCULATE and FILTER that allow users to change the context
and exert control over the calculation of measures. Because of this
understanding of context, it is possible to do more complex
calculations and use dynamic filtering. It is imperative that while
establishing measures, consideration be given to the various sorts of
data and it must be ensured that these types of data correspond to
the outcomes that are anticipated. DAX is capable of working with a
wide range of data kinds, including numeric, text, Boolean, date/time,
and many more. To guarantee that the calculations are accurate and
consistent, it is essential to choose the proper data type for each
measure.
Conditional logic, branching statements, and iterators can all be
used to improve measures. DAX contains methods such as IF and
SWITCH, as well as iterators such as SUMX and AVERAGEX,
which allow us to do calculations based on specified circumstances
or traverse over a table while applying filters. Because of these
properties, we can construct measures that are more sophisticated
and dynamic, which allows us to satisfy the criteria of more
complicated analyses. In addition to the mathematical calculations
they do, measures can also include text concatenation, formatting,
and other string operations. This enables us to generate informative
measures, have textual context, and are presented appealingly.
Additionally, we can merge numerous data sources into a single
result.
Lastly, measures are used as the basis for the development of
interactive visualizations and reports. They can be used in charts,
tables, and other types of visual components to highlight important
metrics and make data-driven decision-making easier. Measures
provide stakeholders with the vital information they need to analyze
trends, draw comparisons, and get useful business insights.
Calculated Columns
Calculated columns are a useful feature of the DAX programming
language that provides users the ability to add additional columns to
a table that are determined by the results of their individualized
calculations. A calculated column in DAX is defined by a formula that
is carried out on each row of a table. This formula can be found in
the table's header row. The formula is assessed column by column,
and the results are saved in the calculated column row that
corresponds to each row that the formula affects. Calculated
columns are often produced during the data modeling process, at
which point they are irreversibly incorporated into the table structure.
A formula for a calculated column can make use of DAX functions
and operators, as well as references to other columns included
within the same table. This allows you to execute calculations that
include many columns or apply sophisticated logic to obtain new
values. For instance, you can design a calculated column that
determines the profit margin by deducting the cost from the selling
price and displaying the result. Calculated columns enable users to
generate new data components, which may either give extra context
or additional insights. This is one of the most significant advantages
of using calculated columns. When added to the table, these
columns become a component of it and can be put to use in a variety
of ways, including calculations, filtering, sorting, and so on. When
you need to do calculations that include numerous rows, or when
you want to build dimensions based on existing data, they can be
very helpful. Another use case in which they come in handy is when
you want to create a pivot table.
Calculated columns are assessed at the row level, which means that
the formula is applied to every one of the rows in the table
individually. Calculations that take into consideration certain row
conditions or values are now feasible as a result of this development.
For instance, you can establish a calculated column that provides a
rank to consumers based on a specified set of criteria, or you can
classify customers following the history of their purchases. When
using calculated columns, the influence that these columns have on
the size and performance of the data model is an essential aspect to
take into account. Because the calculated values need to be saved
for each row, calculated columns make the table's storage needs
more stringent. In addition, calculations involving calculated columns
are done when data is being refreshed or queries are being
executed, affecting how quickly queries are processed. It is essential
to make calculated columns as efficient as possible by optimizing
their utilization and taking into account the storage and performance
trade-offs associated with using them.
Calculated columns can also be used as inputs for measures, which
enable more complex forms of calculation and analysis to be
performed. Calculations known as measures are carried out in real-
time and are dynamic. Measures sometimes include the aggregation
of data from many rows or tables. You can improve the degree of
analysis and extract insights that would not be achievable with
measures on their own by utilizing calculated columns as inputs for
measures. This is because using measures on their own would be
impossible. When constructing calculated columns, it is critical to
choose the right data types for the new column that is being created.
DAX is capable of working with many different kinds of data,
including numeric, text, Boolean, date/time, and more. The correct
representation of data and precise calculations may both be
achieved by carefully selecting the appropriate data type.
Calculated Tables
Calculated tables are a useful feature of the DAX programming
language that provides users the ability to generate new tables in a
data model depending on the results of their custom calculations or
filters. During this conversation, we are going to explore the notion of
calculated tables, as well as their many advantages and the
productive ways in which they can be used while doing data
analysis.
The EVALUATE statement is used to define a table expression,
which is then used in the process of producing a calculated table in
DAX. The DAX functions, operators, and references to previously
created tables can all be included in the table expression. As a
consequence of evaluating the phrase, a new table will be produced,
which will be calculated in real time according to the logic that has
been provided. Calculated tables provide a means of creating virtual
tables within the context of your data model. These tables are not
kept in the underlying data source; rather, they are constructed
dynamically at the time of use depending on the logic of the
calculation. This gives you the ability to build tables that each
represent a different subset of the data or to apply specialized filters
to the tables that are already available.
Calculated tables may make complicated data modeling situations
much easier to understand and work with, which is one of the
primary advantages of using them. They make it possible for you to
construct tables that compile data from different sources or tables,
apply individualized filters, or carry out calculations based on a set of
predetermined requirements. Calculated tables can be very helpful
for doing cross-table calculations, such as when establishing a table
that combines sales data with customer demographics. One
example of this kind of calculation is a table that combines sales
data with customer demographics.
Calculated tables can also be used for the creation of summary
tables or aggregate tables, both of which can save results that have
already been calculated. The quantity of data that has to be
processed can be greatly reduced thanks to the use of these
summary tables, which in turn can significantly enhance the speed of
the query. You can speed up searches and give quicker insights if
you aggregate the data at a greater degree of granularity. The
adaptability of calculated tables is yet another benefit associated
with using them. Calculated tables can adjust to changes in the data
model or filters applied to the data since they are dynamically
calculated. This enables dynamic analysis and reporting, in which
the calculated table dynamically updates itself depending on user
options or changes in the data that underlies it.
Note that calculated tables provide certain challenges in terms of
both performance and the complexity of the data model. This is an
essential point to keep in mind. Calculated tables add to the overall
memory footprint of the data model since they are responsible for
storing the results of any calculations that have been performed.
Additionally, complicated calculated tables that contain significant
amounts of data can affect the performance of queries. It is essential
to optimize the use of calculated tables and take into account the
trade-offs these tables provide in terms of the amount of memory
they use and the speed at which they process queries.
Calculated tables are one of the DAX capabilities that can be utilized
in combination with others, such as calculated columns and
measures. They can perform the function of a foundation upon which
more complex calculations or analyses can be constructed. You can
construct robust data models that give comprehensive insights and
meet complicated business needs if you combine calculated tables
with other parts of the DAX language. Calculated tables are also
often used in the "role-playing" of dimensions in the creation of
Power BI. In the most frequent case, you have a fact table that has
numerous dates, and you need to be able to interact with different
dates depending on the reporting need. Only one of the relationships
on your date table can be considered active at any one time.
Therefore, you can make yet another group of dates with the help of
a calculated table to construct yet another connection with that fact
table. Then you will have two alternative data tables that you can
utilize, depending on whatever date you might need to use from a
certain fact table. You can choose to use any of these data tables.
Types of Functions
The DAX functions are organized into families, also known as types,
which specify the tasks that each one is meant to carry out. A
building of one or more DAX functions, DAX formula is a
construction of one or more DAX functions. Simply since there are
hundreds of them, most people surely doing not use every single
DAX feature that is provided. For this reason, it can be useful to
know how DAX functions are organized in case you ever need to
quickly seek up information on how certain function works or if you're
trying to discover a function that suits the sort of analysis or data
manipulation you are attempting to execute.
The following is a list of the several ways that DAX functions
can be categorized:
● Aggregation functions
● Date and time functions
● Filter functions
● Financial functions
● Information functions
● Logical functions
● Math and trigonometric functions
● Other functions
● Parent and child functions
● Relationship functions
● Statistical functions
● Table manipulation functions
● Text functions
● Time intelligence functions
Aggregations, More than Some Sums
When doing data analysis, aggregations entail more than just basic
sums; rather, they involve a variety of calculations that give insightful
new perspectives on the information under consideration. It requires
extracting summary or aggregated values from a dataset and then
calculating those values. Although sums are a typical sort of
aggregation, there are a great many additional varieties that give
quite diverse viewpoints on the data.
We can obtain a more in-depth knowledge of patterns, trends,
and correlations by using aggregations, which enable us to
study data at varying degrees of granularity.
Sum
The time-tested method. Everyone is aware of what a sum is. It's a
case of adding. You have always had a solid grasp of the art of
adding numbers. You have undoubtedly previously used the sum
functions in Excel or other applications that are comparable to it.
The good news is that Sum works the same way in Power BI. For a
given column of numbers, we will obtain a sum, or addition, of those
numerical values for any given combination of data that is displayed
in a visual. This is because Sum works the same way in both Excel
and Power BI.
The visual representation of this, like that of so many other data
ideas, is the one that is easiest to grasp. Since the purpose of our
meeting is to visualize data, it seems more appropriate to
demonstrate with an example rather than explain it verbally.
Two tables can be seen in the picture below. Both have a total
number of office hours that they have been present for. Both of them
arrive at the same total, but their results for each possible
combination of data are unique.
The total number of office hours attended by a variety of grouped
classifications is shown in the table at the top of the page. Therefore,
in this particular instance, the individuals who attended the ISOM
210 course that began on January 4, 2021, who uses she/her as
their preferred pronouns, and who had never used Power BI before
the beginning of the course accounted for a total of 22 of the 41
office hours that were available. In this case, the total is the sum of
the values that are included in the OfficeHoursAttended column.
The table that is located at the bottom is different. It displays the
breakdown by a student's last name as well as, for a specific
assignment ID, the number of office hours that the student attended.
We can see that the overall number of hours remains the same, but
they are split up differently. If you were to take a peek at the table
that contains the grades, you would see that not a single student
attended more than one office hour for any particular assignment ID.
In this instance, the sum is still computing a summation; however,
the summation in question reduces all of the data to the level of a
single cell.
The reason I wanted to show you this example is to illustrate that by
default, Power BI will hide data collections that do not produce a
result for a summation that has been specified. Therefore, we are
aware that Ms. Avina only attended one of the office hours, and that
attendance was for Assignment ID 12. By evaluating just the data
where an actual value is provided rather than seeing results that
don't return any data at all, we can determine that a lot more rapidly.
Average
There are some different kinds of averages. To describe the default
aggregate that is shown in the options pane located under the
Visualizations section, Power BI is producing a straightforward
average. This simple average can be described as the total of a
given set of values, filtered by all the relevant categories on a visual,
which is then divided by the count of records that are likewise filtered
by all the relevant categories on a visual. In other words, the simple
average is the sum of the values filtered by all the relevant
categories on the visual. Therefore, if we had, for a particular
combination of data, a total score of 240 and three recordings made
up those 240 points, we would have an average score of 80. Exactly
like the sum, if we wind up getting to a combination of categories that
only returns one record's worth of data, a value divided by one is
itself; that's still technically an average. If we end up coming to a
combination of categories that only returns one record's worth of
data, a value divided by one is itself. Below are two new tables with
average scores. In addition, on the left is the total number of office
hours attended, and on the right, the average number of office hours
attended.
There are two characteristics of the picture that you see above that
could jump out at you. To begin, the cumulative Average Score
across both tables is equivalent to one another. Second, doesn't the
number of AverageOfficeHoursAttended that's shown on the right
appear a little off? The average is 1, although some numbers are
blank. What does it imply? Why are some of the values blank?
Nobody attended more than or less than one office hour for any
particular assignment. However, blanks are not zeros. In many
datasets, it is not unusual to find true blanks, often known as nulls in
database language.
The most essential thing to take away from this is that Power BI
does not consider nulls to be zeros and simply disregards them
when it generates a count of values. If nulls are disregarded while
creating a count, our mathematical description for the average in
Power BI will still be accurate, and the overall average shown in the
table to the right of the picture will continue to make sense.
Now, the most important thing is to figure out how to compute an
average for Ms. Avina. Should it be 1 hour divided by 1 occasion of
attending office hours, or should it be 1 hour divided by 14 occasions
to attend office hours, with 13 zeros? If the latter, then how many
zeros should follow the division? It is a question that only we, as the
analyst or author of the report, can provide an answer to, and the
response will largely rely on what we want the average to represent.
The second question is why the Average of OfficeHoursAttended
column on the right table is returning blank numbers for certain
users. The default behavior was not to return values when there
would be no data to show. On the other hand, if there is a second
aggregate on a visual that does yield a value for a certain
combination of data, then all of the other aggregations will still
appear, even though they will return a blank result.
The picture below is a simplified representation that was created by
duplicating the right table from the preceding image and omitting the
average score from the second copy. When you look at the two
tables together, you can confirm that the appearance of blank values
in the visual is due, in fact, to the inclusion of the second aggregate.
This can be seen by putting the two tables side by side. It also helps
show the concept that was made before about discarding blank
numbers when calculating an average.
Minimum and Maximum
When it comes to data analysis and visualization, Power BI places a
significant emphasis on the ideas of minimum and maximum. They
help determine the borders, range of values, and outliers that exist
within a dataset. Here, we will discuss the relevance of Power BI's
minimum and maximum values, how to compute them using DAX
(Data Analysis Expressions), as well as their uses in data analysis
and visualization. The borders and extremes of a dataset can be
better understood with the help of a dataset's minimum and
maximum values.
Let's get into more depth about their importance and how they
can be applied:
The MIN and MAX functions of the DAX language can be used in
Power BI to do the calculation of minimal and maximum values,
respectively. These functions take a column or expression as their
input and then return either the lowest possible value or the highest
possible value that can be found in the column or expression.
For example, to calculate the minimum and maximum sales
amounts from a sales table in Power BI, you can use the
following DAX expressions:
• Minimum Sales = MIN(Sales[Amount])
• Maximum Sales = MAX(Sales[Amount])
These expressions will calculate the minimum and maximum sales
amounts, respectively, based on the "Amount" column in the "Sales"
table.
Standard Deviation, Variance, and Median
Important statistical measures such as the standard deviation,
variance, and median give useful insights into the distribution,
variability, and central tendency of a dataset. These measures can
be found in the standard deviation, variance, and median.
Standard Deviation
A measurement of the dispersion or spread of data points around the
mean is referred to as the standard deviation. It provides a numerical
representation of how much the data deviates from the mean.
Greater variability is indicated by a standard deviation with a larger
value, whereas a standard deviation with a lower value shows less
dispersion.
The following are the steps by which standard deviation is
calculated:
● Calculate the mean of the dataset.
● For each data point, calculate the difference between that data
point and the mean.
● Square each difference.
● Calculate the mean of the squared differences.
● Take the square root of the mean squared difference to obtain
the standard deviation.
Standard deviation is useful in several ways:
● It helps understand the spread and variability of data, which is
particularly important when comparing datasets or analyzing
the stability of a process over time.
● Standard deviation is often used to assess risk or volatility in
finance, such as measuring the volatility of stock prices.
● In quality control, standard deviation helps determine if a
process is within acceptable limits or if there is excessive
variation.
Variance
In the same vein as standard deviation, variance is an additional
measure of the dispersion of data. It does this by calculating the
average squared difference between each data point and the mean
of the data. The term "variance" refers to the amount that individual
data points deviate from the "mean" value. The procedures involved
in calculating variance are very similar to those involved in
calculating standard deviation, except for the last step, which
involves computing the square root of the value.
Variation is helpful in a few different ways:
● It plays a role in the analysis of experimental data to measure
the effect of different factors on the variability of the response
variable.
● Variance is employed in modeling and optimization problems,
such as determining the optimal allocation of resources.
● Variance is used in statistical inference to assess the variability
of a population based on a sample.
Median
The median is a measure of central tendency that is used to reflect
the value that falls exactly in the center of a collection of data that
has been sorted either ascending or descending. It is unaffected by
outlying values or extreme values, which makes it resilient in the
presence of skewed data.
The median is calculated in the manner described below:
● Place the values in either ascending or descending order.
● If the dataset has an odd number of values, the median is the
middle value.
● If the dataset has an even number of values, the median is the
average of the two middle values.
The median is a very helpful statistic in the following
circumstances:
• When working with skewed data or datasets that include
outliers, a better depiction of the core value can be found using
the median as opposed to the mean.
• It is often used in situations involving income distributions,
property prices, or other skewed economic indicators, which
are situations in which extreme values can have a substantial
influence on the mean but a less significant impact on the
median.
• In data analysis, the median is also used to compare the
central tendency of distinct groups or to characterize the
distribution of ordinal or ranked data. Both of these applications
include ranking the data.
You can compute any of these statistical measures by utilizing
the DAX functions that are available in Power BI:
• Standard Deviation: In Power BI, you can determine the
standard deviation of a column or expression by using either
the STDEV.P or STDEV.S functions. STDEV.P is used when
the data being analyzed are representative of a subset of a
population, while STDEV.S is utilized when the data being
analyzed are representative of the complete population.
• Variance: In Power BI, the variance of a column or expression
can be computed using either the VAR.P or VAR.S function.
Data from a sample are entered into VAR.P, while data from
the population are entered into VAR.S.
• Median: The MEDIAN function in Power BI determines the
value that represents the columns or expression's median.
When the data are sorted, it gives back the value that is in the
center.
Count and Count (Distinct)
Count and Count (Distinct) are two forms of aggregation that are
very helpful and can be used for any data type. You can use them to
count instances of text, dates, or numerical data. You can also use
them to count the number of occurrences of data. The selection
Count will count duplicate occurrences of that data, but the selection
Count (Distinct) will not do so. This is the primary distinction between
the two options. This count is carried out in relation to the column of
data that is now being referred to. There are four examples of
counting and counting (distinct) shown in the image below. To begin,
there is a list of total scores for all of the assignments located on the
top left. Because we are not aggregating the score for that table, we
are first retrieving the raw values and then carrying out a count of the
score as well as a count (Distinct) of the score to determine the total
number of occurrences of each score associated with that
assignment.
One thing to keep in mind is that Power BI will construct an alias for
the majority of aggregations to assist readers in recognizing the
aggregation if it isn't a sum. Nevertheless, Power BI aliases Count
(Distinct) in the same manner as it aliases Count; thus, to ensure
that the visuals are clear, I have aliased Count (Distinct) manually. A
new name can be given to any object in a visual by double-clicking
the item in the Values section of the Visualizations pane and then
putting in the new name. This is how an alias is created.
Note that the example in the upper left corner has three separate
counts: the raw score, the number of times that score occurs in the
dataset, and finally the distinct count, which is one for each value.
The sum reflects 52 distinct values in its entirety. On the other hand,
the distinct count of each value will consistently be one in the visual
representation, which lists all of the values. When we examine the
bottom left corner of the image, we find that it is the same visual as
before; however, the score value has been deleted. Here, we can
see the total number of scores, which is 280, as well as the number
of unique score values, which is 52.
The example in the upper right corner provides us with a count of the
occurrences of a certain date, which is the term start date in this
scenario. As the dataset only contains information about one
academic year at the moment, we only have a single-term start date
to work with. The table from which it derives has a total of 20
occurrences of that value. Keep in mind that due to the manner that
this table was built, the distinct count will always equal 1 regardless
of the circumstances. This is because the table defines a value, and
the distinct count of that value will always equal 1. An alternative
perspective on the situations we've been discussing is provided by
the example in the bottom-right corner. We have a list of the first
names of the pupils, together with the count of those names, which
is 1, for each name. This is not a count of unique names; it simply so
happens that none of the names occur more than once.
However, after that, we can look at the Count (Distinct) of scores and
determine how many distinct scores each person has gotten. Given
that there are 14 assignments, we would anticipate a significant
number of separate counts of scores for each individual, but as you
can see, it is not always 14 either. During the semester, several
students received the same score on many occasions.
First, Last, Earliest, and Latest
In the field of data analysis, certain functions and concepts, such as
first, last, earliest, and latest, are often used to locate certain values
or dates included inside a dataset. These functions provide insights
into the earliest and latest occurrences, in addition to the first and
last values, that occur inside a certain context. During this
conversation, we will explore the meaning of the terms "First,"
"Last," "Earliest," and "Latest," as well as their applications and
how they are applied in a variety of data analysis settings.
• First: The First function is used to identify the first value or
record inside a dataset or a certain grouping. This can be
accomplished by using the function to find the first value or
record. It assists in locating the first occurrence or value in a
series of events. When doing analyses on time-series data or
data that has been organized according to a particular
criterion, the First function is very helpful.
For example, in Power BI, you can use the First function as
follows:
• First Customer = FIRSTNONBLANK (Customer
[CustomerName],
• Customer [Date])
Based on the order of the "Date" column, this expression will return
the first non-blank value that can be found in the "CustomerName"
column of the "Customer" database. It assists in determining which
client was the first one recorded or which customer had the earliest
date.
• Last: The First function's analog, the Last function, is found
in the Last function. It denotes the record or value that comes
at the very end of a dataset or a particular grouping. The Last
function helps determine which occurrence or value is the very
last one in a series of events. When doing an analysis of the
data in the other direction, or when trying to establish which
event occurred most recently, it is a technique that is often
used.
For example, in Power BI, you can use the Last function as
follows:
• Last Sale Amount = LASTNONBLANK(Sales[Amount],
Sales[Date])
This expression retrieves the most recent non-blank value of the
"Amount" column in the "Sales" database depending on the order of
the "Date" column in the "Sales" table. It helps determine the
amount of the most recent sale that was recorded.
• Earliest: The Earliest function focuses on locating the earliest
date or value inside a dataset or a particular grouping. It does
this by searching for the earliest date or value. In the process
of dealing with time-series data, it is often used to create the
earliest occurrence of an event.
For example, in Power BI, you can use the Min function to
calculate the earliest date as follows:
Earliest Date = MIN(DateTable[Date])
This expression will provide the earliest possible date value that can
be found in the "Date" column of the "DateTable" table. It assists in
determining the date that was recorded first inside the collection.
• Latest: The Latest function is used to determine the date or
value that is the most recent occurrence inside a given dataset
or particular grouping. It is especially helpful for finding the
most recent value or the most recent occurrence of a given
event.
For example, in Power BI, you can use the Max function to
calculate the latest date as follows:
• Latest Date = MAX(DateTable[Date])
This expression retrieves the most recent possible date value from
the "Date" column of the "DateTable" table. It is useful in
determining which date was the most recent one recorded in the
dataset.
Applications of First, Last, Earliest, and Latest:
• Temporal Analysis: These functions are often used in the
process of evaluating time-series data, which might include
things like sales records, market prices, or weather data. They
help determine whether events came first or last, the earliest or
most recent occurrences, or the first and last values that
occurred over a certain period.
• Customer Analysis: The First and final functions are often
used in customer analysis to determine the first and final
interactions or purchases made by customers. This information
can be utilized to better understand customer behavior. This
information can provide light on a variety of topics, including
consumer behavior, loyalty, and turnover.
• Data Monitoring: The Earliest and Latest capabilities help
monitor updates or changes to data over time. Analysts can
follow the development or progression of certain variables or
metrics by determining the earliest and latest values or dates.
• Report Visualizations: The First, Last, Earliest, and Latest
values can be shown in reports and visualizations to either
offer an overview of the information or to emphasize individual
data points. A dashboard may, for instance, display the first
and final sale amounts, the earliest and latest dates recorded,
or the starting and final values in a time series.
Measures and DAX Fundamentals
We do data aggregation so that we can better comprehend the data
points themselves. There are occasions when we want to ensure
that the calculation is carried out in a certain manner, or that
potential users in the future can see an explicit calculation in our
data model. There are occasions when just looking at the name of
one of our columns is enough to comprehend what an aggregate is
doing. What is often misunderstood, however, is the fact that a
measure is being used to build an aggregate in either scenario—
whether you are dragging a column into the Values section to obtain
a total or average, or you are constructing a DAX measure to do a
calculation. In either case, an aggregation is being created.
Implicit and Explicit Measures
Implicit Measures
Calculations that are generated automatically by Power BI
depending on the data model and visualizations are referred to as
implicit measures. Implicit measures are also known as automated
measures. These measures are obtained by deriving them from the
fields and relationships that are described by the model. Power BI
examines the structure of the data and automatically selects the right
aggregation functions to use based on the findings of this analysis.
Characteristics of Implicit Measures in Power BI
• Automatic Generation: Power BI will generate implicit
measures on its own without any explicit user input. They are
created in accordance with the structure of the data model and
the fields that are used in the visualizations.
• Aggregated Functions: Implicit measures often utilize
ordinary aggregated functions, such as total, count, average,
maximum, or minimum. This is because implicit measures are
not explicitly stated. The data type of the field is taken into
consideration by Power BI when determining the suitable
aggregate to use.
• Contextual Evaluation: Implicit measures are evaluated
within the context of the visualizations. Power BI takes into
account filters, slicers, and other visual interactions to provide
accurate results.
Applications of Implicit Measures in Power BI
• Quick Analysis: Implicit measures help do exploratory data
analysis in a hurry. Users can simply drag and drop fields into
visualizations, and Power BI will automatically construct the
calculations that are required. This enables users to
concentrate on visually representing the data rather than
explicitly specifying metrics.
• Standard Aggregations: Implicit measures give basic
aggregations that are often employed in data analysis, such as
adding up the total amount of sales, tallying the total number of
orders, or calculating an average rating for each product. They
do this by automatically applying the proper aggregating
procedures, which in turn makes the process of building basic
visualizations much simpler.
Explicit Measures
Calculations developed by end-users in Power BI by way of the Data
Analysis Expressions (DAX) language are referred to as explicit
measures. These calculations are also known as user-defined
measures. Unlike implicit measures, explicit measures need to be
created and defined manually. This gives users greater control and
flexibility over the reasoning behind the calculation, in contrast to
implicit measures.
Characteristics of Explicit Measures in Power BI
• User-Defined: These explicit measures are generated by the
users themselves by utilizing DAX expressions. Users are
responsible for defining the calculation logic, specifying the
aggregation functions, and customizing the calculations
following the analytical needs that are unique to them.
• Customized Calculations: Users can execute complicated
calculations that go beyond the scope of typical aggregations
when using explicit measures. They can make use of
sophisticated functions, develop conditional logic, execute
calculations for time intelligence, or apply rules that are
particular to the company.
• Reusability: Explicit measures can be reused across various
visuals or reports, which ensure consistency in calculations
and reduces the need to duplicate calculations in different
visualizations. Explicit measures also can be exported and
imported into other applications.
Applications of Explicit Measures in Power BI
• Advanced Calculations: To complete complex calculations
and analysis, explicit measures are necessary. The user can
use statistical functions, build complicated business measures,
compute growth rates, do segmentation analysis, and produce
custom KPIs.
• Time Intelligence: Power BI includes a broad collection of
functions for time intelligence, which enables users to define
explicit measures for year-to-date calculations, period
comparisons, moving averages, or other time-based studies.
These functions can be accessed via the Power BI interface.
• Business-Specific Metrics: Explicit measures make it
possible to develop metrics that are unique to the business that
are adapted to the needs of the organization. Calculations for
customer retention rates, profitability ratios, conversion rates,
and any other key performance indicators relevant to the users'
particular company environment can be defined by users.
DAX Syntax Fundamentals
To get a grasp on the fundamentals of DAX syntax, we will begin
with a simple calculation that uses the AVERAGE function applied to
a single column.
First, going in this direction from left to right, we have the title of our
measure, which in this instance is "Simple DAX Average Score."
The symbol for equals differentiates the title from the calculation that
will come after it in the body of the sentence. Our job is to arrive at
an average. After that, the function will take specific criteria, which in
this instance will be a column reference. The function is
differentiated from the arguments or criteria that it is searching for by
the first pair of parentheses. Next, we have the table name that we
want to provide along with the function surrounded in single quotes,
as well as the column name that we want to pass along enclosed in
brackets.
When the second set of parentheses is used, it indicates that all of
the function's parameters have been provided before. Put all of that
together, and let's try to make it sound a little bit more like English,
shall we? There is a DAX measure called Simple DAX Average
Score. This DAX measure is referred to as the Average function and
it calculates its results by utilizing the Score column from the Grades
table as its calculating parameter. This will return the average score
from the Grades table in our scenario, and it is susceptible to being
changed by any context that is relevant to the situation.
As a point of reference, you should know that any table name that
has a space should always be surrounded by single quotes, and the
names of any column should always be surrounded by brackets.
Whenever you are developing your own DAX, the best technique is
to enclose the names of your tables in single quotes, regardless of
whether or not the table names include any spaces. When viewed
more technically, this reveals that all of the simple aggregations that
we explored previously share the same fundamental DAX syntax for
their respective functions. There is no difference between the Sum,
Average, Count, DistinctCount, Min, and Max values. Simply
calculating the minimum or maximum allows one to determine the
first, last, earliest, and latest positions. The following is how that
syntax looks.
• FUNCTION('TABLE'[COLUMN])
That sums it up well. You will then be provided with a straightforward
explicit measure that will have any additional context in the visual as
well as any relevant slicers on your worksheet applied to it for
filtering.
CALCULATE
When it comes to DAX functions, the CALCULATE function may be
thought of as the equivalent of a Swiss army knife. Similarly to many
other aspects of life, 80% of DAX issues can be resolved with just
20% level of knowledge. You will have made significant progress
toward reaching that early level of expertise if you can grasp
CALCULATE. The CALCULATE function is straightforward in its
operation. It is a wrapper that evaluates an expression in a context
that has had its filtering capabilities updated. What exactly does it
entail? After evaluating functions, you can save filter contexts for
later use. Consider the possibility of using a WHERE clause while
working with SQL. You could wish to restrict the results to those
where X = Y or Z > 100, for example. You can feed these WHERE
clause–type parameters into your DAX formula using CALCULATE,
which enables you to do so in an explicit manner. This ensures that
they will always apply, regardless of the context in which they are
used. You can come up with a huge number of other scenarios in
which this might be useful. Do you want to find out how the sales for
this year stack up against the sales at the same point in the prior
year? You can do it with the aid of CALCULATE. It's possible that
you need to evaluate how the sales figure for one product compares
to that of a different group of items. That is something you can do.
Do you wish to provide a dynamic calculation that satisfies the filter
context requirements depending on the outcomes of another
calculation, such as the date from the previous day? You can do
that.
Syntax: The syntax of the CALCULATE function in Power BI is
as follows:
● CALCULATE(<expression>, <filter1>, <filter2>, ...)
● <expression> represents the calculation or measure to be
evaluated or modified.
● <filter1>, <filter2>, and so on are optional parameters that
define the filters or conditions to be applied to the calculation.
Examples of CALCULATE Function Usage
• Applying a Filter to a Calculation: Let's say we have a Sales
table that has columns like "SalesAmount" and
"ProductCategory." We want to determine how much money
was generated in the "Electronics" area as a whole, but we are
only going to include the money that was earned in 2022.
The nested DAX expression in this example makes use of the SUMX
function to loop over each row in the Sales database, multiplying the
SalesAmount by the Quantity for each sale. To calculate the
weighted average sales price, it then divides the total of all of these
values by the total of all of the quantities.
Calculating a Rolling Total: You can use the nested DAX
expression that is shown below to generate a running total of sales
for a certain period:
● Load: If you want to load the data straight away, you may
do so by clicking the "Load" button. The chosen data will be
imported into Power BI, at which point you can begin the
process of displaying and analyzing the data.
● Edit: Click the "Edit" option if you wish to modify the data in
some way before importing it. This will allow you to do
things like change or shape the data. This will launch the
Power Query Editor, which is where you can execute a wide
variety of data changes, including deleting columns,
renaming columns, altering data types, combining tables,
and more.
Here, we will look into the processes and things to keep in mind
while consolidating tables using the Append function in Power
BI.
Step 1: Accessing the Power Query Editor
When you've finished importing the tables you want, Power BI will
show you the data preview pane. In this section, users can pick
certain tables by selecting the boxes next to those tables, or they
can opt to import all of the available tables. To access the Power
Query Editor, choose the "Transform Data" button rather than just
importing the data. This will bring up the Power Query Editor. Before
adding the tables, this editor offers a rich set of tools for transforming
the data, which allows for the tables to be shaped and refined.
Step 2: Selecting and Appending Tables
Tables are presented in the "Queries" pane, which is located on the
left-hand side of the Power Query Editor. Find the first table that you
want to add to the consolidated table, and then choose it. To attach
tables, go to the Home tab of the Power Query Editor and click on
the "Append Queries" button. This button looks like two tables piled
on top of each other and is where you append tables. A list of the
tables that can be used will be shown in a dialog box. Choose the
table or tables you wish to attach by holding down the Control key
while clicking on the table(s) you want to add. To begin the add
procedure, click "OK" on the dialog box.
Building Relationships
If you have multiple tables, there is a good likelihood that you will do
some kind of analysis utilizing the data from all of those tables. The
establishment of relationships between such tables is essential for
doing precise calculations of results and presenting accurate data in
your reports. You won't have to take any action in the vast majority of
situations. This is taken care of for you by the autodetect function.
On the other hand, there are occasions when you may need to
develop relationships on your own or need to make adjustments to
an existing relationship. In any case, it is essential to have a solid
understanding of relationships in Power BI Desktop, as well as how
they can be created and edited.
Autodetect during load
When you query two or more tables at the same time in Power BI
Desktop, it will look for relationships between the tables and try to
construct them for you when the data is loaded. The relationship
options Cardinality and Cross filter direction, as well as the "Make
this relationship active" setting, are already configured by default.
When you run a query in Power BI Desktop, it examines the column
names in the tables you're querying to see if there are any
possibilities for relationships.
If there are, such relationships will be forged on their own. Power BI
Desktop does not establish the relationship if it cannot determine
with a high degree of certainty that there is a match. Nevertheless,
you can still manually establish or update relationships by using the
Manage Relationships dialog box that is available to you.
Create a relationship with Autodetect
● On the Modeling tab, select Manage Relationships >
Autodetect.
Edit a relationship
There are two ways to edit a relationship in Power BI. The first way
is to use the Editing relationships feature found in the Properties
pane in the Model view. This allows you to pick any line that
connects two tables and then inspect the available relationship
options in the Properties pane. Make sure that the Properties
window is expanded so that you can see the relationship options.
We Need a Name...
Here are some words of advice: In the reports that I look at, I often
find that something as basic as a title that reminds people of what
they are looking at can pay off in a significant way. This title can be
something that we repeat on multiple pages, in which case it will
serve as the title of the report; otherwise, we may choose to use
various titles for each page in this report. We also have the option of
having an entire page of the report that is dedicated to acting as a
title introduction of some kind. There are positives and negatives
associated with each method, but for the sake of this example, we
will just offer a straightforward title for the report at the top of the
page. We will do this using the good old-fashioned text box. Inside
the Report view, the "Text box" option can be found inside the Insert
portion of the ribbon. We are aware that a text box does not provide
anything particularly fascinating, yet it is useful. As can be seen in
the picture below, I have positioned the text box so that it is at the
top of my reporting area, justified it in the middle, and added some
wonderful italic to it since I can't get enough of italics. Because I
prefer the Segoe font as well as the default font that comes with
Power BI, and because I want it to be lovely and readable, I enlarged
it quite a bit larger than it originally was.
Conclusion
The process of transforming raw data into a comprehensive report in
Power BI involves several key steps. The journey from raw data to a
comprehensive report in Power BI involves importing and
transforming data, consolidating tables, establishing relationships,
and building the report itself. Power BI provides a user-friendly
interface and a robust set of tools and features to facilitate each step
of this process. By leveraging the capabilities of Power BI, users can
turn raw data into actionable insights, enabling data-driven decision-
making and effective communication of information.
CHAPTER 7
ADVANCED REPORTING TOPICS IN
POWER BI
AI-Powered Visuals
Microsoft has already included four AI-powered visuals in Power BI
Desktop, and it is anticipated that the company will continue to invest
in the creation of more AI-powered visuals to further enhance the
capabilities of Power BI. Both the Desktop version and the online
service may make use of these graphics. They are located in the
Visualizations window, which can be seen in the picture below. The
images consist of "Key influencers," "Decomposition tree,"
"Q&A," and "Smart narratives," in that order from left to right. Now,
let's take a look at each one individually.
Key Influencers
Power BI users are given the ability to do causal analysis by way of
the Key Influencers visual. This entails studying the relationships that
exist between various factors and the influence that these
relationships have on a certain measure.
Power BI makes use of powerful machine learning algorithms to
automatically determine the key influencers based on the data that is
presented to it. Users can identify the most important causes behind
a statistic with the assistance of this graphic, which facilitates data-
driven decision-making.
Benefits and Significance: The Key Influencers visual has a
significant amount of importance for companies and organizations
operating in a wide variety of fields.
It gives users the ability to:
Let's begin by returning to the very top of the visual and selecting the
option labeled "Top segments." In the picture below, you can get a
first glimpse at what it looks like;
The first line has been left the same as it was previously. The second
line, on the other hand, is written in a slightly different way. You'll be
able to see that the question that appears in the selection box has
been rephrased somewhat in its current iteration. The question that
is being asked here is not "What might be causing a value to
increase or decrease," but rather "When is the point of analysis more
likely to be high or low?" In this instance, we will go with Low, even
though High is the setting that comes by default. For this query,
Power BI has shown a tiny scatterplot and provided information on
how it is arranged. The figure illustrates that Power BI has identified
four sections that it considers to be interesting and worth delving into
further. In this instance, it is proceeding from the lowest average
invoice count to the highest, while simultaneously displaying the total
number of records that are included inside each segment.
When you choose one of those bubbles (in this example, we are
going to select segment 2), you'll be able to see on the left all of the
components that go into creating that segment. You can see
segment 2 in contrast to the total value on the right side of the figure
below, and you can also see how much of the data is included in the
segment that you picked to examine.
The visual in and of itself is strong; nevertheless, making use of it
can be extremely irritating. The visual will update itself after each
addition when you add categories to the "Explain by" portion of the
Visualizations pane. It may have difficulty locating combinations of
data that will lead to the identification of noteworthy influencers or
segments. It is not necessarily more beneficial to keep adding
categories though; the more categories you add, the smaller your
population becomes for each combination of categories that you
have added.
To make efficient use of this visual, you will need to have a deep
comprehension of the data as well as some element of human
judgment. What is it that your gut feeling tells you to need to be the
most significant? Begin there and see whether your presumptions
are borne out by the evidence. You'll see that this is a recurring motif
throughout the artificial intelligence visuals section. The AI visuals
cannot make these things function on their own; human intellect is
required to make them operate.
Decomposition Tree
The Decomposition Tree visual is a useful component of Power BI
that gives users the ability to study and explore complicated data
structures in a way that is both understandable and interactive.
Users are given the ability to deconstruct a measure into its parts,
which may include categories, dimensions, or characteristics, and to
graphically illustrate the hierarchical connections that exist within the
data. The composition and distribution of a measure over several
dimensions can be comprehended in a complete and approachable
manner with the help of this visual representation.
Q&A
The end users are supposed to be given the ability to ask questions
about the data by utilizing natural language, which is the purpose of
the Q&A visual. Power BI will make an effort to take your inquiry and
convert it into a chart or a group of data that provides an answer to
your inquiry. The Q&A format has the potential to be quite effective,
but right out of the box, it can seem like it is missing a few of its
screws. Although Microsoft seems to be making progress on the
Q&A feature with nearly every new update, I still wouldn't call it
"natural language" just yet. There are some of the recommended
questions that may not seem relevant. However, there are numerous
things you can do to offer Power BI with just enough context to assist
in making the Q&A feature seem more natural. Putting a question-
and-answer visual onto our canvas, the first thing we notice is the
outcome, which is seen in the picture below;
Breaking down the visual itself, there will always be the option to add
synonyms unless you click the X next to the button. Let's imagine
that you discover a result from Q&A that you truly like and you want
to make it a more permanent fixture in your life. If you want to
transform the Q&A visual into a visual of the kind that was created,
you can do so by clicking the first button to the right of the text box.
The widget right next to it takes you to the settings for the Q&A
section. When hovered over, the "i" in the circle displays a brief
tooltip that confirms the information that the visual is displaying.
We can quickly add to, modify, or eliminate a portion of a question
since it is still in the text field. When you make changes to a
question, the text box will display a drop-down menu that uses a
search engine to try to guess what the question is that you are trying
to ask. This function, as you would assume, improves with usage,
and the more experience you have using it, the more accurate your
synonyms will be. If we intend to make considerable use of the Q&A
feature, we may give the column headings more user-friendly titles.
This could make it easier for the AI to figure out what the meaning of
a column is. When users fill in queries, we can also make the
language simpler by adding synonyms to particular column
descriptors. This will help make the language easier to understand.
In the picture below, there's a button in the upper-right-hand corner
that reads "Add synonyms now." If we choose that option, the box
for configuring the Q&A will pop up, and when we select the Field
synonyms section, we will be sent there immediately, as seen in the
figure below. Take note that it will display all of the tables in the
model, even the ones that we have concealed using the Report view
settings. On the other hand, it will exclude such tables from the Q&A
options by default.
When you choose a table, you will get a list of columns under the
heading "Name," a list of presently recognized synonyms under the
heading "Terms," and a list of suggested terms to the right of that
heading. At the level of each column, you will continue to see a
toggle that gives you the option to include or exclude that column
from the Q&A results. If I click the + button that is located next to any
of the terms that are labeled as "Suggested terms," then that term
will be added to the list of terms that are associated with that column
instantly. The most effective way to illustrate how this works is to
think about the process from right to left. The section referred to as
"Suggested terms" includes a list of potential alternative names for
the Terms section. When a user chooses to use one of the
recommended terms, it is added to the "Terms" section.
When Power BI comes across a question in the Q&A section, it will
utilize those terms to determine which column it should use to
answer the question by using them as real synonyms. The column
labeled "Name" displays the name of the thing that the provided
phrase refers to. The names of tables, columns, or measures can all
be referred to by terms. You will also see that Power BI already has
certain fundamental terms preset; however, these terms are not
especially illuminating. It is my recommendation that, before putting
Q&A into action, you test the system with as many questions as you
can think of. Check out the results that are returned, make any
required changes to include synonyms, and then try again. There are
many options for fine-tuning the outcomes, and enhancing the
quality assurance in your firm is going to be a process that requires
iteration.
The next two aspects of the Q&A setup are the "Review questions"
and "Suggest questions" functions, respectively. Within the
"Review Questions" area, you will have the ability to evaluate every
Q&A question that has been asked in the most recent 28 days
across all of the datasets that you have access to and that have
been submitted. It is frustrating because it displays all of the datasets
to which you have access, rather than only those datasets to which
you have access and which have had questions answered about
them using Q&A. If, on the other hand, someone does have a
question, you can analyze it as well as the response that Power BI
provides to verify for correctness and offer suggestions for how you
would have liked the answer to be presented for that specific topic.
"Suggest questions" gives you the ability to provide questions to
your audience, such as the ones that were shown when we first
viewed the visual. The distinction lies in the fact that they are
questions that you have already evaluated. Consider these
recommended questions to be user-friendly cheat instructions that
can be used by other users when constructing reports utilizing Q&A
visuals. You are aware of the outcomes that will be shown when that
particular question is chosen. These can be excellent jumping-off
locations for your business to begin utilizing Q&A in something of a
sandbox, to instill trust in users about the outcomes, and to stimulate
investigation. In addition to this, this can help provide a particular set
of responses to certain inquiries. Users can choose recommended
questions inside a single visual, which can assist them in better
framing additional visuals on a particular report page. The question-
and-answer portion of a conference call is a tricky beast, and if you
want to get the most out of it, it's just like getting to perform at
Carnegie Hall. It requires a lot of practice, practice, and more
practice. You can also deactivate Q&A against datasets in service if
you would rather not enable customers to utilize the Power BI
service's Q&A feature against a dataset.
Smart Narrative
The visual known as "smart narrative" is a little bit different in that it
does not carry out any actions by itself. If you attempt to place this
visual into a blank canvas, you will get an error notice, and a text box
will be produced instead. However, when put on a report page that
already has other visuals on it, the "Smart narrative" will "read" the
other visuals by constructing a narrative based on the data points
included in those visuals. This narrative will then assist in "reading"
the data. It is essential to keep in mind that a visual with a "Smart
narrative" can be cross-filtered and interacted with by any other
visual on the canvas, and the "Smart narrative" visual will update its
story in response to these actions. You can also add comments to
the "Smart narrative," which will be there independent of any
changes to the filter context that would impact the remainder of the
narrative. This is possible since the "Smart narrative" is still
contained inside a functional text box.
In my opinion, the so-called "Smart narrative" is a sword with two
edges. On the one hand, it is an incredible miracle for the
advancement of data literacy. This visual does an excellent job of
breaking down the data in a manner that can make it intelligible for
nontechnical users and those who aren't as acquainted with the
data. This can have so much value for report users since it can make
the data more accessible. Having said that, it is also rather large and
cumbersome to use. In the end, it's just a big text box that can
construct tales that are so lengthy that you have to drag them up and
down to read them all the way through. Because there is a limited
amount of design space available, determining whether or not the
"Smart narrative" visual is the best option ultimately depends on the
context of your audience and the design options that you make.
What-If Analysis
The What-If Analysis is a strong approach that helps users
comprehend the repercussions of changes in their data by
examining alternative scenarios. This is accomplished via the use of
"what-if" statements. Users are given the ability to experiment with a
variety of inputs, variables, and assumptions to assess the many
possible results. Users of Power BI can simulate and display the
effect of changes made to key performance indicators, metrics, and
other data pieces by using the What-If Analysis feature.
1. Once your data has been imported, open the Modeling tab
by navigating to the Modeling tab on the Power BI Desktop
ribbon. This page provides access to a wide variety of data
modeling-related tools and functions.
2. To generate a new parameter, go to the Modeling tab and
choose the "New Parameter" button from the drop-down
menu. The What-If parameter that you want to specify can
be found in the dialog box that will appear when you take
this action.
3. Within the "New Parameter" dialog box, supply the
following information:
Parameter Modification
1. Locate the Parameter Control: You will need to look for
the visual element that represents the parameter in your
report or dashboard. This control can take the form of a
slicer, a numeric input box, or any other control that enables
users to interact with the parameter.
2. Modify the Value of the Parameter: By interacting with the
parameter control, you can change the value of the
parameter.
Conclusion
By using artificial intelligence, machine learning techniques, and
interaction with R and Python, AI-powered visualizations in Power BI
improve the data analysis and reporting experience. Users can get
deeper insights, carry out sophisticated analysis, and produce
unique visualizations thanks to these functionalities, which eventually
results in more precise and well-informed decision-making. With the
help of R and Python integration and the power of AI, Power BI
enables users to fully use their data to produce reports that are both
engaging and significant.
CHAPTER 8
INTRODUCTION TO THE POWER BI
SERVICE
The Basics of the Service: What You Need to
Know
Microsoft's Power BI Service is a web-based platform that was
designed in the cloud and provides companies with the ability to do
comprehensive data analysis, data visualization, and report
generation.
The following is a detailed review of the fundamental
information that you need to know about this service:
Data Hub
The Data Hub is a centralized platform designed to store and
manages large amounts of data. It provides a secure and efficient
way to. The "Data Hub" section provides users with a
comprehensive view of their available datasets. This includes a
curated list of recommended datasets, a complete list of accessible
datasets, and a personalized list of authored datasets. If you
possess a Premium Per User or Premium Per Capacity license,
you can also observe the Datamarts feature in preview.
It is worth noting that Microsoft provides hyperlinks within this view
that can redirect you to their documentation. This can be helpful if
you have any queries regarding specific elements on the page
related to dataset discovery and understanding the concept of a
dataset. Upon selecting a dataset, a vertical three-dot selection will
appear, providing access to an expanded list of options specific to
that dataset.
This menu provides you with various options to manipulate a
dataset. The approach we will be taking is slightly out of order; with
the settings section being addressed last as it is a distinct topic on its
own. The initial option available to us is to perform an analysis in
Excel. Upon your initial attempt, Power BI will prompt you to install
an update to Excel to properly read the file format. Upon completion
of the task, Power BI will automatically produce an Excel worksheet
that is pre-configured with a live connection to the source dataset.
Connecting to a Power BI dataset to generate a report from Power
BI Desktop is a process that bears resemblance to the one at hand.
The data can be accessed in a pivot-table format, allowing for the
placement of fields into rows and columns, and the inclusion of
measures into the Values section, similar to any other pivot table.
This piece is designed to assist users who may possess the
knowledge to utilize the data model you have established, but may
not yet feel confident using Power BI Desktop. Perhaps the user
requires expeditious pivot-table analysis utilizing Microsoft Excel.
From an Excel standpoint, utilizing this function offers the benefit of
storing only the data that is visible in the cell on the local device,
while the primary data is stored in the cloud. Upon selecting "Create
report," users will be directed to the web report authoring interface.
Here, all tables and measures within the dataset will be readily
available for viewing. With the aid of this feature, it is possible to
construct a report with an unlimited number of pages, which will be
accessible on the Power BI service. It is important to note that the
web authoring experience does not provide the option to modify a
dataset. In the web authoring experience, it is not possible to add a
table or any missing measure. To incorporate your pertinent data
elements, you will need to access the primary dataset, append the
required information, and subsequently re-release the dataset to the
platform.
The "Create paginated report" function generates a Report
Definition Language (RDL) file that includes all the essential
connection details required to produce a pixel-perfect report, similar
to those in SQL Server Reporting Services. This report can then be
hosted on the Power BI service. Paginated reports in the Power BI
service are created using a distinct software package called Power
BI Report Builder, rather than Power BI Desktop. This feature is
exclusively available in workspaces with Premium Per User or
Premium Per Capacity plans. By accessing the "Manage
Permissions" feature, you will be able to view a comprehensive list
of objects that you have the authority to add or remove users. It is
possible to view the individuals who possess direct access to a
report, dataset, or workbook. This interface allows for the manual
addition of users and provides visibility on pending access requests.
You will see a menu in Power BI Desktop that provides a list of the
workspaces to which you have access. From this menu, you will
choose the workspace in which you want to publish the report. In the
context of the service, its role is more of an upward pull than an
outward push. You will need to submit the PBIX file that is located in
the workspace to which you would want to add the dataset and/or
report. On the left, we can see the Discover content functionalities,
which will make it possible for you to see your organizational apps as
well as other template apps that can be directly integrated into the
workspace. You can upload your PBIX file by selecting the Files
option that is located on the right side of the screen.
The Databases & More option gives you the ability to work on the
process of creating a dataset from a connection to Azure SQL, Azure
SQL Data Warehouse (which is now Azure Synapse), SQL Server
Analysis Services, or Spark on Azure. You can do this by connecting
to Azure SQL, Azure SQL Data Warehouse, SQL Server Analysis
Services, or Spark on Azure. Because selecting File is the 99% of
the time when you'll want to utilize this option, the picture below will
show us what the service looks like when File is selected.
You will notice a few different options once you reach this point. For
the sake of this discussion, "Local File" refers to the PBIX file that
you created using Power BI Desktop. You can establish a dataset in
the Power BI service that is linked to either your OneDrive for
Business account or your OneDrive account by using the OneDrive
connections. These sources are handy from a refreshing standpoint
since they do not call for the use of a data gateway to be refreshed.
Despite this, I continue to recommend that you construct your report
using sources from OneDrive in Power BI Desktop as opposed to
doing it here. In a similar vein, the same may be said about the
SharePoint option.
It is important to keep in mind that even in circumstances in which
you could be utilizing OneDrive or SharePoint for the sake of version
control; you can still upload PBIX files over those channels. This is
one use case that can make it simple to utilize these nonlocal file
alternatives. When you pick Local File, the classic window for
Windows Explorer will come up for you to browse your files. Find the
right file, and then upload it to the server. Following that step, the
dataset will be visible in the workspace navigation section
corresponding to the chosen workspace.
One other point: Anytime a dataset is uploaded to a workspace for
the first time, it will also automatically generate a dashboard with the
same name as the dataset. This dashboard will be empty. You can
now see that transferring our work from Power BI into a workspace is
a very straightforward process; however, what exactly is a
workspace and why are they important?
What Is a Workspace?
A workspace in Power BI is nothing more than a storage location for
various data assets. A workspace is where datasets, reports, and
dashboards are stored. A workspace is also where visualizations are
stored. You can send users to a workspace for them to get content,
and you can also utilize a workspace as the foundation for an
application that you will send users to obtain content. When we
publish datasets and the reports associated with them to the service,
we are, in effect, publishing them to these workspaces.
My Workspace
Anyone who uses the Power BI service will automatically have a
"free" customized workspace created for them. You have a
responsibility to be aware of a few significant restrictions that apply
to this workplace. To begin, to share content that is located in your
workspace, both you and the individuals with whom you share are
needed to have at least a Power BI Pro license. This is the case
even if you can share the content.
Second, it is widely regarded to be a smart practice to not share
anything permanently outside of your workplace. This is because
access to that workspace can become problematic if you ever leave
the business. Additionally, the content in your workspace cannot be
used to create an application. Sorry, but you can't utilize this to get
around the license requirements set by Microsoft. You also are
unable to make a dataflow in Power BI, which is another thing you
cannot accomplish. Using one's workstation as one's private testing
environment is the most productive way to utilize that space. After
constructing your report and determining that it has an appealing
appearance in Power BI Desktop, you publish it to the service and
then see it there to verify that all of the components are operating as
you would want them to. Does the report maintain its professional
appearance when viewed on a variety of screen sizes? When you
don't have access to the additional capabilities provided by Power BI
Desktop, does the navigation of the report flow the way you want it
to? These are queries that can be answered right here, in the
comfort of your workstation. You can also test your scheduled
refresh in this workspace, which can be beneficial before transferring
that dataset into a more permanent home in a shared workspace.
Alternatively, you can test your planned refresh in this workplace.
Shared Capacity Workspaces
Users who have Power BI Pro or Power BI Premium per User
licenses can share Power BI data components with other users who
also have access to a shared capacity workspace if the workspace is
set up with that capability.
The procedure of establishing a workplace is quite uncomplicated.
You will see a list of the workspaces to which you have access when
you click the Workspaces button, which is located in the Navigation
menu. This will cause a window to appear to the right of the
Navigation menu. In this particular scenario, I've created two other
workplaces in addition to "My Workspace." The first workspace is a
Premium per User workplace, while the second workspace is a
standard shared capacity workspace. A Premium per User
workspace is required for the operation of some functionality. In
contrast to a regular Pro license shared workspace, Premium per
Capacity workspaces will have a diamond symbol next to their
names so you can determine whether it is a Premium per User or
Premium per Capacity workspace. Have a glance at it in the
photograph that is provided down below. You can start a new
workspace by selecting the option that is located at the very bottom
of that list.
The newly generated workspace will provide you with alternatives
that are suitable for your licensing requirements. In this example, we
are going to make use of the premium per-user trial that's free for the
first sixty days. The creation of a workspace will trigger the
appearance of a pane on the right-hand side of the page. There will
be a spot for the name of the workspace and a description of the
workspace, as well as a picture that will explain the workplace.
Additionally, some configuration options can be found in the
advanced portion of this pane. We can choose the individuals who
will be included on the contact list for this newly created workspace,
affix a OneDrive location to the workspace so that files can be
hosted there, and determine the kind of licensing mode that is
associated with the workspace (in this example, Pro, Premium Per
User, Premium Per Capacity, or Embedded).
If your company does not have the appropriate license in place, the
Embedded and Premium per Capacity options will be grayed out.
If you do not have a license for Premium per User, then the
Premium per User option will likewise be unavailable to you. You
have the option of designating the workspace as one that is being
used for the creation of a template app, and you also have the option
of allowing contributors to change any app that originates from this
workspace. When you want more than one person to be able to
deploy the updated app yet you have numerous individuals working
on the development of a particular Power BI solution, this can be
useful.
It is essential to keep in mind that both the Pro and Premium per
User workspaces can be accessed inside a licensing hierarchy. For
example, if I have a Pro workspace, users who have licenses for
either Premium per User or Pro will be able to access the workspace
and the data items that are included inside it. On the other hand, if
the workspace in question requires a Premium per User license to
be accessed, only those individuals will be permitted to do so. This
rule does not apply to businesses that have Premium per Capacity
licensing since that permits an unlimited number of readers inside an
organization to access any workspace built on its premium capacity
node. Consequently, this regulation is null and void in such
organizations.
Dataflows in Shared Workspaces
In Power BI, a "dataflow" refers to a shared data element that is
kept in a workspace and that can be called upon to serve as a data
source for the creation of reports.
Consider this to be an ETL process that not only retrieves data from
some source and does certain transformations, but also generates a
data piece that can be utilized for further analysis outside of the
context of a particular model. These days, there are two distinct
varieties of dataflows. Refer to the first kind of dataflows as
"classic," and the second type as "streaming." Any workspace that
includes one kind of dataflow cannot also have the other type of
dataflow inside the same workspace.
A set of tables that were produced by the Power Query service
inside the Power BI platform constitutes a traditional dataflow. In the
section under "Get Data," you will discover the possibility to make a
dataflow. When we were looking at that page in my workspace, the
option that is now there under the heading "Create new content"
was not there when we first looked at it. Several data sources are
not accessible via a Power BI dataflow that is available through the
Power BI Desktop. It is a rather comprehensive list of the most
frequent data sources, although Microsoft does sometimes add new
data sources to the Power Query Online platform. When working
with a Power BI Desktop file, it can be convenient to have a series of
transformations or components of a data model that aren't
dependent on a single dataset for execution. Additionally, it is
beneficial to have reusable data items so that other individuals within
the business may potentially use them as a foundation for their
analysis. On licenses for the Pro tier, classic dataflows can be used.
A minimum of a Premium per User license is required to use
streaming dataflows. Only users who have a Premium per User
license or who are working in an environment that is Premium per
Capacity can consume reports that have been shared from
streaming dataflows. Power BI is given the ability to call either an
Azure Event Hub event or an Azure IoT event by virtue of a
streaming dataflow. You can do "real-time" reporting on data that is
generated by any of these scenarios by consuming data from either
of those sources and performing transformations on that data in real-
time. Although this is a wonderful feature, the fact that it can only be
used with Azure Event Hubs and Azure IoT Hub restricts its utility,
and setting up this kind of event requires a bit more work than usual.
I'm hoping that before they make this available to the general public,
they increase the number of available options and makes it simpler
to make use of them.
Putting Your Data in Front of Others
Therefore, even if we can place our data in a workspace, we still
need to make sure that other people can see it. We can do it using
one of a few different approaches. Users can join the workplaces
that we develop thanks to this option. An app can be made by us.
Reports can be linked to either Teams or SharePoint as necessary. If
we are using Power BI Embedded, we can also embed report parts
into either a website or an application. It is highly recommended that
you collaborate with an application developer to integrate reports into
an application. An application developer will be able to assist you in
overcoming any technical obstacles that may arise. Otherwise, let's
begin sharing.
Adding Users to a Workspace
Simply adding someone into our office is the quickest and simplest
approach to providing someone access to our data. That is a simple
thing to do.
When we pick a workspace from the list of available workspaces, we
are presented with a view. You should notice an Access button in
the upper-right corner of the screen. When you click it, a pane will
open up on the right side of the screen that enables us to add or
delete people and specify the function that each person plays in the
workspace. You will also notice a space where you can add
individuals or organizations by entering their email addresses. This is
helpful since Power BI can very effortlessly interface with your
current directory instance in an organizational context, allowing you
to search for individuals in your company and validate their email
addresses. Simply add them by clicking the Add button.
Creating an App
Choose the workspace that already has the components of the
app you want to build. On the other side of the workspace objects,
you will find a toggle that gives you the option to choose whether or
not the item should be included in the application. Only the reports
and dashboards that make use of a particular dataset will be
included in an app; datasets themselves are not shared.
The software still gets its information from the dataset, but it
conceals the dataset itself from users of the app. Click "Create app"
in the upper-right corner after you have the things you want to
include in your app chosen, and you will be sent to a screen similar
to the one shown in the picture below.
There are controls to choose the app's name, enter a description,
create a link to a site where end users can get help or read
documentation, and determine app navigation settings (I like the
default navigation of the navigation builder, so I tend to leave this
alone), and set permissions around who can access the app. These
controls can be found in the app's settings menu.
Does it apply to the whole organization? Is there a certain kind of
user involved here? With build permissions, who can access the
datasets that are underneath the application? Is it possible for them
to make copies of the reports? Are users able to share, and, as a
last question, ought this software to be automatically installed? You
should probably discuss some of these options with someone in your
business that is responsible for data governance, since that person
may already have rules in place that will assist and guide your
options.
Conclusion
Power BI Service offers a comprehensive and robust platform for
data visualization, sharing, and collaboration. With its intuitive
interface and powerful features, users can harness the full potential
of their data to gain valuable insights and make informed decisions.
The Power BI Service serves as a centralized hub for managing and
accessing data, reports, and dashboards. It allows users to connect
to various data sources, including cloud-based services, on-
premises databases, and online services, ensuring that data can be
easily integrated into Power BI for analysis.
CHAPTER 9
LICENSING AND DEPLOYMENT TIPS
Licensing
The concept of a license in and of itself is straightforward. It is a paid
agreement that gives you the right to use a service for as long as
you keep paying for it, no matter how long that can be. You may
have the option of paying for one level of capability inside a service
rather than another if the product in question offers many tiers of
functionality. For the majority of customers, the license for Power BI
can be divided into three primary categories: Pro, Premium per
User, and Premium per Capacity.
Free, Pro, and Premium per User (PPU) are the three varieties of
individual user licenses that are available for Power BI. The location
of where your content is kept, how you want to engage with that
content, and whether or not the content utilizes Premium features
will decide the sort of license you need. The Premium capacity-
based license is the other kind of license that may be obtained.
PPU and Pro users that have a capacity-based license for Power BI
Premium can generate content in workspaces that have been
designated as having Premium capacity. After that, PPU and Pro
users can provide access to such Premium workplaces to their
coworkers, including free users.
Power BI service licenses
There are two types of licenses: one that relates to an individual
(per-user licensing), and another license (often also referred to as a
subscription) that applies to the sort of storage capacity that an
organization acquires. It is essential to note the difference between
these two types of licenses when discussing licenses.
Each of the three individual user licenses is distinct from the others,
and each provides access to a different subset of the tools and
capabilities offered by the Power BI service. When you combine the
benefits and capabilities of each kind of per-user license with the
usage of a Premium capacity, which is where Pro, PPU, and free
license holders receive access to extra features and capabilities -
such as sharing, collaboration, and more - you have what is known
as a Premium capacity.
Pro license
Users are allowed to not only view and interact with content that has
been published by others to the Power BI service but also produce
their content via the use of an individual license called Power BI Pro.
Users that have this sort of license can exchange content with one
another and work with users of other versions of Power BI Pro.
Power BI Pro users are the only ones who can produce content,
share content with other Power BI Pro users, or consume content
that was developed by other Power BI Pro users unless the content
is hosted by a Power BI Premium capacity. If the content is hosted
by a Power BI Premium capacity, then users with a Pro subscription
can collaborate and share content with users with a free or PPU
subscription as well.
Premium capacity
Users with a Pro or PPU account can produce and store content in
Premium capacity workspaces if they have a capacity-based
Premium license, which is also often referred to as a Premium
subscription. After that, they can share that workspace with
coworkers who have any sort of license. Premium capacities can
only be used to generate and store content by users who have a Pro
or PPU license, and even then, only if their organization has
acquired Premium capabilities.
You may want users to be able to interact with the data items you've
developed at some time, even if you don't intend to bring those
elements to the workspace directly. This can be accomplished by
incorporating them into an application that is driven by a workspace.
On the homepage page for our workspace, there is a large "Create
app" button located in the upper-right-hand corner of the page. On
this very first page of the Setup process, we have a few different
options. We give our app a name and a description, and we can
provide a link to a support or documentation website where users
can get assistance with using the app. In addition, we can provide a
logo for our app, choose the color scheme for the app's interface,
and, finally, we can show contact information for the person who
should be contacted about access to the app. All of this ought to
seem quite familiar by now since it is in accordance with our
previous experience with the construction of workspaces.
Before you go ahead and click the button that says "Publish app,"
you will see that there are a few more things that need our attention.
Following the Setup tab, we will find the Navigation and Permissions
tabs. Let's go over them in the order they were presented, beginning
with Navigation.
Cloud Deployment
Cloud deployment, on the other hand, refers to the process of
hosting the Power BI infrastructure on the Azure cloud platform
provided by Microsoft.
Let's look at some of the benefits of using this approach:
Conclusion
In conclusion, understanding the licensing and deployment aspects
of Power BI is crucial for effectively implementing and utilizing the
platform. By selecting the right licensing model and deploying Power
BI in a suitable environment, organizations can optimize their data
analytics and reporting processes.
Choosing the appropriate licensing option for Power BI involves
considering factors such as the number of users, their roles and
requirements, and the desired level of functionality. Power BI offers
various licensing tiers, including free, Pro, and Premium, each with
its own set of features and limitations. Organizations should assess
their needs and budget to determine the most suitable licensing
model.
CHAPTER 10
THIRD-PARTY TOOLS
Get to Know Business Ops
You can attempt to identify each component or extension for the
majority of tools, then download that extension, install it one at a
time, and then manage your content. Keeping this in mind, PowerBI
Tips has developed an external tool manager that goes by the name
Business Ops and can be downloaded at no cost at all. This
website takes all of the hard work of gathering a large number of
third-party tools, putting them into one location, and enabling you to
rapidly install and configure the ones that you are interested in using.
It is continually updated whenever newer versions of the external
tools to which it connects are also made available for use.
The download is sent in the form of a ZIP file, and the installer may
be found inside the ZIP file itself. When the installation is finished,
you will be presented with a user interface like the one seen in the
picture below. You can see the release notes for the version of
Business Ops that you've installed by navigating to the Home
landing page. You can access the Git repository of the code if you
want since it is entirely open source. You will be able to use
Business Ops to install a large number of Power BI add-ons, quickly
get access to learning tools, design Power BI themes, use a gallery
for bespoke visualizations that are not available via AppSource, and
locate connections to some of the very greatest DAX resources in
the entire world.
Add External Tools, Remove External Tools, and
Modify Display Order
From this location, we can go to Add External Tools to see the list
of external tools that Business Ops has curated. After viewing the
list, we can then have those package files uploaded so that Power BI
identifies them as external tools. You can do this with the use of a
very simple checkbox interface. There is a lot of information on this
page, and although the scroll bar on the right side of the application
may not be the simplest thing to see, I can assure you that it is there.
The scroll wheel on my mouse is my preferred method of navigation
while using this. The ALM Toolkit, Tabular Editor, DAX Studio, and
Bravo will be the primary focuses of this section. When you have
gathered all of the tools that you want to add, click the blue "Add
External Tools" button that is located in the bottom right corner of
the screen. After that, leave the rest of the work to Business
Operations.
The software add-ons, such as the ones we are talking about right
now, are installed into the same folder that the Business Ops
software does. This is a disadvantageous feature for some reasons.
In addition, Business Ops will not create unique entries in your Start
menu for the software installs it does. This behavior is distinct from
the behavior of installing the programs directly from their respective
individual installers. To get around this, I start a new blank Power BI
file once the external tools have been installed, and then I use those
external tools to forcibly open the program that I need to use. Right-
click anywhere on the Windows taskbar, and after that, pick the
option to Pin to Taskbar. If you want to create separate shortcuts for
your desktop, you will need to open Windows Explorer, browse to the
program that you want to create a shortcut for inside the Business
Ops directory, and then create the shortcut for the software in the
same way that you would in any other version of Windows.
You can change the order in which the tools show in the External
Tools segment of the ribbon in Power BI Desktop by navigating to
the Edit External Tools section and selecting the appropriate option
from the drop-down menu. You can even delete individual items from
the list entirely if you want to. When you install third-party tools, a
JSON file specific to each tool is produced automatically. You can
make changes to the filename by selecting the pencil icon. The tools
that are available in Power BI Desktop are shown from left to right
and in alphabetical order. By default, each JSON file starts with a
three-digit code that sets the initial order.
If an item was installed using this program, you can also uninstall it
from your External Tools list. To do this, click the garbage can that is
located next to the Edit button. If you delete anything by mistake, you
can always go back to Add External Tools, and everything you
currently have there will be grayed out when you do so. You can
simply choose the tool you wish to restore and then add it once
again.
Learning, Theme Generation, Visual Generation
The custom theme generator is incredible! You can assemble a motif
consisting of colors and individualized visual settings, which you can
configure on either the global or the individual visual level. After that,
you can use Power BI Desktop to import it as a custom theme. This
tool will also provide you with the hex codes for all of the colors that
you choose, allowing you to keep track of them for any future
reference needs. You will notice that there is a color sliding scale on
the left side of the page. This scale enables you to move from red to
violet and then back again to red, following the color sequence of
red, orange, yellow, green, blue, indigo, and violet. At any position
along that bar, the square corresponding to the color range you have
picked will display a selection of lighter and darker hues for you to
choose from, as well as the hex code for the color that you have
presently selected.
You can enter those codes directly in the input field at the bottom of
the page if you already know your hex codes. For example, if the
marketing department of your company provided you with your
organization's hex-code color scheme, you could enter those codes.
You can access a list of color schemes that have previously been
produced in the Palette area by looking in the Gallery portion of the
app. If you click on a color theme that is shown in this section, you
will be sent to a sample page of the Power BI Report that will
demonstrate how the theme appears when combined with visuals.
This function is of great assistance. In the Charts section, you will
see a selection of bespoke visuals that have been produced using
Charticulator, a visual creation tool developed by Microsoft that
allows users to build their visuals. You can download and import
these custom visuals into the report that you are working on in
Power BI Desktop. Importing the PBVIZ file will allow you to do this,
after which it may be added as a custom visual.
When you choose the Create My Own option inside the program, a
fully operational version of Charticulator will appear for you to use. It
is important to keep in mind that strictly speaking, this is a fork (or a
clone of the code source) of Microsoft Charticulator. This is because
Microsoft has made a few minor UI adjustments. On the other hand,
the behavior of whatever you make in this version of Charticulator
will be the same as if you had made it by going to the Charticulator
website and making it there.
Additional DAX Resources
Both the DAX Guide and the DAX.do websites are provided free of
charge courtesy of the people at SQLBI. Business Ops provides
direct connections to both of these outstanding DAX resources.
DAX Guide provides a list of every DAX function, which includes its
syntax, the kind of values that function returns, real-world coding
examples written with DAX best practices, and, for many functions, a
YouTube video in the upper-right corner that has even more
information on the function presented in an approachable video
format.
On the homepage of DAX Guide, we can choose a particular
category of DAX functions to explore or learn about the most current
DAX functions to be published and the dates on which they were
made available. As someone who uses DAX in settings other than
Power BI, I find it quite helpful to be able to see, on the left, which
products a certain DAX function will operate with. This feature is not
limited to Power BI.
On the other hand, DAX.do is a fully-featured DAX playground that
gives you the ability to edit and reorganize some aspects to make
them conform to the testing method that you want. You have access
to two data models inside the playground; these are the Contoso and
the DAX Guide models.
You can switch between them at any time. The DAX.do column list
supports dragging and dropping of data between columns. It will tell
you the functions you are attempting to utilize and then offer you a
drop-down list of those functions so that you can access the DAX
Guide pages for those functions. You can see your results, and if
you make a mistake in the query that you are writing, you will get the
proper error notice.
Because Business Ops offers us access to a diverse selection of
third-party tools, we would focus on some of the most advantageous
ones. Specifically, we will go through a DAX editor, a dataset editor,
and a tool for analyzing the health of datasets and generating
measures in an easy-to-use manner. Let's begin by discussing DAX
Studio, the most powerful querying tool available for DAX.
DAX Studio
You can develop, run, and examine DAX queries with the help of
DAX Studio, an open-source tool that is compatible with Power BI.
DAX is an acronym that stands for preset codes, functions, and
operators that are used to carry out data-centric analytical
operations. The Power BI DAX Library contains over 200 different
functions, operators, and constants that, when applied to Data
Analysis activities, give an enormous amount of versatility. In
addition to this, DAX Studio is constantly being updated with
additional capabilities and functionalities to handle the addition of
new features.
A built-in editor that gives you the ability to develop and run queries
is included with DAX Studio by default. Object browsing, query
editing and execution, syntax highlighting and formatting, formula
and measure editing, integrated tracing, and query execution
breakdowns are some of the features that are facilitated by this. To
put it another way, DAX Studio presents critical facts and information
pertaining to the data model as well as your DAX queries.
What can you do with DAX Studio in Power BI?
• Learn DAX Language: DAX Studio not only assists you in
authoring DAX queries and analyzing the performance of your
data models, but it also aids you in becoming proficient in the
DAX language. If you want to learn more about DAX, you can
do so by navigating to the Home page and exploring the Query
Builder there.
• Optimize your Model Performance: The VertiPaq Analyzer is
a tool that is integrated with DAX Studio that makes it possible
for you to improve the performance of your model easily. It
gives you a quick summary of the data distribution and the
amount of memory that is being used, and it assists you in
solving the problems. You can also run a measure in DAX
studio and make use of the Server Timings tool to get insight
into how the formula is being processed.
• Visualize DAX “table” Functions: The results of DAX
measures that include a table function can be shown in DAX
Studio. This gives you the ability to see the result table,
allowing you to verify that the appropriate table is being
generated. The Power BI Desktop application does not provide
this particular feature.
• Extract your measures into a Spreadsheet: You can quickly
extract a list of your measures from your DAX Studio data
model into a Spreadsheet. This makes it simple for you to
record and reuse the measures you've created.
Download, Install, and Setup DAX Studio Power
BI
• To begin, you will first need to ensure that you have the most
recent version of DAX Studio downloaded to your computer. It
is a free and open-source tool that may be downloaded without
cost at any time. After the file has been successfully
downloaded, you can immediately begin the installation
process.
• When the installation is running, you can choose either
"Current User" or "All Users" to continue. It is highly
suggested to make use of the 'All Users' install option as the
default since this option provides the user with the fullest
possible experience.
Metadata Panel
The metadata of your tables in your data model is going to be the
first thing that you notice when you log into the DAX Studio for the
first time. This is the Metadata Panel, and in this panel, you can
locate all of the tables, columns, and DAX measures that are
included in your data model. Any table that has been designated as
a "Date Table" will have a symbol depicting a clock displayed next to
it.
The Ribbon
The next part of DAX Studio is the ribbon, through which you can
access all of the other functions. Let's talk about the many different
significant options that are included inside this ribbon.
Query Pane
You can write, modify, format, and view your queries in the Query
Pane.
Output Pane
The results of your query are shown in this Output Pane, which
is the default for the Output Pane. It has these three tabs:
• Output: You can get some basic information about the query's
execution time in this section.
• Results: This is only a temporary storage place that is used to
return the result table once the query has been executed.
• Query History: This shows a list of the queries that have been
run in the past.
There is also a wonderful visual that shows how much of the model
is occupied by certain columns or, in the case of my example, a
cluster of lesser columns. The visual will split out those columns as
well if I pick the smaller columns collection in the columns list.
Everything that is marked in yellow is something that is not being
utilized in the model at this time and might be a candidate for
removal. If you have a model with a lot of columns, using the search
function and the filter function, both of which are available, can be
quite beneficial. There is also the option to download a VPAX file,
which is a file that can be read by a piece of software known as
VertiPaq Analyzer, which is another piece of software that was
developed by the individuals at SQLBI. When I'm ready to commit
my modifications, I prefer to utilize Bravo to locate columns that I can
get rid of. After that, I'll use the ALM Toolkit to make a record of the
changes made to the columns and then use that record to deploy the
changes to an updated PBIT or BIM file.
DAX Formatting
If you don't use Bravo for anything else, getting it only for the Format
DAX page is worth it. You can see all of your measures, and the
DAX Formatting service will read the script if you click Analyze Now.
It will inform you how many of your measures include mistakes and
how many of your measures are not prepared in the manner that the
DAX Formatting service recommends they be structured in. You
have the option of selecting individual measures, or you can pick all
of them at once and have them formatted in bulk. If you click on a
measure, a window will emerge on the right side of the screen. This
window will provide you with a preview of the formatted DAX as well
as the currently applied format. You can leave the formatting of a
particular measure alone if you know of a good justification for doing
so, in which case you should focus on correcting the other formats.
There is no need to have an unformatted DAX when you have
something like Bravo; when your DAX is formatted and someone
else's isn't, I guarantee that you will appear better than they do.
Manage Dates
You can ask Bravo to generate a date table for you, as well as a
large number of time intelligence measures, depending on the
measures that are already included in your model. This tool can help
you save a significant amount of time by automatically creating
hundreds of correctly structured measures, which will speed up the
development of your program. Having said that, there is a catch. Two
things are not allowed in your Power BI data model: first, you cannot
have the auto date/time feature activated, and second, you cannot
have another table already recognized as your date table. Bravo will
let you know whether the Manage Dates functionalities can be used
with the data model that you currently have. If you can do so, you will
be able to rapidly design a date table complete with predetermined
time intervals, the language of your choosing, and even the option to
choose which nation's holidays should be included in the model.
If that were the only thing that this thing could do, then it would
already qualify as fantastic. It gets better. In the time intelligence
section, you will be asked if you want these measures to be enabled
and, if yes, whether you want time intelligence to be constructed for
all of your measures or a subset of measures that you choose. You
can get a brief idea of how deep the measure rabbit hole goes in
Bravo by looking at the image below. Additionally, it will generate
display folders for you, which is a very helpful feature. If you want to
become better at DAX, there are some fantastic examples of how to
create DAX utilizing time intelligence functions that you can use to
help push you along in your DAX journey. If you want to get better at
DAX, you can use these examples to help you get better at DAX.
Export Data
Users can make use of the sophisticated visualization and analytical
capabilities of Power BI with the data that is stored in Bravo by using
a simple procedure that involves exporting data from Bravo to Power
BI.
Understanding Bravo's Data Export Options
Before exporting data from Bravo, it is very necessary to have an
understanding of the many export options that are at one's disposal
and choose the format that is most compatible with Power BI.
Exporting to CSV (Comma-Separated Values), Excel, JSON
(JavaScript Object Notation), and maybe even other standard
formats might be one of the many exporting features that Bravo
provides. Importing data into Power BI is made easier and more
compatible using these formats, which provide flexibility. If you
require further information on the data that was exported, Bravo can
also offer you an export summary page. When the export is finished
and the file is saved, Bravo will even provide you with a visual link
that you can click to be taken directly to the file. As of right now, it is
still exporting to either Excel or CSV, which means that it cannot
export an endless amount of rows. If you have a procedure that
requires you to get millions of entries from a table, you will almost
certainly find that utilizing an Evaluate statement in DAX Studio and
exporting the results from there is the most efficient course of action
to take. On the other hand, if your table does not include millions of
rows, using Export Data as a method to export data from a table in
your data model can be an extremely useful option.
Preparing Data in Bravo
It is very necessary to prepare the data inside Bravo to guarantee
that the export procedure will go off without a hitch. This requires the
data to be organized and structured in a manner that is compatible
with the reporting requirements of Power BI. To keep the data's
integrity and consistency intact, it is necessary to clean the data,
format the data, and validate the data. Before exporting the data, it
can be refined using the data preparation tools provided by Bravo.
These tools include methods for filtering, sorting, and aggregating
the data.
Exporting Data from Bravo
When the data is available, Bravo offers an export or downloads
option that can be used to extract the data so that it can be used in
Power BI. Find the export option inside the interface of Bravo. This
option is often located in the menu or toolbar of the interface. Based
on the needs you have for Power BI, choose the format you want to
use (for example, CSV, Excel, or JSON). Follow the on-screen
instructions to pick the particular data to export, such as the specific
tables or queries, and then click "Export."
Conclusion
Utilizing third-party applications increases Power BI's capability and
capabilities, giving customers better access to data analysis and
visualization tools. In addition to Power BI's built-in capabilities,
customizations, and connectors, these products provide extra
features and functionality. Users can boost Power BI's functionality in
some areas, including advanced analytics, data preparation, custom
visuals, and access to a variety of data sources, by using third-party
applications. These technologies enable users to get deeper insights
from their data by offering sophisticated statistical analysis,
predictive modeling, data profiling, and data cleaning capabilities.
Beyond what is offered by Power BI's basic visuals, custom
visualizations developed by third parties provide distinctive
visualization options. By presenting data in unique and aesthetically
pleasing ways, these visuals enable users to generate more
engaging and personalized reports and dashboards.
Commonly Used DAX Expressions
Aggregation Functions
Aggregation functions are used in DAX (Data Analysis Expressions)
to perform calculations on a set of values within a column or table.
These functions summarize or aggregate data based on specific
criteria.
Here are some commonly used aggregation functions in Power
BI:
16.
RANKX: Calculates the rank of a value within a
specified column, optionally sorted by another column.
Example: Rank = RANKX(Sales, Sales[Amount], ,
DESC)
17.
PERCENTILEX.INC: Calculates the value at a
given percentile within a column or expression. Example:
90th Percentile = PERCENTILEX.INC(Sales,
Sales[Amount], 0.9)
18.
TOPN: Returns the top N rows based on a
specified expression and ranking. Example: Top 5
Customers = TOPN(5, Customers,
Customers[TotalSales], DESC)
19.
BOTTOMN: Returns the bottom N rows based
on a specified expression and ranking. Example: Bottom
10 Products = BOTTOMN(10, Products,
Products[Sales], ASC)
20.
DISTINCTCOUNTNOBLANK: Counts the
number of distinct non-blank values in a column or
expression. Example: Number of Customers =
DISTINCTCOUNTNOBLANK(Sales[CustomerID])
21.
SUMX: Calculates the sum of an expression
for each row in a table, and then aggregates the results.
Example: Total Revenue = SUMX(Sales, Sales[Amount]
* Sales[Quantity])
22.
AVERAGEX: Calculates the average of an
expression for each row in a table, and then aggregates
the results. Example: Average Revenue per Customer =
AVERAGEX(Customers, SUM(Sales[Amount]))
23.
CALCULATE and ALLEXCEPT: Modifies the
filter context for an expression, removing all filters except
those specified. Example: Total Sales All Years =
CALCULATE(SUM(Sales[Amount]), ALLEXCEPT(Sales,
Sales[Product]))
24.
FIRSTDATE and LASTDATE: Retrieve the first
or last date in a column or table, considering the filter
context. Example: First Sale Date =
FIRSTDATE(Sales[OrderDate]) Last Sale Date =
LASTDATE(Sales[OrderDate])
25.
CONCATENATEX and VALUES:
Concatenates values from a column or expression,
considering the filter context and returning distinct values.
Example: Concatenated Products =
CONCATENATEX(VALUES(Products[Category]),
Products[Category], ", ")
19.
TIMEVALUE: Converts a text string
representing a time to a time value. Example: OrderTime
= TIMEVALUE("09:30 AM")
20.
NOW: Returns the current date and time.
Example: CurrentDateTime = NOW()
21.
DATEVALUE: Converts a text string
representing a date to a date value. Example: OrderDate
= DATEVALUE("2023-06-14")
22.
QUARTER: Returns the quarter of the year for
a date value. Example: Quarter =
QUARTER(Sales[OrderDate])
23.
WEEKNUM: Returns the week number for a
date value. Example: WeekNumber =
WEEKNUM(Sales[OrderDate])
24.
STARTOFYEAR: Returns the first date of the
year for a given date. Example: YearStartDate =
STARTOFYEAR(Sales[OrderDate])
25.
ENDOFYEAR: Returns the last date of the
year for a given date. Example: YearEndDate =
ENDOFYEAR(Sales[OrderDate])
26.
STARTOFQUARTER: Returns the first date of
the quarter for a given date. Example: QuarterStartDate =
STARTOFQUARTER(Sales[OrderDate])
27.
ENDOFQUARTER: Returns the last date of
the quarter for a given date. Example: QuarterEndDate =
ENDOFQUARTER(Sales[OrderDate])
28.
STARTOFMONTH: Returns the first date of the
month for a given date. Example: MonthStartDate =
STARTOFMONTH(Sales[OrderDate])
29.
ENDOFMONTH: Returns the last date of the
month for a given date. Example: MonthEndDate =
ENDOFMONTH(Sales[OrderDate])
30.
NEXTDAY: Returns the next date after a given
date. Example: NextDay = NEXTDAY(Sales[OrderDate])
31.
PREVIOUSDAY: Returns the previous date
before a given date. Example: PreviousDay =
PREVIOUSDAY(Sales[OrderDate])
32.
ADDMONTHS: Adds or subtracts a specified
number of months to a date value. Example: FutureDate =
ADDMONTHS(Sales[OrderDate], 3)
33.
ADDYEARS: Adds or subtracts a specified
number of years to a date value. Example: FutureDate =
ADDYEARS(Sales[OrderDate], 2)
34.
DATESBETWEEN: Returns a table of dates
between two given dates. Example: DateRange =
DATESBETWEEN(Dates[Date], DATE(2021, 1, 1),
DATE(2021, 12, 31))
35.
TOTALMTD: Calculates the month-to-date
value for a specified expression. Example: TotalSalesMTD
= TOTALMTD(SUM(Sales[Amount]), Dates[Date])
15.
DATESBETWEEN: Returns a table of dates
between two specified dates. Example: Sales Dates
Between = DATESBETWEEN(Dates[Date], DATE(2023,
1, 1), DATE(2023, 12, 31))
16.
TOTALQTD: Calculates the quarter-to-date
value for a specified expression. Example: Total Sales
QTD = TOTALQTD(SUM(Sales[Amount]), Dates[Date])
17.
SAMEPERIODLASTQUARTER: Returns a
table that includes the same period as the current context
but in the previous quarter. Example: Sales Last Quarter
= CALCULATE(SUM(Sales[Amount]),
SAMEPERIODLASTQUARTER(Dates[Date]))
18.
PREVIOUSNMONTHS: Returns a table that
includes the data for the specified number of previous
months. Example: Sales Previous 3 Months =
CALCULATE(SUM(Sales[Amount]),
PREVIOUSNMONTHS(3, Dates[Date]))
19.
STARTOFYEAR: Returns the first date of the
year for a given date. Example: Year Start Date =
STARTOFYEAR(Dates[Date])
20.
ENDOFYEAR: Returns the last date of the
year for a given date. Example: Year End Date =
ENDOFYEAR(Dates[Date])
21.
STARTOFQUARTER: Returns the first date of
the quarter for a given date. Example: Quarter Start Date
= STARTOFQUARTER(Dates[Date])
22.
ENDOFQUARTER: Returns the last date of
the quarter for a given date. Example: Quarter End Date =
ENDOFQUARTER(Dates[Date])
23.
STARTOFMONTH: Returns the first date of the
month for a given date. Example: Month Start Date =
STARTOFMONTH(Dates[Date])
24.
ENDOFMONTH: Returns the last date of the
month for a given date. Example: Month End Date =
ENDOFMONTH(Dates[Date])
25.
NEXTDAY: Returns the next date after a given
date. Example: Next Day = NEXTDAY(Dates[Date])
26.
PREVIOUSDAY: Returns the previous date
before a given date. Example: Previous Day =
PREVIOUSDAY(Dates[Date])
27.
NEXTMONTH: Returns the next month after a
given date. Example: Next Month =
NEXTMONTH(Dates[Date])
28.
PREVIOUSMONTH: Returns the previous
month before a given date. Example: Previous Month =
PREVIOUSMONTH(Dates[Date])
29.
NEXTQUARTER: Returns the next quarter
after a given date. Example: Next Quarter =
NEXTQUARTER(Dates[Date])
30.
PREVIOUSQUARTER: Returns the previous
quarter before a given date. Example: Previous Quarter =
PREVIOUSQUARTER(Dates[Date])
Filter Functions
Filter functions in DAX (Data Analysis Expressions) allow you to
apply specific filters to your data and calculate expressions based on
those filters. These functions help you narrow down your data and
perform calculations on specific subsets.
Here are some commonly used filter functions in Power BI:
15.
VALUES: Returns a one-column table that
contains unique values from a specified column. Example:
UniqueRegions = VALUES(Sales[Region])
16.
ISFILTERED: Checks if a column or table is
filtered. Example: IsRegionFiltered =
ISFILTERED(Sales[Region])
17.
ISCROSSFILTERED: Checks if a column or
table is filtered by a specific column or table. Example:
IsFilteredByRegion =
ISCROSSFILTERED(Sales[Region], Dates[Date])
18.
CROSSFILTER: Defines or modifies the cross-
filter direction between two tables. Example:
CrossFilterDirection =
CROSSFILTER(Sales[ProductID], Products[ProductID],
BOTH)
19.
RELATED: Returns a single value from a
related table based on a specified column. Example:
ProductName = RELATED(Products[Name])
20.
KEEPFILTERS: Retains the existing filter
context while evaluating an expression. Example:
TotalSales = CALCULATE(SUM(Sales[Amount]),
KEEPFILTERS(Sales[Region] = "North"))
21.
FILTERS: Returns a table containing all active
filters in the current filter context. Example: ActiveFilters =
FILTERS(Sales)
22.
REMOVEFILTERS: Removes all filters from
the specified table or column. Example: FilteredTable =
REMOVEFILTERS(Sales)
23.
TREATAS: Treats a table as if it were another
table for evaluation purposes. Example: FilteredSales =
CALCULATE(SUM(Sales[Amount]),
TREATAS({"ProductA", "ProductB"}, Sales[Product]))
24.
ALLSELECTED: Returns all the values that
are currently selected in a column. Example:
SelectedRegions = ALLSELECTED(Sales[Region])
25.
CALCULATETABLE: Returns a table that is
filtered by one or more expressions. Example:
FilteredTable = CALCULATETABLE(Sales,
Sales[Amount] > 1000, Sales[Region] = "North")
26.
ISEMPTY: Checks if a table, column, or
expression is empty. Example: IsSalesEmpty =
ISEMPTY(Sales)
27.
USERNAME: Returns the username of the
current user accessing the data. Example:
CurrentUsername = USERNAME()
28.
USERPRINCIPALNAME: Returns the user
principal name (UPN) of the current user accessing the
data. Example: CurrentUserUPN =
USERPRINCIPALNAME()
29.
USEROBJECTID: Returns the object ID of the
current user accessing the data. Example:
CurrentUserObjectID = USEROBJECTID()
30.
USERROLE: Returns the role of the current
user accessing the data. Example: CurrentUserRole =
USERROLE()
Logical Functions
Logical functions in DAX (Data Analysis Expressions) are used to
perform logical operations and evaluate conditions in Power BI.
These functions help in making decisions, creating conditional
expressions, and filtering data based on logical criteria.
Here are some commonly used logical functions in Power BI:
1. IF: Evaluates a condition and returns different results
based on whether the condition is true or false. Example:
Result = IF(Sales[Amount] > 1000, "High", "Low")
2. SWITCH: Evaluates a series of conditions and returns a
result based on the first true condition. Example: Result =
SWITCH(Sales[Region], "North", 1, "South", 2, "West",
3, "East", 4, 0)
3. AND: Checks if all specified conditions are true and
returns true or false. Example: IsAllTrue =
AND(Sales[Amount] > 1000, Sales[Region] = "North")
4. OR: Checks if any of the specified conditions are true and
returns true or false. Example: IsAnyTrue =
OR(Sales[Amount] > 1000, Sales[Region] = "North")
5. NOT: Reverses the logical value of a condition or
expression. Example: IsFalse = NOT(Sales[Amount] >
1000)
6. TRUE: Returns the logical value "true". Example: IsTrue =
TRUE()
7. FALSE: Returns the logical value "false". Example:
IsFalse = FALSE()
8. XOR: Checks if exactly one of the specified conditions is
true and returns true or false. Example: IsExclusive =
XOR(Sales[Amount] > 1000, Sales[Region] = "North")
9. IFERROR: Returns a specified value if an expression
results in an error, otherwise returns the result of the
expression. Example: Result = IFERROR(1 / 0, 0)
10.
BLANK: Returns a blank value. Example:
Result = BLANK()
11.
ISBLANK: Checks if a value is blank and
returns true or false. Example: IsBlank =
ISBLANK(Sales[Amount])
12.
CONTAINSROW: Checks if a table contains a
specific row based on the specified condition. Example:
IsFound = CONTAINSROW(Products,
Products[Category] = "Electronics")
13.
ISFILTERED: Checks if a column or table is
filtered. Example: IsFiltered =
ISFILTERED(Sales[Region])
14.
ISCROSSFILTERED: Checks if a column or
table is filtered by a specific column or table. Example:
IsFilteredByDate = ISCROSSFILTERED(Sales[Region],
Dates[Date])
15.
ISINSCOPE: Checks if a column is in the
current filter context and returns true or false. Example:
IsInScope = ISINSCOPE(Sales[Product])
16.
ISERROR: Checks if an expression results in
an error and returns true or false. Example: IsError =
ISERROR(1 / 0)
17.
ISNUMBER: Checks if a value is a number and
returns true or false. Example: IsNumber =
ISNUMBER(Sales[Amount])
18.
ISTEXT: Checks if a value is text and returns
true or false. Example: IsText = ISTEXT(Sales[Product])
19.
ISLOGICAL: Checks if a value is a logical
value (true or false) and returns true or false. Example:
IsLogical = ISLOGICAL(Sales[IsApproved])
20.
IFBLANK: Returns a specified value if a value
is blank, otherwise returns the value itself. Example:
Result = IFBLANK(Sales[Amount], 0)
21.
COALESCE: Returns the first non-blank value
from a list of expressions. Example: Result =
COALESCE(Sales[Amount], Sales[Quantity], 0)
22.
IN: Checks if a value is found in a specified list
of values and returns true or false. Example: IsInList =
IN(Sales[Region], {"North", "South", "West"})
23.
INVERT: Inverts the logical value of a condition
or expression. Example: IsFalse =
INVERT(Sales[Amount] > 1000)
24.
HASONEVALUE: Checks if a column or
expression has only one distinct value in the current filter
context and returns true or false. Example: HasOneValue
= HASONEVALUE(Sales[Region])
25.
RELATEDTABLEHASDATA: Checks if a
related table has data for the current row and returns true
or false. Example: HasData =
RELATEDTABLEHASDATA(Orders)
26.
AND/OR functions with multiple conditions:
You can use multiple AND or OR functions to combine
multiple conditions. Example: IsTrue =
AND(Sales[Amount] > 1000, OR(Sales[Region] =
"North", Sales[Region] = "South"))
27.
SWITCH with multiple conditions: You can
use multiple conditions in the SWITCH function to evaluate
different results. Example: Result = SWITCH(TRUE(),
Sales[Amount] > 1000, "High", Sales[Amount] > 500,
"Medium", "Low")
28.
&& (AND) and || (OR) operators: DAX also
supports the && (AND) and || (OR) operators for combining
conditions. Example: IsTrue = Sales[Amount] > 1000 &&
(Sales[Region] = "North" || Sales[Region] = "South")
DAX Operators
DAX (Data Analysis Expressions) includes various operators that
allow you to perform mathematical, comparison, logical, and text
operations on data in Power BI. These operators help you create
expressions, perform calculations, and manipulate data within your
DAX formulas.
Here are some commonly used operators in DAX:
1. Arithmetic Operators:
● Addition (+): Performs addition between two values.
● Subtraction (-): Performs subtraction between two
values.
● Multiplication (*): Performs multiplication between two
values.
● Division (/): Performs division between two values.
● Modulus (%): Returns the remainder after division.
2. Comparison Operators:
● Equal to (=): Compares two values for equality.
● Not equal to (<>): Compares two values for inequality.
● Greater than (>): Checks if one value is greater than
another.
● Less than (<): Checks if one value is less than another.
● Greater than or equal to (>=): Checks if one value is
greater than or equal to another.
● Less than or equal to (<=): Checks if one value is less
than or equal to another.
3. Logical Operators:
● AND: Performs logical AND operation between two or
more conditions.
● OR: Performs logical OR operation between two or more
conditions.
● NOT: Negates a logical condition.
4. Text Operators:
● Concatenation (&): Concatenates two or more text
values.
● Text Comparison Operators: DAX supports comparison
operators for text values, such as =, <>, <, >, <=, >=.
5. Set Operators:
● UNION: Combines two sets into a single set, removing
duplicates.
● INTERSECT: Returns the intersection of two sets.
● EXCEPT: Returns the difference between two sets.
6. Membership Operators:
● IN: Checks if a value is a member of a set or a list of
values.
● NOT IN: Checks if a value is not a member of a set or a
list of values.
7. Range Operators:
● BETWEEN: Checks if a value is within a specified range.
● NOT BETWEEN: Checks if a value is not within a
specified range.
14.
IN Operator: Checks if a value is in a specified
list of values. Example: IsInList = Sales[Region] IN
{"North", "South", "West"}
15.
CONTAINS Operator: Checks if a text value
contains a specified substring. Example:
ContainsSubstring = CONTAINS(Sales[Product],
"ABC")
16.
DISTINCT Operator: Returns distinct values
from a column or table. Example: DistinctValues =
DISTINCT(Sales[Region])
17.
VALUES Operator: Returns unique values
from a column or table. Example: UniqueValues =
VALUES(Sales[Region])
18.
SUMMARIZE Operator: Creates a summary
table by grouping data and calculating aggregations.
Example: SummaryTable = SUMMARIZE(Sales,
Sales[Region], "Total Sales", SUM(Sales[Amount]))
19.
TOPN Operator: Returns the top N values
based on a specified column or expression. Example:
Top5Customers = TOPN(5, Customers,
Customers[Total Sales], DESC)
20.
RANKX Operator: Assigns a rank to each row
in a table based on a specified column or expression.
Example: Rank = RANKX(Sales, Sales[Amount], ,
DESC)
You can create visuals with distinctive features for data processing,
interaction, and visualization by using the SDK. After you have
created a custom visual, you can save it to your computer as a.pbiviz
file and then import it into Power BI so that you can use it in your
dashboards and reports. To construct a custom visual using the
Power BI Custom Visuals SDK, the majority of the time will be spent
writing code to describe the behavior, rendering, and interaction with
data of the custom visual. The software development kit will give you
APIs as well as documentation to help you through the process. The
specialized visuals that you design using the Software Development
Kit (SDK) can be distributed to other people working for your
company or uploaded to the AppSource marketplace to make them
more widely available.
Many custom visuals were developed as PBVIZ files before
AppSource became as pervasive in the Microsoft environment as it
is now. If you have a PBVIZ that you wish to import from a file, either
from a custom visual that you've developed using TypeScript or from
an earlier version of a custom visual, you can pick that option to
open an Explorer window, go to the file, and then select it for
importing. This option is available to you whether you've built the
custom visual using TypeScript or not.
If you pick the "Get more visuals" option, an overlay will emerge
that will lead you to a list of custom visuals that are accessible in
AppSource as well as custom visuals that have been added to your
organization. These custom visuals may be accessed by clicking on
any of the options in the overlay. In the list of all visuals, things
associated with your organization will always be shown in a more
prominent position than those associated with other organizations.
You can see that there are selection options for all visuals,
organizational visuals, and visuals that are exclusive to AppSource.
There is a capability for searching. In addition to that, there is the
capability to filter the visuals according to several categories.
Analytics, Advanced Analytics, Change over Time, Filters,
Infographics, Key Performance Indicators, and Maps are the
categories that fall under this heading. The filter categories aren't
often helpful in identifying what it is that you're searching for. This is
especially true in the Analytics area, which is, in my opinion, too wide
to be useful. On the other hand, you can combine search and filter
into a single operation, which you might find to be more useful. The
fact that each of these custom visuals from AppSource comes with
its example PBIX, which you can use to test out its functionality and
learn more about its capabilities, is yet another advantage of using
these custom visuals. This results in a very low barrier to entry since
you can view the visual in its most effective form as well as the
stated use case provided by the person who created the visual. You
can then determine whether it is something that may be useful to
you.
Here are some popular custom visuals that Power BI users
often find valuable:
SandDance
SandDance is a powerful custom visual for Power BI that enables
you to see and explore your data dynamically and engagingly. You
can access SandDance by going to the Custom Visuals section of
the Power BI menu. It offers a one-of-a-kind visualization toolkit that
can assist you in locating patterns, trends, and insights that might
not be immediately evident when using typical chart formats.
SandDance was created by Microsoft Research as an independent
project, and it has now been included in Power BI as a custom
visual.
The following is a list of some of SandDance's most important
features and capabilities:
Timeline Storyteller
The Timeline Storyteller is a custom visual for Power BI that gives
you the ability to build visual tales that are not only interactive but
also interesting by using a timeline layout. It enables you to show
facts and events in chronological order, presenting your audience
with an engaging experience of dynamic storytelling. Your data is
seen as a horizontal timeline, with each data point or event being
depicted at the proper time position. A variety of formatting options,
including colors, fonts, labels, and scales, can be modified to create
the timeline of your choosing.
It enables you to design transitions that are fluid and dynamic
between various time intervals or periods that you have chosen.
Within your timeline, you can establish numerous stages or phases,
and then you can add animated transitions between them to create a
smooth flow of information. You can construct a story with Timeline
Storyteller by including text, photographs, and notes at various
points along the timeline. Because of this, you will have the ability to
add context, explanations, and insights connected to the data points
or events that are now being shown.
Users can zoom in and out, pan across various periods, and explore
specific data points or events by interacting with the Timeline
Storyteller visual. Users will be able to filter or dig down into
particular data depending on their interactions with the timeline,
which can be done by linking the visual to other visuals on the report
page. The visual look and overall storytelling experience may both
be improved by making use of the many customization options that
Timeline Storyteller provides. To meet your particular narrative
needs, you can adjust the layout, style, and interactivity.
Downloading and importing the Timeline Storyteller as a custom
visual into your Power BI report is required to take advantage of this
feature in Power BI. After the data has been imported, you will be
able to add the Timeline Storyteller visual to your report canvas and
customize it by choosing the data fields that are relevant to the
timeline and the information that is linked with it.
Timeline Storyteller is especially helpful in situations in which you
wish to show a sequence of events, milestones, or historical facts in
the form of a story. It enables you to engage your audience in a
visually attractive way and successfully express the narrative that
lies behind the statistics.
Synoptic Panel
The Synoptic Panel is a specialized custom visual for Power BI that
gives users the ability to present data on individualized floor layouts,
maps, or any other individualized pictures. It gives you the ability to
examine and analyze data in the context of certain places or layouts
that you choose.
Here are some key features and capabilities of the Synoptic
Panel:
Hierarchy Slicer
The Hierarchy Slicer is a custom visual that was developed for
Power BI. It offers a straightforward and engaging method for
filtering data based on hierarchical structures. Users are given the
ability to dig down into a hierarchy and pick certain levels or nodes
within that hierarchy to filter the data that is presented in other
visualizations.
Bullet chart
A Bullet Chart is a kind of data visualization tool that is often used in
the production of business dashboards and reports to display the
performance of a particular metric in comparison to a goal or
threshold value. It gives a representation of the data that is
condensed and succinct, which makes it simple to contrast the
actual values with the values that were sought or anticipated.
The Bullet Chart consists of the following elements:
1
1stCourseInDepartment , 160
A
A Bullet Chart , 295
A cube-based method , 12
A fundamental kind of aggregation , 114
A Quick Rundown, 50
A Quick Rundown of the Other Panes, 50
A Self-Service BI Tool, 13
A single-line ribbon , 27
A single-line ribbon, when collapsed, saves you space , 27
A stacked area chart , 92, 93
A Top N–type filter , 50
AAD , 8
ability to build connections , 7
ability to publish , 3
ability to refresh data , 2
Access Restrictions , 238, 239
access to real-time analytics , 4
Accessibility , 28, 189, 190, 231
account input from users , 11
accurate and up-to-date information. , 298
Acquire actionable insights , 165
Activation of the License and License Renewal , 239
Actual Value Bar , 295
Add additional fields , 92
Add External Tools, Remove External Tools, and Modify Display Order, 242
Add lines to the chart , 91
Add more lines , 91
Adding Users to a Workspace, 210
Adding Users to Roles for RLS Implementation, 225
Addition , 278
addition of brand-new capabilities , 11
Additional Controls , 182
additional insights , 65, 99, 110
additions to SQL Server , 12
Address , 54, 67
address the issue of global hunger , 66
Advanced Analysis , 136
Advanced Analytics , 14, 177, 282
Advanced Calculations , 19, 129
Advanced options , 33
ADVANCED REPORTING TOPICS, 164
Advanced-Data Analysis , 16
advantage of powerful analytical and data , 8
advantage of powerful analytical and data engineering capabilities , 8
advantages , 5, 8, 17, 26, 27, 110, 111, 112, 136, 145, 234, 290
AdventureWorks , 166
Aggregated Functions , 128
aggregating options , 55
Aggregation functions , 113, 267
Aggregation Functions, 267
AGGREGATIONS, 108
aggregations with filters , 115
Aggregations with Filters , 115
Aggregations, More than Some Sums, 114
AI integration , 11
AI-Powered Visuals, 164
ALM , 243, 260, 261, 262, 263
amount of data points , 292
An improved accessibility , 28
An intuitive Themes gallery , 26
Analysis Services , 12, 17, 108, 204, 229, 234, 237, 253, 259
Analysis Services Multidimensional, 12
analytical queries , 18
Analytics, 47, 75, 76, 89, 282
analytics tools of Power BI. , 2
analyze data , 2, 9, 15, 16, 67, 107, 148, 287
Analyze Model, 262
analyzing data , 14, 72, 97, 271, 284, 294
Analyzing Data , 157
Analyzing Data Dependencies , 157
animations , 5
anthropological categories , 54
appealing and interactive manner , 298
Apple and Google-based mobile , 3
Apple and Google-based mobile devices , 3
apply business rules , 5
apply data transformations , 35
Apply sorting , 85, 92
Applying Conditional Logic , 135
Applying Multiple Filters , 132
Applying the Consolidation , 145
Applying transformations , 143
Apps, 8, 9, 201, 228
AppSource or developing , 8
ArcGIS Maps , 47
Area chart , 46, 89
Area Chart, 92
areas of natural language , 10
areas of natural language comprehension , 10
areas of natural language comprehension and sentiment analysis , 10
Arithmetic Operators , 278
ask questions , 2, 5, 171
Assign data fields , 85, 91
Assign data fields to appropriate axes , 85
assist with navigating the report , 39
Autodetect during load, 148
automate processes , 9
automate repetitive processes , 9
Automated Deployment , 261
Automated Reports, 12
Automatic Generation , 128
Automatic relationship updates, 155
automation , 9, 262
automobile manufacturer logos , 285
Average, 114, 117, 118, 130, 131, 134, 267, 268
average for Ms. Avina , 118
AverageOfficeHoursAttended , 118
axis section , 85
Azure Active Directory , 8, 56, 223
Azure Cognitive Services , 9
Azure Data , 8, 232
Azure Data Factory , 8, 232
Azure Machine Learning , 8, 62, 232
Azure map , 46
Azure services , 8, 14, 56, 232
Azure SQL , 7, 84, 204
Azure Synapse , 8, 204
Azure Synapse Analytics , 8
B
backend SQL Server database , 12
Bar Chart , 80, 81
bar charts , 2, 73, 80, 81, 82, 89, 101, 107, 157, 283
Barcode , 54
Bars, Columns, and Lines, 162
behavior's interactive nature , 77
Benefits and Applications of Relationships, 69
Benefits and Significance , 164
benefits of Power BI , 298
bespoke solutions , 10
BI , 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 15, 16, 17, 19, 21, 22, 23, 24, 25, 30, 33, 35, 38, 40,
45, 47, 48, 51, 55, 56, 57, 59, 61, 63, 66, 67, 68, 69, 72, 73, 74, 76, 78, 81, 89, 103, 104,
107, 108, 115, 118, 119, 124, 128, 130, 140, 142, 143, 146, 148,152, 155, 156, 163, 164,
165, 168, 171, 174, 180, 183, 184, 185, 186, 187, 188, 189, 191, 194, 195, 196, 197,
198, 199, 201, 203, 204, 205, 206, 207, 209, 211, 212, 213, 214, 216, 217, 218, 223,
225, 228, 229, 230, 232, 234, 236, 237, 239, 240, 241, 242, 244, 245, 247, 249, 254,
255, 256, 257, 259, 260, 261, 262, 265, 266, 280, 281, 283, 284, 286, 287, 289, 294, 298
Black or African American students , 93
Blank page , 37
blank version , 38
bookmarks and buttons , 77
Bookmarks and Buttons , 77
Bookmarks window , 50
Bravo, 243, 262, 263, 264, 265, 266
broad selection of data , 3
bubbles , 96, 104, 168
budget allocation , 297
build prediction models , 5
Building Relationships, 148
Bullet chart, 295
business intelligence , 7, 10, 12, 13, 14, 15, 20, 21, 22, 23, 67, 139, 262, 298
business intelligence platform , 7
business intelligence skills , 15
business objectives and scenarios , 4
business on a holistic level. , 38
Business Ops , 242, 243, 245, 246
Business-Specific Metrics , 130
Buttons element , 39
C
CALCULATE, 109, 131, 132, 133, 135, 137, 138, 139, 140, 268, 269, 271, 272, 273, 274,
275
CALCULATE and FILTER , 109
Calculated Column , 259
Calculated columns , 20, 110, 111
Calculated Columns, 110
Calculated Tables, 111
calculated values , 110
Calculations , 16, 20, 21, 30, 37, 41, 110, 111, 115, 128, 129, 130, 133, 136
capacity for content sharing , 3
capacity for content sharing and collaboration , 3
Card , 46, 105, 160, 289, 290
Card with States , 289
Cardinality, 69, 148, 149, 153
Carnegie Hall. , 175
carry out complex calculations , 2, 13
certified dataset , 200
Change detection , 41
Change the interaction behavior, 79
Changing data types , 142
Charts , 5, 80, 82, 83, 86, 87, 94, 95, 96, 97, 99, 100, 101, 244
chart's colors , 81
charts provide the data , 80
Chat in Teams , 196
Chatbots created using Power Virtual Agents , 10
Chiclet Slicer , 285
Choose a Data Source , 56
Choose a report canvas , 90
Choose and Transform the Data When You Import, 142
choosing the data source , 56
choropleth maps , 96
CI/CD Integration , 262
cleaning activities , 5
clear and succinct , 1
client interaction , 9
Clipboard , 30, 31
Cloud Deployment, 231
cloud services , 1, 4, 7, 189, 298
Cloud sources , 6
cloud-based platform , 11
cloud-based service , 10
Clustered Bar and Column, 83
Clustered bar chart , 46, 82
clustered bar/column , 84, 85, 86
Clustered column chart , 46, 82
Collaborate and engage with the report , 212, 214
Collaboration & Sharing , 16
Collaboration and Expert Input , 157
collaboration and management , 11
collaboration and sharing , 8, 23, 74, 235, 298
Collaboration and Team Development , 262
collaborative capabilities , 8, 238
collected data , 5
collections of dashboards , 8
Column Chart , 80, 81, 93
Column distribution , 65
column format , 80
Column profile checkboxes , 65
Column quality , 65
Column tools , 52, 53
Columnar Storage , 18
columnar structure , 19
columns and measures , 5, 13, 46, 112, 236
columns of data , 6, 17, 62, 108
combining databases , 5
Comma-separated values , 6
Comma-Separated Values , 265
comparing data , 21, 80, 83, 104, 115
comparing data across multiple periods , 21
comparing patterns , 86, 87
Comparison of Proportions , 100
Comparison Operators , 278, 279
Comparisons and Trends , 170
Compatibility and Versioning , 185
compile data , 14, 112
complex parameters , 3
complex Power Query Editor , 5
complicated data models , 3
complicated information , 2
Comprehensive Analysis , 69
comprehensive array of tools , 4
comprehensive array of tools and services , 4
comprehensive collection , 2, 16, 40, 145
comprehensive collection of dynamic visualizations , 2
comprehensive library of functions , 20
comprehensive library of functions and operators , 20
comprehensive overview of Power BI , 298
Compression , 18, 19
computer processing power , 12
Concatenation , 279
Conclusion, 23, 54, 72, 107, 140, 163, 188, 216, 241, 266, 298
conditional formatting , 14, 120
Conditional Formatting , 120
conditional formatting and charting capabilities , 14
Conditional logic , 109
conduct operations such as data purification , 13
Configure efficient data refresh schedules , 234
Configure more options, 153
Configure the Chart , 88
Configure the report's sharing settings , 211
Connect to the Data Source , 56
Connect to the data source you want to use , 81
connecting options , 3, 237
Connecting to Databases , 57
connectivity paths , 7
Connectivity to Data Sources , 189
Consider Future Growth , 235
Consider your options and get new perspectives , 166
Considerations for Consolidating Tables, 145
consistent upgrades , 11
consolidated view of significant metrics , 7
Consolidating Tables with Append, 143, 145
construct bespoke software , 9
construct custom business apps , 9
construct datasets , 7
construct datasets for analysis , 7
construct individualized columns based , 6
construct intelligent chatbots , 9
construct interactive applications , 9
construct relationships , 5
construct workflows , 9
construct your visualizations , 6
Contains (text) , 49
contemporary business environment , 11
content packs , 11, 190
contextual intelligence , 20
Continent , 54
Continuous Monitoring and Improvement , 238
Contribution Analysis , 170
conventional computer code , 9
Conversion Analysis , 97
Copy and distribute the link , 211
Count and Count (Distinct), 123
Country , 54
County , 54
Create, 90, 138, 139, 148, 149, 154, 157, 193, 194, 195, 196, 209, 212, 214, 220, 221,
226, 228, 235, 237, 245, 258, 259
create a comprehensive table , 66
Create a measure to calculate the customer retention rate , 139
Create a relationship manually, 149
create chatbots , 9
create interactive reports , 189, 298
create sophisticated metrics , 5
Creating an App, 214
Creating and Managing Relationships, 68
Creating calculated columns , 142
Creating Roles, 257
creation and design , 3
creation and design of interactive reports , 3
Cross filter direction, 148, 149, 153
CSV , 6, 57, 84, 142, 252, 265, 266
Custom format strings , 28
custom graphics , 36
Custom mapping , 287
Customer Analysis , 127
customer retention rate , 138, 139
CustomerName , 125, 126
customers can extract data , 4
customers can extract data from a wide variety of platforms , 5
Customization and formatting , 287
Customization Options , 97
Customize the chart , 81, 85, 91
Customize the Chart , 88
customized and interactive summary of pertinent insights , 7
Cutting and Pasting , 30
D
Dashboard Visualizations , 189
dashboards , 1, 3, 6, 7, 8, 11, 14, 16, 57, 69, 73, 74, 95, 141, 143, 184, 189, 190, 197, 206,
216, 221, 227, 231, 235, 238, 240, 281, 290, 295
dashboards offer real-time data updates , 7
data analysis , 1, 2, 5, 11, 13, 14, 16, 18, 20, 21, 22, 23, 68, 69, 72, 87, 107, 108, 111, 114,
119, 123, 125, 128, 129, 134, 136, 138, 188, 189, 214, 232, 233, 254, 266, 291, 292, 298
data analysis and business intelligence , 13
data analysis experience , 1
Data Analysis Expressions , 3, 5, 13, 15, 16, 19, 20, 108, 119, 129, 134, 267, 269, 271,
273, 276, 278
Data Analysis Toolpak , 14
data analyst working , 1
Data binding , 287
Data Cleaning and Quality Control , 119
Data Column , 259
data cubes , 12
Data Exploration and Discovery , 69
Data Export Options, 265
Data Governance , 56, 231
Data Hub, 195
Data Import , 13, 15, 57, 141
Data Import and Transformation , 13
Data Labels and Exploding Slices , 101
data labels or trendlines , 81
data management options , 40
data manipulation , 15, 35, 113, 142, 183
Data manipulation , 15
data manipulation capabilities , 15
Data mapping , 287
data mart , 17, 229
Data Modeling , 13, 156, 233, 236
Data modeling and Relationships , 15
Data Monitoring , 127
Data Normalization , 120
data over a particular duration , 95
Data Partition , 259
Data Preparation , 88
Data Preview section. , 65
Data professionals , 183
Data Quality , 145
Data Range and Boundaries , 119
Data Reduction , 97
Data Refreshing , 190
Data Refreshment and Gateway Management , 234
Data Relationships , 146
data retrieval , 1, 18, 19, 198
Data Security , 56, 230
Data Source Connectivity , 237
Data Source Connectivity and Gateway Management , 237
Data Source Considerations , 233
Data Source Management , 261
Data source settings , 35, 59
data sources , 1, 4, 7, 8, 9, 10, 14, 15, 16, 22, 23, 31, 32, 35, 55, 56, 58, 68, 70, 109, 155,
156, 185, 186, 189, 198, 199, 209, 216, 230, 231, 233, 234, 236, 237, 238, 253, 261, 266
data store technology , 17
Data Transformation and Cleanup (Optional) , 145
data transformation capabilities , 3, 23
Data transformations and grouping , 283
Data Understanding , 156
Data View, 52
databases , 1, 4, 7, 13, 15, 22, 55, 56, 63, 84, 189, 216, 228, 229, 298
data-driven , 2, 3, 4, 11, 22, 24, 54, 88, 110, 163, 164, 298
Dataflows in Shared Workspaces, 208
Dataset Image , 200
datasets or dataflows , 226
Dataverse button , 35
Date and time functions , 113, 269
DAX , 3, 5, 13, 15, 16, 17, 19, 20, 21, 37, 41, 42, 44, 51, 108, 109, 110, 111, 112, 113, 119,
121, 123, 127, 128, 129, 130, 131, 134, 135, 136, 138, 139, 140, 178, 180, 229, 242,
243, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 256, 259, 261, 263, 264, 265,
267, 269, 271, 273, 276, 278, 279
decision-making , 2, 11, 74, 107, 110, 120, 139, 148, 163, 164, 188, 190, 292, 298
Decision-making , 176
decision-making and fostering , 298
Decomposition tree , 47, 164
Decomposition Tree, 169, 170, 171
Define Role Membership , 258
Define Role Permissions , 258
Define the measure , 170
Defining Relationships , 68
Deployment and Maintenance , 184
Deployment Pipelines, 203
derive actionable insights , 298
design sophisticated queries , 25
Desktop application's seamless integration , 6
Detect Data Type button , 62
develop aesthetically attractive reports , 3
develop complex data models , 22
development of Power BI , 11
development of Power BI is the outcome of Microsoft's commitment , 11
development or progression of certain variables , 127
developments in the industry , 11
dialog flows for the chatbots , 9
dimensional Cartesian coordinate , 98
dimensional Cartesian coordinate system , 98
Direct connections , 7
direct query , 7
DirectQuery , 33, 41, 70, 152, 233, 237
DirectQuery circumstances , 41
discover patterns , 2, 121
DISTINCTCOUNT , 139, 267
distribution , 8, 12, 65, 95, 96, 99, 100, 104, 115, 121, 123, 169, 212, 247, 292
distribution of customers , 96, 104
diverse dimensions , 98
diverse viewpoints on the data. , 114
Document and Communicate , 177
documentation , 44, 45, 152, 156, 195, 203, 215, 226, 228, 261, 262, 281
Documentation Generation , 261
Does not contain (text) , 49
Does not start with (text) , 49
Donut chart , 46
Donut Chart , 100
Donut Charts , 96, 99
Donut Chart's central hole , 100
Dot Plots , 96
Downloading and importing the Timeline , 286
Drag and drag the category field , 85
Drag and drop the desired fields , 81
dragging and dropping fields , 5
drill through , 48, 75
Drill-through , 77
Duplicate page , 37
Dynamic ribbon content , 27
Dynamic ribbon content based on your view , 27
Dynamics 365 , 8, 9
E
Ease of Collaboration and Sharing , 190
Edit a relationship, 150
Edit Interactions , 78
edit the measure or column , 28
Editing relationships feature , 150
Editing relationships using different methods, 152
effective business intelligence , 4
effective business intelligence application. , 4
efficient memory , 19, 20
efficient processing of massive datasets , 22
emphasis on AppSource , 36
Enable load to report , 59
Enable the visual interaction controls, 78
encoding the data values , 19
Encourage user engagement and collaboration , 237
Engage stakeholders , 236
engaging reports , 1, 5, 54
Enhancing portability , 3
Enhancing portability and adaptability , 3
Enhancing portability and adaptability in data consumption , 3
environments of enterprises. , 12
essence of data modeling , 6
establish a connection to a database , 6
Establish data governance policies , 236
establishing associations , 22
Evaluate user requirements , 240
examine the data , 2
Excel and SharePoint , 10
Excel's advanced analytics features , 14
Excel's built-in functions and tools , 14
Excel's built-in version control , 14
exceptional connection , 22
expand Power BI's capabilities , 11
explicit measures , 129, 140
exploration of geographical information , 96
Explore and Visualize the Data , 57
explore data , 3, 21, 77, 94, 120
explore trends , 14
explore your local file system , 57
Export Data, 265, 266
Exporting and Importing , 31
Extensibility with Add-Ins , 14
extensive coding , 298
extensive coding knowledge , 298
extensive connectivity options , 23, 298
extensive data connectivity , 4
External Tools Section, 45
Extraction of Data , 55
F
Facebook Messenger , 10
Facets and insights , 283
favorite objects , 193
few popular options , 56
Fields, 29, 41, 45, 47, 48, 52, 71, 72, 75, 76, 81, 88, 136, 150, 161, 179
Fields and Filters Panes, 48
Filled map , 46
FILTER , 135, 138, 273, 279
filter and highlight icons , 78
Filter Context, 137
Filter functions , 113, 273
Filter Functions, 273
filtering , 5, 16, 18, 19, 35, 49, 55, 67, 68, 69, 76, 77, 79, 85, 92, 101, 109, 110, 131, 137,
142, 146, 153, 154, 161, 172, 187, 193, 266, 276, 284, 293
Filtering , 77, 142
filtering rows , 5
Filters , 29, 44, 45, 48, 49, 107, 161, 223, 282
Filters and Fields panes , 29
Filters on all pages , 49
Filters on this page , 49, 107
financial analysis , 87, 297
Financial analysts , 297
Financial functions , 113
First, Last, Earliest, and Latest, 125, 127
flexibility across platforms , 6
Flexibility and Customization , 95
flexible data , 1
flexible data modeling , 1
flexible data modeling capabilities , 1
flexible formatting options , 3
Fluid and interactive , 283
Focus on Proportions , 97
folder structure , 227
Forecasting and Planning , 176
Format, 39, 40, 47, 75, 76, 78, 107, 252, 263
Format button , 40
format string , 28
Formatting section of the Visualization pane , 288
formula engine , 18, 21
Formula language and calculation engine , 20
formulae , 13, 14, 16, 20, 108, 253
formulas , 6, 34, 59, 278
fosters a data-driven culture , 298
Free per-user license, 218
FROM RAW DATA TO REPORT, 141
fundamental DAX syntax , 131
fundamental level , 13
Funnel chart , 46
Funnel Chart, 96
G
Gantt chart by MAQ Software, 294
Gather user feedback , 238
Gauge , 46, 105
Generate a shareable link , 211
generate a single report , 240
generate data representations , 5
GENERATESERIES statement , 178
geographic viewpoints , 284
Get apps , 201
Get to Know Business Ops, 241
Getting data , 6
Getting data from your sources , 6
Getting Our Data, 55
Google Analytics , 7, 8
graphs , 5, 14, 73, 86, 298
H
Handling Ambiguous Relationships , 69
heavy programming , 15
hectic atmosphere , 1
Help Section, 44
Hexbin Scatterplot, 291, 292
hidden patterns , 1
hidden patterns and correlations , 1
Hierarchical Analysis , 170
Hierarchical data structures , 293
hierarchies , 13, 16, 21, 22, 33, 48, 102, 170, 293, 294
Hierarchy , 259, 293, 294
high data density , 291
highlighted various design principles , 298
high-performance compression methods. , 19
holistic understanding of their data , 298
Home and Browse, 193
Home ribbon , 29, 56, 204
Home section , 29, 193, 194
Home Section of the Ribbon, 29
Home tab , 29, 37, 58, 59, 142, 143, 144, 145, 147, 151
Home view , 29
horizontal and vertical bars , 80
I
Icons and functionality , 26
Identification of Common Fields , 68
Identify influential factors , 165
Identifying Data Sources , 55
Identifying Our Relationship Columns, 156
IF and SWITCH , 109
Image URL , 54
Image URLs , 285
impactful and user-friendly dashboards , 298
impactful and user-friendly dashboards and reports , 298
implement custom calculations , 3
implement data security standards , 8
Implement effective data modeling techniques , 233
Implement row-level security , 240
Implement version control , 237
implicit measures , 128, 129
import data , 7, 13, 14, 15, 56, 57, 142
Import relationships from data , 155
Important, 17, 121, 152, 160
Important New Functionality, 17
important visual interactive , 77
importing and linking large volumes of data , 15
IMPORTING AND MODELING, 55
importing and modeling data , 55
IMPORTING AND MODELING OUR DATA, 55
Importing data , 6, 265
Importing from Files , 57
Importing the Data, 56
improve data analysis , 5
improve measures , 109
improve the data's overall aesthetic appeal , 14
Improve the overall customer experience , 165
Improved look, feel, and organization , 26
incremental refresh , 7
independent project , 283
in-depth comprehension of your data , 2
in-depth data modeling , 13
indeterminable amount of time , 294
individual elements , 9
individual user licenses , 217
Infographics , 282
Information functions , 113
information regarding the goals , 8
Inline DAX editor , 41
in-memory columnar data storage , 17
In-Memory Technology , 18
Insert , 29, 30, 36, 37, 38, 159
insights into the variability , 115
inspecting the Date column , 53
install specialist add-ins , 14
Integration and Ecosystem , 232
Integration of Data , 55
Integration of the Parameter, 180
Integration with External Data Sources , 14
Integration with Other Visuals , 95
intelligence visualizations , 38
intelligent business , 4
intelligent business decisions , 4
Interact with the chart , 81, 86
Interaction between Row and Filter, 138
interaction experience , 65, 79
interactive data visualizations , 16
Interactive Exploration , 95, 170
interactive features , 5, 77, 296
interactive reports , 2, 4, 7
Interactive Reports , 189
interactive reports and dashboards , 3, 298
interactive summary , 7
interactive visualizations , 21, 22, 57, 109, 283
Interactivity and Drill-Down , 97, 101
Interactivity and drill-through , 287
interface for customer engagement and support , 10
intuitive interface , 1, 216, 298
intuitive user interface , 5, 35
Is hidden flags , 71
ISOM 210 course , 116
Iterative Modification , 182
Its components, 6
J
JavaScript Object Notation , 265
JSON , 63, 244, 265, 266
JSON or XML file , 63
K
keep the amount of data movement , 19
KEEPFILTERS , 275
Key Benefits of the Decomposition, 170
Key influencers , 47, 164, 166
Key Influencers, 164, 165, 166
key performance indicators , 7, 130, 176, 290, 296
key tool for data modeling and the development , 11
key tool for data modeling and the development of reports. , 11
Keytips to traverse and choose buttons , 27
KPI , 46, 105, 106
KPIs , 7, 129, 201, 290, 296
L
large corporation , 1
largely focused on standard database management functions , 12
Latitude , 54
Learn, 203, 219, 247
Learning Curve , 184
Learning, Theme Generation, Visual Generation, 244
length or height of the bars standing , 80
Let’s Get Reporting, 159
LET’S MAKE SOME PICTURES (VISUALIZING DATA 101), 73
letting users explore the data , 8
Leverage data source-specific optimizations , 233
leveraging Power BI's connectivity , 298
leveraging Power BI's connectivity options , 298
License Expiration , 238
Licensing, 217, 238, 239
LICENSING AND DEPLOYMENT, 217
LICENSING AND DEPLOYMENT TIPS, 217
Limitations with Data , 101
Line and area charts , 89
Line and area charts., 89
Line and clustered column chart , 46, 89
Line and Stacked Column, 93
Line chart , 46, 89
Line Chart, 89, 90
line graphs , 2, 73
live connection , 33, 195
load (ETL) tool , 15
Load the Data , 57
local servers , 4
local system , 36
locate data anomalies , 2
Locate the Parameter Control , 181
locating patterns , 283
logical functions , 21, 276
Logical functions , 113, 276
Logical Functions, 276
Logical Operators , 278, 279
Longitude , 54
M
Machine Learning and Modeling , 120
maintain a connection with the data insights , 3
Maintain and Update Roles , 259
Maintenance and Updates , 232
Make adjustments to the visual , 171
MAKE SOME PICTURES, 73
Make this relationship active, 148, 149, 154
Manage Dates, 264
Manage relationships , 41, 149, 151
Manage Relationships Wizard , 157
Manage roles , 42
manage user access , 8
manage user access and permissions , 8
Managing Dependencies , 184
Managing Relationships , 68
Managing Users, 223
Managing Users in a Workspace, 223
managing workspaces , 224
many data sources thanks , 1
Many-to-Many Relationship , 68
Map , 46, 103, 104
maps , 2, 5, 95, 96, 103, 104, 287, 288, 298
Mark as date table , 52
Math and trigonometric functions , 113
Matrix , 47, 105, 106
meaningful conclusions , 4, 94
meaningful reports and dashboards , 298
Measure Branching , 176
Measure Management, 259
Measure tools , 28
Measure tools or Column tools , 28
Measures, 108, 110, 111, 127, 128, 129, 177, 296
MEASURES, 108
Median, 114, 122, 123, 267
Membership Operators , 279
Merge Columns , 63
merging , 35, 55, 142, 146, 147, 148
Metadata Panel , 250, 251
method for visualizing and analyzing huge datasets , 291
Metrics, 201, 234
Microsoft built , 17
Microsoft environment , 21, 281
Microsoft Excel , 6, 13, 15, 195
Microsoft Research , 283
Microsoft Teams , 10, 14, 196, 211, 212
Microsoft’s Relational Database, 12
Microsoft's artificial intelligence , 9
Microsoft's artificial intelligence services , 9
Microsoft's online analytical processing , 12
Microsoft's Power BI Service , 3
Minimum and maximum , 114, 120, 178
Minimum and Maximum, 119
Minimum Sales , 121
mobile application , 7
Mobile apps , 11
mobile devices , 6, 11, 43, 232
Model Navigation window , 256
modeling tools , 3, 5
Modify the Value of the Parameter , 181
Monitor license usage , 240
Monitor usage and performance , 238
most recent information , 2, 7, 190
Multi-dimensional data exploration , 283
Multiple data series , 98
Multiplication , 278
Multi-row card , 46, 105
My Workspace, 190, 206, 207
N
natural language queries , 11
Natural Language Query , 190
Navigate to Roles , 258
necessary R or Python environments , 185
Negates a logical condition , 278
Negotiate to price with Microsoft , 241
New approaches to the processing of data , 12
New measure , 37, 41
New Measure , 259
Null-Coalescing Operator , 279
Numeric Input Box , 182
O
obtain fast insights , 5
Obtaining the appropriate data for analysis , 55
OfficeHoursAttended , 116, 118
OLAP , 12
OLAP Services , 12
on-demand refresh , 7
One Small Step into BI, 12
OneDrive , 191, 205, 208, 221, 285
One-to-One Relationship , 67
on-premises deployment , 230, 231, 232, 233
On-Premises Deployment, 230
on-premises version , 4
On-Premises vs. Cloud Deployment, 230
operational reports , 3
Optimize your marketing strategies , 165
Options for selected visualizations , 80
Oracle , 6, 14, 57
organizations can monitor data usage , 8
organization's network , 4
Organizing Copied Items , 30
Other functions , 113
Output Pane , 250, 252, 253
P
Page options , 44
Page view , 43
Paginated report , 47
Parameter Modification, 181
Parameter Setup, 178
Parent and child functions , 113
Parentheses , 279
particular combination of data , 117
PBIT , 256, 263
pbix , 6, 261
PBVIZ , 36, 245, 281
PBVIZ is the standard format , 36
percentage analysis , 65
Percentile , 115, 268
perform a variety of other tasks , 6
perform ad-hoc analysis , 7
perform ad-hoc analysis of the information , 7
perform complicated calculations , 5
perform fundamental , 10
Performance Analyzer , 50, 252
Performance Analyzer pane , 50
Performance Considerations , 184
Performance Optimization , 236
Performs logical AND operation , 278, 279
personalized visualizations , 5
per-user license , 217, 218
pick DirectQuery or Import , 33
Pie and Donut Chart, 99
Pie chart , 46
Pie Chart , 99, 100
Pie Charts , 100
Pixel-Perfect Reporting, 12
Pixel-Perfect Reporting, Automated Reports, and More, 12
Place , 54, 123
popular custom visuals , 282
Power Apps , 9, 10, 47
Power Automate , 9, 10, 47
Power Automate's integration , 9
Power BI , 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27,
28, 29, 30, 31, 33, 35, 38, 39, 40, 41, 42, 43, 44, 45, 47, 48, 51, 52, 53, 54, 55, 56, 57,
58, 59, 61, 62, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78,80, 81, 82, 83, 84,
85, 86, 87, 88, 89, 91, 92, 93, 94, 95, 96, 97, 98, 99, 101, 102, 103, 104, 105, 107, 108,
112, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125, 126, 127, 128, 129, 131, 134, 136,
137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154,
155, 156, 157, 160, 161, 162, 163, 164, 165, 166, 168, 169, 170, 171, 172, 174, 175,
176, 177, 179, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 194, 195, 196,
197, 198, 199, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214,
216, 217, 218, 222, 223, 224, 225, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236,
237, 238, 239, 240, 241, 242, 243, 244, 245, 247, 248, 249, 250, 252, 253, 254, 255,
256, 257, 259, 260, 261, 262, 264, 265, 266, 267, 269, 271, 273, 276, 278, 280, 281,
282, 283, 284, 285, 286, 287, 289, 290, 291, 293, 294, 296, 298
POWER BI, 1, 164, 189
Power BI Admin Portal , 8
Power BI Cloud , 3, 7, 11
Power BI components , 4, 16, 40
Power BI Components, 2
Power BI Desktop , 2, 3, 4, 5, 6, 7, 10, 11, 17, 18, 19, 20, 21, 25, 26, 27, 28, 30, 31, 35, 42,
44, 45, 56, 57, 58, 59, 65, 66, 78, 81, 88, 141, 142, 146, 148, 149, 150, 152, 153, 154,
155, 164, 177, 185, 186, 189, 194, 195, 196, 197, 200, 204, 205, 206, 209, 230, 243,
244, 248, 249, 252, 253, 255, 256, 257, 260, 262
Power BI Desktop application , 6, 25, 35, 81, 141, 248
Power BI Desktop files , 6
Power BI Desktop supports natural language queries , 5
Power BI Desktop was developed by Microsoft , 3
Power BI Embedded , 3, 4, 209, 241
Power BI Mobile , 2, 3
Power BI mobile app , 3, 6
Power BI Online , 3, 7, 11
Power BI Report , 3, 4, 196, 244
Power BI Report Builder , 3, 196
Power BI Report Builder's extensive feature , 3
Power BI Report Builder's extensive feature set , 3
Power BI Report Server , 4
Power BI Report Server on-premises , 3
Power BI service , 2, 5, 8, 11, 16, 22, 25, 33, 71, 74, 89, 175, 179, 190, 193, 195, 196, 198,
199, 201, 204, 205, 206, 211, 212, 213, 217, 218, 228, 229, 230, 255, 262
Power BI Service , 3, 7, 8, 189, 190, 216
Power BI. Invoices , 3
Power Pivot, 13, 15, 16, 17, 22, 23, 154, 253
Power Platform's worth , 38
Power Query , 5, 6, 13, 15, 16, 17, 22, 23, 35, 48, 52, 57, 58, 59, 61, 62, 63, 64, 65, 72,
141, 142, 143, 144, 145, 146, 147, 185, 186, 199, 209, 234
Power Query supports , 6
Power Query tool , 15
Power Virtual Agents , 9, 10
PowerBI Tips , 242
powerful business intelligence , 11, 298
powerful business intelligence tool , 298
PPU , 217, 218, 219
Practical Applications, 183
Pre-built Content Packs and Apps , 190
preceding image and omitting , 118
Premium capabilities , 219
Premium capacity, 217, 218, 219
Premium capacity-based features , 218
Premium per Capacity , 203, 207, 208, 209, 217, 221, 230
Premium Per Capacity , 195, 196, 208, 220, 223, 230
Premium Per Capacity license , 195
Premium per User , 207, 208, 209, 217, 219, 222, 223, 255
Premium per user (PPU) license, 218
Prepare your data , 81
primary application , 4
primary components , 9, 75
primary development tool , 3
Pro license, 206, 207, 212, 213, 218, 240
Pro or PPU license , 219
Problems with License Assignment , 238
process of retrieving data , 13, 18
product categories , 85, 102, 138, 293
programming languages , 14, 182, 183, 184
Provide Comprehensive Training , 237
published reports , 7
Publishing Your Work, 204
PUTTING THE PUZZLE PIECES TOGETHER, 141
Putting Your Data in Front of Others, 209
Python script visual , 47
Q
Q&A , 5, 39, 42, 47, 70, 78, 164, 171, 172, 173, 174, 175, 190, 200
Q&A and Bookmark buttons , 40
Qualitative Ranges , 295
Queries , 30, 35, 61, 78, 142, 144, 147, 253
Queries Subsection , 35
Query Execution , 19
Query Pane , 250, 252, 253
quick and actionable insight , 8
Quick measure , 37, 41
R
R and Python , 11, 14, 64, 177, 182, 183, 184, 185, 186, 187, 188, 199
R script visual , 47
R scripting languages , 5
Radar Chart, 290
range of visual elements , 96
Range Operators , 279
raw data , 1, 2, 73, 163, 298
real-time updates , 2
Receive alerts and keep up to date , 212
Recent sources , 35
Refresh Data , 57
Refreshing the Data , 56
regulatory standards , 4
regulatory standards our data governance policies , 4
relational database , 12, 149
relational database management , 12
relational database management system , 12
relational online analytical processing , 15
Relationship functions , 113
relative contribution , 99
Remove a user or change their role in a workspace., 224
Removing and Clearing Items , 31
Removing columns , 142
Renaming columns , 143
Repeating the Append Process , 144
Report Page Navigation , 29
report page's settings , 79
Report View, 29, 37, 40, 43, 44, 45
Report Visualizations , 127
reporting , 4, 6, 10, 12, 22, 23, 69, 72, 87, 89, 108, 112, 113, 160, 188, 209, 235, 241, 266
Reporting Services, 10, 12, 196
reports , 2, 3, 4, 5, 7, 8, 11, 14, 16, 22, 25, 30, 31, 39, 43, 54, 57, 68, 69, 72, 74, 95, 96,
104, 106, 109, 127, 129, 136, 141, 143, 148, 155, 159, 175, 183, 184, 188, 189, 190,
193, 194, 196, 200, 203, 206, 208, 209, 211, 212, 213, 214, 215, 216, 218, 221, 226,
227, 228, 230, 231, 234, 235, 237, 238, 239, 240, 241, 261, 262, 266, 280, 281, 285,
289, 295, 298
reports and dashboards , 2, 3, 4, 5, 7, 11, 22, 72, 96, 104, 190, 211, 212, 213, 214, 218,
226, 235, 237, 238, 240, 241, 266, 280
reports and dashboards with coworkers , 2
reports and datasets , 7
respective element , 28
restrict data access , 8
Retention Rate , 139
Reusability , 129, 136
Ribbon chart , 46, 89
Ribbon Chart, 94
rich visualization features , 298
robust data , 112, 236, 298
robust data modeling , 236, 298
robust data modeling capabilities , 298
ROLAP , 15
role-based access management , 8
Row and Filter Context, 136, 138
Row Context, 137
Row-level security , 8
S
SaaS providers , 4
Salesforce , 5, 7, 8, 56
SAMEPERIODLASTYEAR , 139, 269, 271
SandDance, 282, 283, 284
Save and Share , 89
Save and share with the team , 212
Save the Changes , 258
Scalability , 16, 70, 231, 232, 235
Scalability and Flexibility , 70
Scalability and Performance , 16
Scale to fit , 43
Scatter chart , 46
Scatter Chart, 98
Scenario analysis , 177
schedule data refreshes , 3, 57
scheduled refresh , 7, 199, 206
seamless manner , 4, 68
seamless teamwork , 2
Search bar , 26
Secondary values , 90
secure sharing , 4
Security and Compliance , 232
Security and Governance , 184, 236
Seeking Support from Microsoft , 239
Select the chart type , 81
Select the most suitable data connection option , 237
Select the Visualization , 88
SELECTEDVALUE function , 179
Selecting and Appending Tables , 144
Selection and Highlighting , 77
Selection pane , 44, 50, 51
self-service business intelligence , 13
Sensitivity , 30, 176
separate category of expenses , 297
separating , 55
Sequential Representation , 97
Server is a reporting solution , 4
Server provides functionality , 4
set of low-code and no-code , 9
set of low-code and no-code technologies , 9
setting calculations , 22
Settings, 50, 152, 155, 185, 197, 223
several helpful functions , 30
Shape map , 46
shaping within the spreadsheet program , 13
Shared Capacity Workspaces, 207
SharePoint , 1, 5, 7, 8, 9, 10, 14, 15, 21, 56, 84, 191, 194, 205, 209, 213, 214, 222, 285
SharePoint or OneDrive for Business , 192
Sharing and Collaboration , 14
sharing capabilities , 5, 23, 298
sharing capabilities of Power BI , 298
sharing of information , 4, 74
sharing of Power BI content , 11
Sharing via a Link, 211
Sharing via a Link or Teams, 211
Sharing via Teams, 212
Show panes , 44
significant insights , 1
Simplified Data Maintenance , 69
single sign-on , 8
Slicer , 46, 105, 107, 182, 285, 293, 294
slide in PowerPoint , 6
Small Multiples, 86
Smart Filter Pro, 284
smart narrative , 175
Smart narrative , 47, 175
Smart Narrative, 175
smartphones and tablets , 6, 11, 232
software giant. , 9
software manufacturers , 4
Some Favorite Custom Visuals, 280
sophisticated calculations , 19, 21, 22, 134
sophisticated tool , 20
Sort by column , 54
Source Documentation or Data Dictionary , 156
Spark on Azure , 204
specific data analysis purposes , 14
Splitting columns , 142
spreadsheets , 1, 4, 13, 55, 73, 84, 298
SQL , 1, 5, 6, 7, 9, 10, 12, 14, 17, 21, 23, 33, 56, 57, 61, 65, 84, 131, 142, 166, 196, 197,
199, 204, 225, 232, 234, 259
SQL Server , 1, 5, 7, 9, 10, 12, 14, 17, 21, 23, 33, 56, 57, 166, 196, 197, 199, 204, 234,
259
SQL Server Analysis Services , 204
SQL Server Reporting Services , 12
SQL Server Reporting Services. , 12
SSO , 8
Stacked Area, 92
Stacked area chart , 46, 89
Stacked Bar, 82, 86
stacked bar and column charts , 82, 86
stacked bar chart , 46, 82
Stacked bar chart , 46, 82
stacked column chart , 36, 46, 82, 89
Stacked column chart , 46, 82
Standard Aggregations , 129
standard database management , 12
Standard deviation , 122
Standard Deviation, 121, 123, 267
Standard Deviation, Variance, and Median, 121
Starts with (text) , 49
State or Province , 54
statements , 3, 42, 87, 109, 176
Statistical Aggregations , 115
statistical analysis , 14, 183, 266
statistical functions , 21, 129
Statistical functions , 113
STDEV.P or STDEV.S functions , 123
Storage are Import , 70
store sensitive data , 4
store sensitive data and reports , 4
stores data in memory , 18
Studio UI Basics, 250
Stunning visualizations , 2
subscription categories , 93
subsets of the data , 77, 99, 102
Subtraction , 278
Sum, 114, 115, 131
SUMX and AVERAGEX , 109
Sunburst Chart, 296, 297
Support and Community , 185
support links. , 44
surprising speed , 2
surprising speed and agility , 2
Sync slicers , 44, 51, 107
Sync Slicers pane , 50
synchronize data , 9
Synoptic Panel, 287
Syntax Fundamentals, 130
T
Table , 3, 47, 52, 61, 62, 105, 106, 113, 147, 150, 151, 176, 251, 259
Table-based layouts , 3
tables , 1, 5, 6, 13, 14, 15, 16, 20, 21, 25, 41, 48, 52, 55, 57, 61, 65, 67, 68, 69, 71, 76, 107,
108, 109, 111, 112, 115, 117, 118, 121, 131, 140, 141, 142, 143, 144, 145, 146, 147, 148,
149, 150, 151, 152, 153, 154, 156, 157, 158, 163, 173, 174, 189, 195, 197,209, 237, 251,
257, 259, 266, 274, 275, 298
Tabular Editor, 243, 254, 255, 256, 257, 258, 259, 260
Target/Threshold Line , 295
tasks. Microsoft , 10
Temporal Analysis , 127
Teradata , 6
Test the Role , 259
Testing and Validation , 261
text functions , 21
Text functions , 113
Text Operators , 278
The "Drill through" portion , 48
the "Excel workbook" button , 33
The "License mode" menu , 222
The "Sync slicers" pane , 51
The “Flat Visuals”, 104
The Add Column Tab, 64
The AI Visuals Subsection, 38
The ALM Toolkit, 243, 260, 261, 262
the amount of RAM , 18
The Any Column section , 62
The Application Lifecycle Management , 261
The arithmetic mean of a group , 114
the AVERAGE function , 130
The bars in a column chart , 80
The Calculation Subsection, 37
The canvas in Power BI , 6
the Card with States visual , 289
The Card with States visual offers a comprehensive , 289
the chatbot's capabilities , 9
The Chiclet Slicer , 285
The Clipboard Subsection, 30
the cloud and offers real-time data refreshment , 5
The collaboration tools , 2
the color combinations and typefaces. , 27
the company's journey toward the creation , 10
The Conditional Column feature , 65
The Content Packs , 8
The Content Packs and Apps , 8
The contextual nature of the Properties pane , 70
The count aggregation , 114
The Data Subsection, 31
the Datamarts feature , 195
The DAX formula language , 20
The Duplicate Column function , 65
The Elements Subsection, 38
The EVALUATE statement , 111
the FILTER function , 135, 279
The first edition of Microsoft SQL Server Reporting , 12
The Formula Engine, 20
The Gantt chart , 294
The Golden Dataset(s), 228
the Hexbin Scatterplot , 292
The Hexbin Scatterplot , 292
The history of Microsoft's self-service business , 13
The Home Tab, 58
The idea of measures , 108
the Image button , 40
the Import mode , 33
The Index Column function , 65
the installation of Power Pivot. , 15
The integration of Power Virtual Agents , 9
The Invoke Custom Function feature , 64
The Key column facilitates the identification of a column , 71
the key features , 298
The list of visualizations , 89
the low-code/no-code approach , 10
the M programming language , 15
the Microsoft Power BI family of products , 2
The MIN and MAX functions , 121
The mode of a dataset , 114
the Modeling tab , 40, 148, 149, 177, 178
The Modeling Tab, 40
The Model-View, 66
The multi-row card visual , 105
The Navigation Menu, 191
The Page Options Subsection, 44
The Page Refresh Subsection, 41
The Pages Subsection, 37
The Pane Interface, 45
The Power BI project , 10
the Power BI service , 8, 196, 198, 201, 211, 212, 213
the Power BI Service , 3, 4, 7, 8, 189
The Power BI Service can interface without any complications , 8
The Power BI Service provides users with a diverse selection , 7
The Power Platform, 9, 10, 38
the problems of app development , 9
the process of digital transformation , 10
the processing and management of queries , 12
The Properties Pane, 70
The Q&A feature , 5
The Q&A feature of Power BI Desktop , 5
the Q&A subsection , 42
The Q&A Subsection, 42
The Relationships Subsection, 41
THE REPORT AND DATA, 25
THE REPORT AND DATA VIEWS, 25
the Report view , 25, 29, 40, 52, 71, 150, 159, 173
the respective data values , 80
The Ribbon , 94, 95, 250, 252
the right information , 298
the role of the formula engine , 20
The Scale to Fit Subsection, 43
The Security Subsection, 42
The Show Panes Subsection, 44
the storage and management of data and transactions , 12
The Storage Engine, 18
The Sunburst Chart , 296, 297
The tabular model , 17
The Themes Subsection, 43
The time-tested method , 115
the use of Power Query , 6
The video game Street Fighter 5 , 290
The View Tab, 43
The Visualizations pane, 75
The Visuals Subsection, 37
the x- and y-axes , 81, 89
THIRD-PARTY TOOLS, 241
Threshold Determination , 120
Time Intelligence , 129, 271
Time intelligence functions , 113
Time to Get Building, 157
Time-based Insights , 95
Timeline Storyteller, 286
Tooltips , 77, 297
Total Grade Measure , 180
total SalesAmount , 135
TOTALQTD , 272
TOTALYTD , 269, 271
traditional and fixed-layout reporting , 3
traditional and fixed-layout reporting demands , 3
traditional data warehouse , 17
Training and Support , 235
training videos , 44
Transform and Shape the Data , 57
Transform data , 35
transform raw data into actionable insights , 298
Transform Tab, 62, 72
transformation , 3, 13, 16, 22, 23, 57, 59, 61, 63, 73, 88, 142, 143, 145, 186, 236
Transformation of the Data , 55
transforming and modeling data , 5
Transpose converts your columns into rows , 62
Treemap , 46, 101, 102
Types of Functions, 113
U
Understanding additional options, 154
understanding of the dispersion of the data , 120
Unpivot Columns , 62
Upgrading Licenses , 239
usage of a Premium capacity , 217
Use First Row as Headers , 61, 62
use of Content Packs , 8
user management , 8, 201
User Training and Adoption , 237
User-Defined , 129
user-defined expressions , 78
user-defined measures , 129
USERPRINCIPALNAME , 275
users can conduct operations , 13
Users can plan automatic data refreshes , 7
user's interactions and selections , 20
Users of Power BI , 3, 77, 133, 176, 182, 238
Users of Power BI Desktop , 3
Users of Power Query , 5, 16
users' particular company environment , 130
users pre-built templates , 8
user's premises , 7
using a web browser , 3, 189
using Charticulator , 244
Using Merge to Get Columns from Other Tables, 146
Using the Decomposition, 170
using the Refresh Preview button , 59
using the tabular architecture , 17
using typical chart formats , 283
Utilize Analytical Features , 89
Utilizing Excel's functions , 13
utilizing the DAX formula language , 19
V
Variance, 121, 122, 123, 267
variety of data fields , 78
variety of formatting options , 5, 14, 286
variety of new features , 12
variety of sources , 1, 13, 14, 15, 22, 55
various areas of data analysis , 4
various dimensions or sizes , 86
various types of visualizations , 6
Version Control and Deployment Lifecycle , 237
Version Control Integration , 261
VertiPaq , 17, 18, 19, 20, 21, 22, 247, 263
View and interact with the shared report , 211
View dataset , 198
visual characteristics , 5, 294
visual components of a chart , 95
Visual creation and customization , 166
visual creation tool , 244
visual creation tool developed by Microsoft , 244
Visual Exploration , 157
visual formatting options , 40
Visual Interactivity, 76
visual representation , 44, 73, 75, 84, 89, 97, 99, 100, 104, 115, 124, 162, 169, 193, 288,
289, 293, 297
visual representation of project hierarchy , 297
visualization , 3, 4, 5, 7, 9, 10, 11, 14, 15, 18, 23, 36, 38, 47, 48, 51, 54, 57, 67, 73, 74, 75,
76, 77, 78, 79, 80, 82, 83, 84, 85, 87, 88, 89, 90, 92, 93, 94, 95, 96, 98, 101, 102, 104,
105, 106, 107, 108, 119, 120, 138, 139, 146, 162, 166, 183, 189, 216, 265, 266, 280,
281, 283, 285, 288, 291, 292, 295, 298
Visualization and Analysis , 13
visualization and analysis of the correlation , 98
visualization capabilities , 3, 4, 10, 11, 183
visualization options , 15, 266, 298
Visualizations Pane, 46, 107
Visualizations window , 29, 75, 81, 82, 106, 164, 170, 280
Visualize and analyze your data , 141
visualize data , 4, 115, 288
VISUALIZING DATA 101, 73
Visualizing Data Extremes , 120
W
Watch the Impact , 182
Waterfall chart , 46, 82
Waterfall Chart, 87, 88
web browser , 7, 44, 211, 227
web services , 7, 13, 56
web sources , 4
Web URL , 54
web-based platform , 3, 189
websites , 4, 10, 39, 245
Weighted Aggregations , 115
well-known tools , 1
What Is a Relationship?, 66
What Is a Workspace?, 206
What Is Power BI?, 1
What-If Analysis, 176, 177
Why Visualize Data?, 73
wide range of capabilities , 298
wide variety of fields , 4, 13, 164
wizards , 6, 13
Word Cloud, 288
Work Together and Iterate , 177
Workspace and App Management, 219
Workspace Generation and Access Control, 219
Workspaces for Organization , 189