Академический Документы
Профессиональный Документы
Культура Документы
Discrete
Manufacturing
Government &
Education
Healthcare
Banking &
Financial Services
Professional
Services
Introducing Cortana Intelligence Suite
Transform data into intelligent action
Data
People
Sources
Apps Apps
Sensors
& Automated
Devices
Cortana Intelligence systems
Preconfigured Solutions
Cortana
Information Management
And incorporating industry-leading Microsoft solutions
Information Big Data Stores Machine Learning Intelligence
Data Management and Analytics
People
Sources
Machine Cognitive
Data Factory Data Lake Store
Learning Services
Dashboards &
Azure Analysis Visualizations
Services
Sensors Automated
and Power BI Systems
devices Azure Databricks
Machine Learning
Storage Power BI
SQL Database
HDInsight
• Analytics for everyone, even non-data experts • Drive consistent analysis across your organization
• Your whole business on one dashboard • Embed visuals in your applications
• Create stunning, interactive reports • Get real-time alerts when things change
Example: Data and Service Architecture
Data Sources Ops/Monitoring Security/Identity Governance Users
Engineering
Analyze
Operations
Analyst Scientist
Example: Data and Service Architecture
Data Sources Ops/Monitoring Security/Identity Governance Users
Op / App Insights Active Directory
Data Catalog
Azure Key Vault
Security Center
MFA
Analyze
Machine Learning
Microsoft R
Data Lake Analytics
Spark
Operations
Analyst Cognitive Services Scientist
Any data, any way, anywhere
Power BI benefits by role
Whatever the role, Power BI brings all data together
Business user
▪ Import data from SaaS sources, and work with dashboards and reports
Business analyst
▪ Import, reshape and model data
▪ Create compelling reports and visualizations
▪ Create content packs to share insights
BI professional
▪ Connect to live Azure data services
▪ Connect to on-premises Analysis Services databases
▪ Empower colleagues to create their own reports
Developer
▪ Integrate applications with Power BI
▪ Create real-time dashboards
▪ Develop custom visuals
Power BI product portfolio
Free companion authoring tool for the Power BI service
Get Data
Easily connect, clean, and mashup data
Analyze
Build powerful models and flexible measures
Visualize
Create stunning interactive reports
Publish
Share insights with others
Collaborate
Empower your organization with self-service analytics
Power BI service
Cloud-based SaaS solutions
Premium capacity – P2
My workspace
Premium capacity – P3 User 2
Flexibility to license by capacity
App workspace My workspace
Sales User 3
My workspace
App workspace
User 1
Extending on-premises capabilities Marketing
APIs
Custom app
Power BI Premium
Power BI Report Server
Connect to data
Over 70+. Data can be imported, queried directly or live connection to SSAS
Power BI reports
Fully interactive reports on-premises to visualize your data and gain
insights
SSRS reports
Precisely formatted operational reports
x 3,4
x 3,4
x4
x4
3
x
3,4
x
3
x
3
x
3
x
3
x
x
this
Noisy neighbor isolation
Enhance performance by moving workspaces to dedicated hardware
Larger datasets
Import a dataset up to 10 GB in size
Increased storage
Total storage size up to 100 TB
Evaluate Power BI Report Build, test and demonstrate Use this edition of Power BI
Server capabilities in your your BI solution using this full Report Server to deploy in
non-production environment featured Power BI Report production BI solutions and
with this full-featured edition Server edition analytics workloads
Sold by capacity
Hourly meters
Purchased via Azure portal
If you are embedding for your organization, you only need to let people know how to get to your application.
Free users can consume content that is embedded from an app workspace (group), if that workspace is backed by
capacity. List the Free user as a member of app workspace (group), otherwise you receive a 401 unauthorized error. The
following table lists the available Power BI Premium SKUs available within Office 365.
Purchase a capacity that fits your needs. You can use the table below to understand which Power BI Embedded
capacity SKU you may need.
The recommendation of Microsoft is that enterprises buy Power BI Premium, an
enterprise-grade, self-service cloud BI solution, and ISVs buy Power BI Embedded,
cloud-powered embedded analytics components. However, there are no restrictions on
which product a customer can buy.
There may be some cases where an ISV (typically large) wants to use a P SKU to get the
additional benefits of the pre-packaged Power BI service within their organization as
well as embed in their applications. And of course, some Enterprises may decide to use
A SKUs in Azure if they are only interested in building line of business applications and
embedding analytics into them and are not interested in using the pre-packaged Power
BI service.
Introducing Power BI Desktop
User experience: Getting data
▪ Work in Relationships
View to view all tables,
columns, measures and
relationships in the
model
Introducing Power BI Desktop
Complex schemas: Development methodology
Connections made to
supported data sources can
connect directly by using
DirectQuery:
▪ SQL Server
▪ Azure SQL Database
▪ Azure SQL Data Warehouse
▪ SAP HANA
▪ Oracle Database
▪ Teradata Database
▪ Amazon Redshift (Preview)
Creating queries
DirectQuery mode: Continued
Benefits:
▪ Allows building visualizations over very large datasets
▪ Reports always use current data
Creating queries
DirectyQuery mode: Continued
Limitations:
▪ All tables must come from a single database
▪ The Query Editor query cannot be overly complex
▪ DAX formula are restricted to a subset of the DAX functions
▪ Relationship filtering is limited to a single direction, rather than both directions
▪ If enabled, a preview feature allows cross filtering in both directions
There are three different types of calculations, and each are defined by using
DAX:
▪ Calculated columns
▪ Calculated tables
▪ Measures
Limitations:
▪ Only imported data and DirectQuery connections are supported
▪ Q&A and Cortana are not supported
▪ Analyze in Excel is not supported
▪ External sharing is not supported
Designing reports
Create Configure Enhance the Design Publish to
queries relationships model reports Power BI
▪ Groups
▪ Conditional formatting
▪ Clustering
▪ Forecasting
Designing reports
Custom visuals
Custom visuals are created by developers, using the custom visuals SDK, to enable business users to see their
data in a way that fits the business best. Report authors can then import the custom visuals files into their
reports and use them as any other Power BI visuals.
Custom visuals can be imported to extend beyond the out-of-the-box visualizations
https://docs.microsoft.com/en-us/power-bi/power-bi-custom-visuals
Designing reports
Custom visuals
Custom visuals can be in the form of 3 deployment channels:
• Custom visual files: Custom visuals are packages that include code for rendering the data that is served to
them. Anyone can create a custom visual and package it as a single .pbiviz file, that can be imported into a
Power BI report.
• Organization visuals: Power BI admins can deploy custom visuals into their organization, so that report
authors can easily discover and use the custom visuals that the admin has approved to use inside of the
organization. This gives the admin the control to choose specific custom visuals to deploy in the organization,
as well as an easy way to manage (i.e. update version, disable/enable) those visuals. For the report author, it is
an easy way to discover visuals that are unique to the organization, as well as a seamless support for updating
those visuals.
• Marketplace visuals: Members of the community, as well as Microsoft, have contributed their custom visuals
to the benefit of the public and published them to AppSource marketplace. These visuals can be downloaded
and added to Power BI reports. All of these custom visuals have been tested and approved by Microsoft for
functionality and quality.
Designing reports
Custom visuals: R-powered Visuals
The Power BI service supports viewing and interacting with visuals created with R scripts. Visuals created with
R scripts, commonly called R visuals, can present advanced data shaping and analytics such as forecasting,
using the rich analytics and visualization power of R.
▪ Query parameters
▪ Power BI template files
▪ Running R scripts
▪ Generating R visuals
▪ Shape maps (Preview)
Describing additional capabilities
Query parameters
With the Query Parameters feature, users can easily define one or
multiple parameters to be used in their queries, Data Model and
report layers in Power BI Desktop.
Parameters are defined in terms of:
▪ Name, Description, Type, Accepted Values, Default Value and Current Value
▪ Installing R: R can be downloaded and installed for free from many locations, including
the Revolution Open download page, and the CRAN Repository. The current release of
R scripting in Power BI Desktop supports Unicode characters as well as spaces (empty
characters) in the installation path.
▪ R scripting in Power BI Desktop now supports number formats that contain decimals (.)
and commas (,).
▪ To run an R script in Power BI Desktop, the script has to be created in a local R
development environment, and first it has to run successfully there meaning it has to
run successfully in a new and unmodified workspace: All packages and dependencies
must be explicitly loaded and run. Source() can to be used to run dependent scripts.
Describing additional capabilities
Running R Scripts: Continued
▪ When preparing and running an R script in Power BI Desktop, there are a few
limitations:
▪ Only data frames are imported: So make sure the data you want to import to Power BI is represented
in a data frame
▪ Columns that are typed as Complex and Vector are not imported, and are replaced with error values
in the created table
▪ Values that are N/A are translated to NULL values in Power BI Desktop
▪ Any R script that runs longer than 30 minutes times out
▪ Interactive calls in the R script, such as waiting for user input, halts the script’s execution
▪ When setting the working directory within the R script, you must define a full path to the working
directory, rather than a relative path
Describing additional capabilities
Running R Scripts: Continued
▪ Next, add fields you want to consume in your R script to the Values section in the
Fields well, just as you would with any other Power BI Desktop visual
▪ Only fields that have been added to the Fields well are available to your R script, and
you can add new fields, or remove unneeded fields from the Fields well while working
on your R script in the Power BI Desktop R script editor
▪ Power BI Desktop automatically detects which fields you have added or removed
▪ Note: The default aggregation type for R visuals is do not summarize
Describing additional capabilities
Creating R Visuals: Continued
▪ Now you can use the data you selected to create a
plot. As you select fields, the R script editor
generates supporting R script binding code based
on your selections in the gray section along the top
of the editor pane
▪ As you select or remove additional fields,
supporting code in the R script editor is
automatically generated or removed accordingly
▪ In the example shown in the image on the left,
three fields were selected: hp, gear, and drat. As a
result of those selections, the R script editor
generated the following binding code:
▪ A dataframe called dataset was created
▪ That dataframe is comprised of the different fields selected by the
user
▪ The default aggregation is do not summarize
▪ Similar to table visuals, fields are grouped and duplicate rows only
appear once
Describing additional capabilities
Creating R Visuals: Continued
▪ With the dataframe automatically generated by the
fields you selected, you are ready to write R script
that results in plotting to the R default device.
When the script is complete, select Run from the R
script editor title bar (Run is on the right side of the
title bar)
▪ When Run is selected, Power BI Desktop identifies
the plot and present it on the canvas. Since the
process is executed on your local R installation,
make sure required packages are installed
▪ Power BI Desktop replots the visual when any of
the following events occur:
▪ Run is selected from the R script editor title bar
▪ Whenever a data change occurs, due to data refresh, filtering, or
highlighting
▪ Relationships – as with other Power BI Desktop visuals, if data fields from different tables with no defined relationship between
them are selected, an error occurs
▪ R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself is not interactive and cannot be
the source of cross-filtering
▪ R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other
elements
▪ Only plots that are plotted to the R default display device are displayed correctly on the canvas. Avoid explicitly using a different
R display device
▪ In this release, RRO installations are not automatically identified by the 32-bit version of Power BI Desktop, so you must manually
provide the path to the R installation directory in Options and settings > Options > R Scripting
Describing additional capabilities
Use an external R IDE with Power BI
▪ With Power BI Desktop, you can use an external R IDE
(Integrated Development Environment) in order to
create and refine R scripts. Then use those scripts in
Power BI.
▪ You can specify which R IDE you would like to use, and
have it launch automatically from within Power BI
Desktop.
▪ To use this feature, you need to install an R IDE on your
local computer. Power BI Desktop does not include,
deploy or install the R engine, so you must separately
install R on your local computer
Describing additional capabilities
Use an external R IDE with Power BI: Continued
▪ If you have multiple R IDEs installed, you can specify which will be launched by
selecting it from the Detected R IDEs drop-down in the Options dialog.
▪ By default, Power BI Desktop will launch R Studio as the external R IDE if it's installed
on your local computer; if R Studio is not installed and you have Visual Studio 2015
with R Tools for Visual Studio, that will be launched instead. If neither of those R IDEs
is installed, the application associated with .R files is launched.
▪ And if no .R file association exists, it's possible to specify a path to a custom IDE in the
Browse to your preferred R IDE section of the Options dialog. You can also launch a
different R IDE by selecting the Settings gear icon beside the Launch R IDE arrow icon,
in Power BI Desktop.
Describing additional capabilities
Use an external R IDE with Power BI: Continued
▪ To launch an R IDE from Power BI
Desktop, take the following steps:
▪ Load data into Power BI Desktop.
▪ Select some fields from the Fields pane that you want
to work with. If you haven't enabled script visuals yet,
you'll be prompted to do so.
▪ The DAX Formula Language is a collection of functions, operators, and constants that can be used in a
formula, or expression, in order to calculate and return one or more values. In other words, DAX helps
you create new information from data already in your model.
▪ Of course, it is quite easy to create a new Power BI Desktop file and import some data into it. You can
create reports that show valuable insights without using any DAX formulas at all. But, what if you need
to analyze growth percentage across product categories and for different date ranges? Or, you need
calculate year-over-year growth compared to market trends? DAX formulas provide this capability and
many other important capabilities as well.
▪ Learning how to create effective DAX formulas will help you get the most out of your data. When you
get the information you need, you can begin to solve real business problems that affect your bottom
line. This is the power in Power BI, and DAX will help you get there.
Describing additional capabilities
DAX Formula Language: Continued
Prerequisites:
▪ Even if you have no experience with Excel formulas, the DAX concepts will
help you get started creating DAX formulas and solving real-world BI
problems
▪ However you should already be familiar with Power BI Desktop, importing
data, adding fields to a report
▪ You should also be familiar with fundamental concepts of Measures and
Calculated columns
Describing additional capabilities
DAX Formula Language: Continued
▪ DAX includes the following categories of functions: Date and Time, Time Intelligence,Information, Logical,Mathematical,
Statistical, Text, Parent/Child and Other functions. If you’re familiar with functions in Excel formulas, many of the functions in DAX
will appear similar to you. Please note:
▪ A DAX function always references a complete column or a table. If you want to use only particular values from a table or column, you can add
filters to the formula.
▪ If you need to customize calculations on a row-by-row basis, DAX provides functions that let you use the current row value or a related value
as a kind of argument, to perform calculations that vary by context.
▪ DAX includes many functions that return a table rather than a value. The table is not displayed, but is used to provide input to other functions.
▪ DAX includes a variety of time intelligence functions. These functions let you define or select date ranges, and perform dynamic calculations
based on them.
▪ Excel has a very popular function, VLOOKUP. DAX functions don’t take a cell or cell range as a reference like VLOOKUP does in Excel. DAX
functions take a column or a table as a reference. Keep in-mind, in Power BI Desktop, you’re working with a relational data model. Looking up
values in another table is really quite easy, and in most cases you don’t need to create any formula at all.
Describing additional capabilities
DAX Formula Language: Continued
A. The measure name Store Sales.
The DAX Context: B. The equals sign operator (=) indicates the
beginning of the formula.
E. A measure [Total Sales] in the same table as an expression. The Total Sales measure has the formula:
=SUM(Sales[SalesAmount]).
F. A comma (,) separates the first expression argument from the filter argument.
G. The fully qualified referenced column, Channel[ChannelName]. This is our row context. Each row in this column
specifies a channel: Store, Online, etc.
▪ Using this basic understanding of the most important concepts in DAX, you can begin creating DAX formulas for
measures on your own. DAX can indeed be a little tricky to learn, but there are many resources available to you.
▪ After experimenting with a few of your own formulas, you can learn more about other DAX concepts and formulas
that can help you solve your own business problems. A most important resource is the Data Analysis Expressions
(DAX) Reference.
▪ DAX has been around for several years in other Microsoft BI tools such as Power Pivot and Analysis Services Tabular
models, so there’s a lot of great information out there. You can find more information in books, whitepapers, and
blogs from both Microsoft and leading BI professionals. The DAX Resource Center Wiki on TechNet is also a great
place to start.
▪ In the technical attached ZIP-File “Contoso Sales for Power BI Desktop.zip” you will find these two files; following the
instructions inside the DOCX-File you will create a measure formula, based on the sample PBIX-File
▪ Creating a Measure Formula.docx
Things to Remember
• If you already have two or more datasets in Power BI with the same name as the Power
BI Desktop file, publish could fail.
• Sign in new data source when republishing prior to next scheduled refresh
Creating and exploring reports
Creating reports
In Editing View:
▪ Users can interact, as in Reading View
▪ Users can also update the report (add/remove/reorder pages or visualizations)
Assembling dashboards
Quick insights
Quick Insights with Power BI
.
1. In the left navigation pane, under Datasets select the ellipses (...) and choose
Quick Insights.
2. Within seconds, your insights are ready. Select View Insights to display
visualizations.
Quick Insights with Power BI
. How does Quick Insights work?
Power BI quickly searches different subsets of your dataset while applying a set of sophisticated algorithms to
discover potentially-interesting insights. Power BI scans as much of a dataset as possible in an allotted amount
of time.
1. There are a few requirements for using Analyze in Excel: - Analyze in Excel is
supported for Microsoft Excel 2010 SP1 and later.
When you open the file in Excel, an empty PivotTable and Fields list appears with the
tables, fields, and measures from the Power BI dataset. You can create PivotTables, charts,
and analyze that dataset just as you would work with a local dataset in Excel.
Analyze in Excel is very useful for datasets and reports that connect to Analysis Services Tabular or
Multidimensional databases, or from Power BI Desktop files or Excel workbooks with data models that have
explicit measures created using Data Analysis Expressions (DAX).
Analyze in Excel
Get started with Analyze in Excel
Sign in to Power BI
Analyze with
your Power BI
dataset. Just
as with other
local
workbooks,
Notification
Set data alerts in Power BI service
• Set alerts to notify you when data in your dashboards changes beyond limits you set. Alerts work
for numeric tiles featuring cards, KPIs, and gauges.
• Only you can see the alerts you set, even if you share your dashboard.
3. Individual tile
From the tile itself you can switch on and switch off the alert
Collaborate: Empower your organization
How should I collaborate and share in Power BI?
• Collaborating with coworkers to create meaningful reports and
dashboards in app workspaces.
• Bundling those dashboards and reports into apps and publishing them
to a larger group or your whole organization.
• Sharing dashboards or reports with a few people, from the service or
the Power BI mobile apps.
• Publishing to the web, where anyone can see and interact with them.
• Printing.
No matter which option you choose, to share a dashboard you need a Power BI Pro license, or the
content needs to be in a Premium capacity. License requirements vary for the colleagues who view your
dashboards, depending on the option you choose.
Collaborate with coworkers to create an app
An app is a collection of dashboards and reports built to deliver
key metrics for your organization.
To create an app, you need a app
workspace, with your teammates as
members. Think of the app
workspace as a staging area where
you and they can collaborate on
your Power BI dashboards and
reports. All of you can create reports
in Power BI Desktop and publish
those reports to the app workspace,
and all of you need Power BI Pro
licenses.
Manage your app workspace in Power BI and Office 365