Dashboard SOP and Power BI User Guide - Final
Dashboard SOP and Power BI User Guide - Final
DECEMBER 1, 2021
TECAN - EU
KIGALI - RWANDA
Dashboard SOP & Power BI User Guide by TECAN - EU
TABLE OF CONTENTS
Contents
1 Introduction ....................................................................................................................... 3
2 Purpose ............................................................................................................................. 5
3 Features ............................................................................................................................ 5
3.1 Post Harvest Dashboard Features ................................................................................... 6
3.2 Roles and Responsibilities............................................................................................ 12
4 Functionalities .................................................................................................................. 12
4.1 Audience................................................................................................................... 12
4.2 Prerequisites ............................................................................................................. 12
4.3 Installation Steps........................................................................................................ 13
4.4 Architecture .............................................................................................................. 16
4.5 Supported Data Sources .............................................................................................. 17
4.6 Comparison with Other BI Tools ................................................................................... 27
4.6.1 Power BI vs Tableau............................................................................................. 27
4.6.2 Power BI vs SSRS ................................................................................................. 28
4.7 Data Modeling ........................................................................................................... 29
4.7.1 Using Data Modeling and Navigation...................................................................... 29
4.7.2 Creating Calculated Columns................................................................................. 35
4.7.3 Creating Calculated Tables.................................................................................... 37
4.7.4 Managing Time-Based Data .................................................................................. 39
4.8 Dashboard Options..................................................................................................... 40
4.8.1 Power BI Dashboard ............................................................................................ 40
4.8.2 Creating Dashboards............................................................................................ 41
4.8.3 Working with Power BI Dashboard......................................................................... 43
4.9 Visualization Options .................................................................................................. 47
4.9.1 Creating Simple Visualizations ............................................................................... 47
4.9.2 Creating Map Visualizations .................................................................................. 48
4.9.3 Using Combination Charts .................................................................................... 50
4.9.4 Using Tables ....................................................................................................... 51
4.9.5 Modify Colors in Charts ........................................................................................ 53
4.9.6 Adding Shapes, Images and Text box...................................................................... 56
4.9.7 Styling Reports.................................................................................................... 58
1
Dashboard SOP & Power BI User Guide by TECAN - EU
2
Dashboard SOP & Power BI User Guide by TECAN - EU
1 Introduction
This manual on Standards Operating Procedures seeks to shed some lights on the use of the
post-harvest infrastructures dashboard as a tool for data management for improved
information system, monitoring the post-harvest infrastructures, and decision- making. This tool
is tested with a recent baseline survey conducted by MINAGRI and TECAN on the status of the
post-harvest facilities in the agriculture sector on 31 December 2020.
In the same time, the Ministry of Agriculture and Animal Resources is updating the Post-harvest
management strategy for the Agriculture Sector. This policy action was undertaken in June 2020
in collaboration with the EU – funded Technical Assistance (TECAN), WFP and FAO. A Steering
Committee (SC) has been established to provide the overall guidance and monitor the strategy
development process to support the process of strategy design, a baseline survey was
conducted by MINAGRI from June to December 2020 with the support of, TECAN, RAB, and WFP.
The aim of the baseline assessment was to provide field-based evidence on the status of post-
harvest infrastructures, and usage, as well as issues of already available PH facilities, to update
the 2011 post-harvest strategy. In addition to the 2011 strategy, which covered only a part of
agriculture commodities, while the current one covers both agriculture and livestock.
In line with its intervention of capacity development and skills transfer, TECAN has designed a
dashboard to set, monitor and update the baseline of the Post-Harvest infrastructures and their
use.
A dashboard is a business intelligence tool used to manage all the business information from a
single point of access. It helps managers and employees to keep track of the Key Performance
Indicators (KPIs) and relevant metrics. It helps to highlight specific information from the
underlying reports and datasets. The tool also comes handy to end-users for information
tracking, monitoring, answering questions, testing and more in order to make data-driven
business decisions.
In the recent years, dashboards have been used and implemented by many different industries,
from healthcare, HR, marketing, sales, logistics, or IT, all of which have experienced the
importance of dashboard implementation as a way to reduce cost and increase the
productiveness of their respective business. It doesn’t matter from which business you’re
coming from or how big your institution is, you always want effective results and clear actions
to be taken after an issue is discovered.
Dashboard use raw data from different sources, spreadsheets and databases to create tables,
line charts, bar charts and gauges in a central dashboard that users can look at and immediately
understand the key metrics they are looking for. Data dashboards simplify reporting by allowing
users to communicate information at any time without hours of preparation and analyzing.
3
Dashboard SOP & Power BI User Guide by TECAN - EU
Behind the scenes, a dashboard connects to your files, attachments, services and API’s, but on
the surface displays all this data in the form of tables, line charts, bar charts and gauges.
A data dashboard is the most efficient way to track multiple data sources because it provides a
central location for businesses to monitor and analyze performance. Real-time monitoring
reduces the hours of analyzing and long line of communication that previously challenged
businesses.
A strategic dashboard is a reporting tool for monitoring the long-term strategy with the help of
critical success factors. They’re usually complex in their creation, provide a wide impact to a
business, and are mainly used by senior-level management. They track performance metrics
against enterprise-wide strategic goals. As a result, these dashboards tend to summarize
performance over set time frames: past month, quarter, or year. When the strategic dashboard
is properly developed, designed, and implemented, it can effectively reduce the amount of time
needed to accomplish a specific business key performance indicator, while reducing operational
costs. These dashboards can provide senior teams a clear picture of strategic issues, and
therefore, grant them the opportunity to accomplish a specific course of action.
An operational dashboard is one of the types of dashboards used for monitoring and managing
operations that have a shorter time horizon. Since they focus on tracking operational processes,
they’re usually administrated by lower levels of management. This often leads to more direct
action, then further analysis. Because of this, operational dashboards often are more detailed
than strategic dashboards. They can also provide operational reports with a more detailed view
of specific data sets.
An analytical dashboard is a type of dashboard that contains a vast amount of data created and
used by analysts to provide support to executives. They supply a business with a comprehensive
overview of data, with middle management being a crucial part of its usage . They are often
useful when complex categorized information is massive and broad, and need visualization to
perform a clear analysis of generated data.
The analytical dashboard can also be found at the intersection of the strategic and operational
dashboard. They consist of different modules that can bring a positive effect on the performance
of a business if used correctly.
The Post-harvest dashboard is a strategic dashboard which presents the main KPIs. Further
development of the dashboard functionalities is foreseen according to the needs that might be
raised by decision-makers and end-users.
The present Standards Operating Procedures describes the proposed overall procedures of the
dashboard functions, roles and responsibilities of administrators and end -users. The data are
reported by Province, District and sector level and key contributing institutions (public and
private sector). It proposes ways to interface the dashboard with other existing systems (Data
4
Dashboard SOP & Power BI User Guide by TECAN - EU
Warehouse) but focuses only on the way to display and report on the baseline and the display
of main KPIs and relevant metrics.
This SOP is structured in three main parts: Purpose, Features and Functionalities
2 Purpose
The purpose of the SOP is to ensure that compliance standards are met and that it is clear who
is accountable for certain data and activities in the data recording and validation process. The
setting of clear procedures and responsibilities will contribute to increased quality and reliability
of data.
The dashboard is established to support the provision of accurate and timely information on the
status and performance of the Post-Harvest Infrastructures in Agriculture and Livestock with
regards to the implementation of the Strategic Plan for the Transformation of the Agriculture in
Rwanda (PSTA 4).
Dashboard visualizations allow data to be represented in different ways, leading to insights into
data relationships that may not be easily seen. Power BI allows users to create and adjust
visualizations based on their own needs as they look at data from different data sources (Excel
file or DHIS2). Users will be able to look at data from different perspectives and find insights into
data relationships that help them make better informed decisions.
3 Features
The Dashboard is built on Power Business Intelligence open source platform of Microsoft
Company, which makes it sustainable and flexible. There is no need for programming as the
system can be configured by the system administrator (indicators, users, data en try forms,
reports etc.). However, the maintenance and configuration require in-depth knowledge of the
Power BI software. The system is web-based
Power BI is a Data Visualization and Business Intelligence tool that converts data from different
data sources to interactive dashboards and BI reports. Power BI suite provides multiple
software, connector, and services - Power BI desktop, Power BI service based on SaaS, and
mobile Power BI apps available for different platforms. These set of services are used by
business users to consume data and build BI reports.
Power BI is also a business analytics service that delivers insights to enable fast, informed
decisions; Transform data into stunning visuals and share them with colleagues on any device,
Visually explore and analyze data—on-premises and in the cloud—all in one view, Collaborate
on and share customized dashboards and interactive reports and Scale across your organization
with built-in governance and security.
5
Dashboard SOP & Power BI User Guide by TECAN - EU
A data dashboard is an information management tool that visually tracks, analyzes and displays key
performance indicators (KPI), metrics and key data points to monitor the health of a business,
department or specific process. They are customizable to meet the specific needs of a department and
institution.
Behind the scenes, a dashboard connects to your files, attachments, services and API’s, but on the
surface displays all this data in the form of tables, line charts, bar charts and gauges. A data dashboard is
the most efficient way to track multiple data sources because it provides a central location for
businesses to monitor and analyze performance. Real-time monitoring reduces the hours of analyzing
and long line of communication that previously challenged businesses.
Dashboards use raw data from different sources, spreadsheets and databases to create tables, line
charts, bar charts and gauges in a central dashboard that users can look at and immediately understand
the key metrics they are looking for.
Data dashboards simplify reporting by allowing users to communicate information at any time without
hours of preparation and analyzing
The Post-harvest dashboard page contains important KPIs on a single screen, where decision
makers can interconnect various findings and react to any given issue in seconds. The data used
were collected during the recent data collection on post-harvest. The main KPI used on this
Dashboard page are:
1. Facility Type: this a Filter where the user can select one or multiple facility type.
2. Province: This is a filter allowing user to specify any desired province.
3. District: This is a filter allowing user to choose a district on available list.
4. Established: this another filter where the use have the ability to select the facility
establishment period to narrow down the search.
5. Commodities: This is a tree map with will display commodity by facility number and
facility type depending on chosen selection.
6. Facility number: This is a Number card that will display the facility number depending on
a chosen selection.
7. Facility user: This is a Number card that will display the number of facility users
depending on a chosen selection.
8. Capacity: This is a Number card that will display the capacity of selected facilities in
metric cube.
9. Operational status: This a column chart which will display the number of under
operational, non-operation or under construction, facilities depending on the selected
choice.
6
Dashboard SOP & Power BI User Guide by TECAN - EU
10. Facility by District: This a table which will display the facility number by district and
sector depending on selected filters
11. Harvesting Season: This a donut chart will display the facility numbers against the
harvesting season; rainy season, dry season or all seasons.
12. Facility establishment period by funding partners: This is an area chart which will display
the facility numbers and types vs. their funding partners in the last 10 years.
13. Funding partners share: this is a funnel chart that will display Facility number against
funding partner’s shares percentage.
14. Map: this is a map slice which will display facility GIS location, this map has a call out on
any selected facility which will indicate its, Type, GPS coordinates, Province, District,
Sector, Cell, Users, Capacity, Commodities, Funding partners, Owner, user, contact
person and Operational status.
7
Dashboard SOP & Power BI User Guide by TECAN - EU
The Post-harvest dashboard page contains important KPIs and metrics on a single screen, where
decision makers can interconnect various findings and react to any given issue in seconds. The
data used were collected during the recent data collection on post-harvest.
3.2. The use of the dashboard
o Power BI Dashboard
o Working with Power BI Dashboard
• Interact with filters/slicers
• Cross-highlight the related visualizations in a Report
• Hover over a visual to see details.
• Focus mode
• View chart data as a table
• Sort the data in a visualization
• Export the data presented in a visual (if available)
• PH Dashboard Major KPIs
Tiles
A Power BI dashboard uses visualizations to tell a story in a single page. The visualizations you
see on the dashboard are called tiles and are pinned to the dashboard by report designers.
The visualizations on a dashboard come from reports and each report is based on one dataset.
In fact, one way to think of a dashboard is as an entryway into the underlying reports and
datasets. Selecting a visualization takes you to the report that was used to create it.
A dashboard can combine on-premises and cloud data, providing a consolidated view regardless
of where the data lives and where the data come from.
A dashboard isn't just a pretty picture; it's interactive and the tiles update as the underlying data
changes.
Interact with filters/slices
Filters/slicers allow you to narrow
the data that is visualized on a page,
multiple filters can be selected to
narrow down the dataset. To
remove a filter, deselect all filtered
values.
Example: All facility types’ data are
initially shown at the dashboard.
Selecting Collection Centers causes
the visualizations to show only data
for that type.
8
Dashboard SOP & Power BI User Guide by TECAN - EU
9
Dashboard SOP & Power BI User Guide by TECAN - EU
On the data
dashboard page,
once you move your
cursor over any
visual element it
allows you to
automatically view
detailed data
10
Dashboard SOP & Power BI User Guide by TECAN - EU
11
Dashboard SOP & Power BI User Guide by TECAN - EU
4 Functionalities
4.1 Audience
This user manual has been prepared for beginners to help them understand the basic concepts
of Power BI Dashboard. This user manual will give you enough understanding on Power BI, from
where you can take yourself to a higher level of expertise.
4.2 Prerequisites
Before proceeding with this user manual, you should be familiar with Microsoft Excel, data
modeling, and have some knowledge of DAX language.
12
Dashboard SOP & Power BI User Guide by TECAN - EU
• Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows
Server 2012, Windows Server 2012 R2
• Microsoft Power BI Desktop requires Internet Explorer 9 or higher
• Microsoft Power BI Desktop is available for 32-bit (x86) and 64-bit (x64) platforms
Users can select a language in which they want to install Power BI and following files are
available for download.
https://www.microsoft.com/en-us/download/details.aspx?id=45331
PBIDesktop_x64.msi shows a 64-bit OS file. Select the file you want to install as per OS type and
click Next. Save the installation file on the local drive.
14
Dashboard SOP & Power BI User Guide by TECAN - EU
Accept the license agreement and follow the instructions on the screen to finish the installation.
15
Dashboard SOP & Power BI User Guide by TECAN - EU
When Power BI is installed, it launches a welcome screen. This screen is used to launch different
options related to get data, enrich the existing data models, create reports as well as publish
and share reports.
4.4 Architecture
Power BI includes the following components −
• Power BI Desktop − This is used to create reports and data visualizations on the dataset.
• Power BI Gateway − You can use Power BI on-premises gateway to keep your data fresh
by connecting to your on-premises data sources without the need to move the data. It
allows you to query large datasets and benefit from the existing investments.
• Power BI Mobile Apps − Using Power BI mobile apps, you can stay connected to their
data from anywhere. Power BI apps are available for Windows, iOS, and Android
platform.
• Power BI Service − This is a cloud service and is used to publish Power BI reports and data
visualizations.
16
Dashboard SOP & Power BI User Guide by TECAN - EU
• Flat Files
• SQL Database
• PostgreSQL
• OData Feed
• Blank Query
• Azure Cloud platform
• Online Services
• Blank Query
• Other data sources such as Hadoop, Exchange, or Active Directory
To get data in Power BI desktop, you need to click the Get data option in the main screen. It
shows you the most common data sources first. Then, click the More option to see a full list of
available data sources.
17
Dashboard SOP & Power BI User Guide by TECAN - EU
When you click “More..” tab as shown in the above screenshot, you can see a new navigation
window, where on the left side it shows a category of all available data sources. You also have
an option to perform a search at the top.
18
Dashboard SOP & Power BI User Guide by TECAN - EU
19
Dashboard SOP & Power BI User Guide by TECAN - EU
Database
When you click the Database option, it shows a list of all the database connections that you can
connect to.
20
Dashboard SOP & Power BI User Guide by TECAN - EU
To connect to any database, select a Database type from the list as shown in the above
screenshot. Click Connect.
You have to pass Server name/ User name and password to connect. You can also connect via a
direct SQL query using Advance options. You can also select Connectivity mode - Import or
DirectQuery.
Note − You can’t combine import and DirectQuery mode in a single report.
Import vs DirectQuery
DirectQuery option limits the option of data manipulation and the data stays in SQL database.
DirectQuery is live and there is no need to schedule refresh as in the Import method.
Import method allows to perform data transformation and manipulation. When you publish the
data to PBI service, limit is 1GB. It consumes and pushes data into Power BI Azure backend and
data can be refreshed up to 8 times a day and a schedule can be set up for data refresh.
21
Dashboard SOP & Power BI User Guide by TECAN - EU
22
Dashboard SOP & Power BI User Guide by TECAN - EU
Azure
Using the Azure option, you can connect to the database in Azure cloud. Following screenshot
shows the various options available under Azure category.
Online Services
Power BI also allows you to connect to different online services such as Exchange, Salesforce,
Google Analytics, and Facebook.
Following screenshots shown the various options available under Online Services.
23
Dashboard SOP & Power BI User Guide by TECAN - EU
24
Dashboard SOP & Power BI User Guide by TECAN - EU
Other
Following screenshot shows the various options available under other category .
25
Dashboard SOP & Power BI User Guide by TECAN - EU
26
Dashboard SOP & Power BI User Guide by TECAN - EU
Tableau can connect much larger Power BI has a limit of 1GB data in
Size of Dataset
datasets as compared to Power BI. free version.
27
Dashboard SOP & Power BI User Guide by TECAN - EU
SSRS is mostly used for Pixel Power BI provides a strong backend data
Data
perfect reporting and average manipulation feature with access to simple
Visualization
dash-boarding features. visualizations.
28
Dashboard SOP & Power BI User Guide by TECAN - EU
29
Dashboard SOP & Power BI User Guide by TECAN - EU
In the above image, you can see a common data model, which shows a relationship between
two tables. Both tables are joined using a column name “Id”.
Similarly, in Power BI, you set the relationship between two objects. To set the relationship, you
have to drag a line between the common columns. You can also view the “Relationship” in a
data model in Power BI.
To create data model in Power BI, you need to add all data sources in Power BI new report
option. To add a data source, go to the Get data option. Then, select the data source you want
to connect and click the Connect button.
30
Dashboard SOP & Power BI User Guide by TECAN - EU
Once you add a data source, it is presented on the right side bar. In the following image, we
have used 2 xls file to import data - Customer and Product.
In Power BI on the left side of the screen, you have the following three tabs −
31
Dashboard SOP & Power BI User Guide by TECAN - EU
• Report
• Data
• Relationships
When you navigate to the Report tab, you can see a dashboard and a chart selected for data
visualization. You can select different chart types as per your need. In our example, we have
selected a Table type from available Visualizations.
32
Dashboard SOP & Power BI User Guide by TECAN - EU
When you go to the Data tab, you can see all the data as per the defined Relationship from the
data sources.
In the Relationship tab, you can see the relationship between data sources. When you add
multiple data sources to Power BI visualization, the tool automatically tries to detect the
relationship between the columns. When you navigate to the Relationship tab, you can view the
relationship. You can also create a Relationship between the columns using Create Relations hips
option.
You can also add and remove relationships in data visualization. To remove a relationship, you
have to right-click and select the “Delete” option. To create a new “Relationship”, you just need
to drag and drop the fields that you want to link between the data sources.
33
Dashboard SOP & Power BI User Guide by TECAN - EU
You can also use the Relationship view to hide a particular column in the report. To hide a
column, right-click on the column name and select the “Hide in report view” option.
34
Dashboard SOP & Power BI User Guide by TECAN - EU
When you navigate to the Modeling tab, you can see a New Column option at the top of the
screen. This also opens the formula bar, where you can enter DAX formula to perform
calculation. DAX- Data Analysis Expression is a powerful language also used in Excel to perform
calculations. You can also rename the column by changing the Column text in the formula bar.
35
Dashboard SOP & Power BI User Guide by TECAN - EU
In the following example, let us create a new column: Product Code (Product_C), which is
derived from the last three characters of Prod_Id column. Then, write the following formula –
Product_C = RIGHT( Sheet1[Prod_Id],3)
A long list of formulas is also provided that you can use for creating calculated columns. You
have to enter the first character of formula to be used in calculations as shown in the following
screenshot.
36
Dashboard SOP & Power BI User Guide by TECAN - EU
DAX expression is used to create the new table. You have to enter the name of a new table on
the left side of the equal sign and DAX formula to perform the calculation to form that table on
the right. When the calculation is complete, the new table appears in the Fields pane in your
model.
In the following example, let us define a new table - Table_CustC that returns a one column
table containing unique values in a column in another table.
37
Dashboard SOP & Power BI User Guide by TECAN - EU
A new table is added under the “Fields” section in Power BI screen as shown in the following
screenshot. Once the calculated column and calculated tables are created as per your
requirement, you can use the fields in the Report tab in Power BI.
To add these objects, you have to select a checkbox and a relationship is automatically detected
if possible. If not, then you can drag the columns that you want to connect.
To view the report, you navigate to the Report tab and you can see both “Calculated columns”
and fields from the new “Calculated table” in the report view.
38
Dashboard SOP & Power BI User Guide by TECAN - EU
39
Dashboard SOP & Power BI User Guide by TECAN - EU
We can enable the drill feature in visualizations using the option at the top. Once we enable the
drill feature and click the bars or lines in the chart, it drills down to the next level of time
hierarchy. Example: Years → Quarters → Months.
We can also use Go to the next level in the hierarchy option to perform a Drill.
40
Dashboard SOP & Power BI User Guide by TECAN - EU
Power BI Dashboards are a wonderful monitoring tool allowing us to look for answers, and to see
all the most-important metrics at a glance. The visualizations on a dashboard may come from
one underlying dataset or many, and from one underlying report or many.
A dashboard can combine on-premises and cloud data, providing a consolidated view regardless
of where the data lives and where the data come from.
A dashboard isn't just a pretty picture; it's interactive and the tiles update as the underlying
data changes.
In Power BI, you can create a dashboard from Power BI desktop and publish it on Power BI
services, you can also create a dashboard by pinning visualizations from BI reports that are
published using Power BI desktop. All the visualizations that are created using Power BI service
are also available for pinning to create dashboards.
In Power BI, if you want to pin a visual, open the BI report on the Power BI service. At the top of
the visual, select the pin icon.
41
Dashboard SOP & Power BI User Guide by TECAN - EU
When you use the Pin option as shown as shown in the above screenshot, a ne w dialog box
appears as shown in the following screenshot. It asks you to create a new dashboard or select an
existing dashboard to put the visual from the dropdown list. If you don’t have an existing
dashboard, then this option is greyed out.
Once you click the Pin button, you will get a confirmation that your visualization is “Pinned” to
the dashboard. You can click My Workspace and check the dashboard.
Once your dashboard is created, you can use different options to configure the dashboard.
42
Dashboard SOP & Power BI User Guide by TECAN - EU
Example: All facility types’ data are initially shown at the dashboard. Selecting Collection Centers
causes the visualizations to show only data for that type.
43
Dashboard SOP & Power BI User Guide by TECAN - EU
Example: Clicking Non Operational in the chart causes the dashboard to show all results by Non
Operational facilities
44
Dashboard SOP & Power BI User Guide by TECAN - EU
While in focus mode, you can interact with any filters that were applied when this visual was
created.
45
Dashboard SOP & Power BI User Guide by TECAN - EU
46
Dashboard SOP & Power BI User Guide by TECAN - EU
In Power BI, you can create visualization in two ways. First is by adding from the right side pane
to Report Canvas. By default, it is the table type visualization, which is selected in Power BI.
Another way is to drag the fields from right side bar to the axis and value axis under Visualization.
You can add multiple fields to each axis as per the requirement.
47
Dashboard SOP & Power BI User Guide by TECAN - EU
In Power BI, it is also possible to move your visualization on the reporting canvas by clicking and
then dragging it. You can also switch between different type of charts and visualizations from the
Visualization pane. Power BI attempts to convert your selected fields to the new visual type as
closely as possible.
To use a bubble map, drag the map from Visualizations to the Report Canvas. To display values,
you have to add any location object to the axis.
48
Dashboard SOP & Power BI User Guide by TECAN - EU
In the value fields, you can see that it accepts values axis such as City and State and or you can
also add longitude and latitude values. To change the bubble size, you need to add a field to the
value axis.
You can also use a filled map in data visualization, just by dragging the filled map to the Report
Canvas.
Note − If you see a warning symbol on top of your map visualization, it means that you need to
add more locations to your map chart.
49
Dashboard SOP & Power BI User Guide by TECAN - EU
Once you add a data source, it will be added to the list of fields on the right side. You can add
units to the column axis as shown in the following screenshot.
You have other type of combine chart that you can use in Power BI - Line and Clustered Column.
50
Dashboard SOP & Power BI User Guide by TECAN - EU
You can also perform a sort in the table using an arrow key at the top of the column. To perform
ascending/descending sort, just click the arrow mark, and the values in the column will be sorted.
51
Dashboard SOP & Power BI User Guide by TECAN - EU
The order of the columns in a table is determined by the order in the value bucket on the right
side. If you want to change the order, you can delete any column and add the other one.
You can also undo summarize or apply different aggregate function on numerical values in the
table. To change the aggregation type, click the arrow in the value bucket in front of the measure
and you will see a list of formulas that can be used.
52
Dashboard SOP & Power BI User Guide by TECAN - EU
Another table type in Power BI is the matrix table that provides a lot of features such as auto
sizing, column tables, and setting colors, etc.
• Legend
• Data Colors
• Detail Label
• Title
• Background
53
Dashboard SOP & Power BI User Guide by TECAN - EU
• Lock Aspect
• Border
• General
To open these options, go to the Format tab as shown in the following screenshot. Once you
click, you can see all the options available.
When you expand the Legend field, you have an option where you want to display the legend.
You can select −
• Position
• Title
• Legend Name
• Color
• Text Size
• Font Family
54
Dashboard SOP & Power BI User Guide by TECAN - EU
Similarly, you have data colors. In case, you want to change the color of any data field, you can
use this option. It shows all objects and their corresponding colors in the chart.
You also have Analytics feature in the tool, where you can draw lines as per requirement in data
visualization. You have the following line types in data visualization −
• Constant Line
• Min Line
• Max Line
55
Dashboard SOP & Power BI User Guide by TECAN - EU
• Average Line
• Median Line
• Percentile Line
You can opt for a dashed, dotted, or a solid line. You can select Transparency level, color, and
position of the line. You can also switch on/off data label for this line.
56
Dashboard SOP & Power BI User Guide by TECAN - EU
You can insert different shapes in data visualization. To see the available shapes, click the arrow
next to the Shapes button.
When you click on the text box, it adds a text box in your Report canvas. You can enter any text
in the text box and use the rich text editor to make formatting changes.
Similarly, images can be added to data visualization to add logos or other images to data
visualization. When you click the Image option, it asks for a path to pass the image file.
You can add shapes by selecting any shape from the dropdown list. You can also resize it using
different options.
57
Dashboard SOP & Power BI User Guide by TECAN - EU
• Fit to Page
• Fit to Width
• Actual Size
By default, the page size in a report is 16:9; however, it is also possible to change the page size
of the report. To change the page size, navigate to the Visualization pane and select Paint brush.
58
Dashboard SOP & Power BI User Guide by TECAN - EU
Note − To change page size, no visualization should be added to the Report canvas. You have
the following options available under Page layout −
• Page Information
• Page Size
• Page Background
Under Page Information, you have Name and Q&A.
Under Page Size, you can select from the following options −
• Type
• Width
• Height
Under Page Background, you can select from the following options:
• Color
• Transparency
• Add Image
59
Dashboard SOP & Power BI User Guide by TECAN - EU
Now, if you want to rename an existing page or delete a page, you can use other options as shown
in the above screenshot.
60
Dashboard SOP & Power BI User Guide by TECAN - EU
Also note that it is not necessary your Excel file should only be saved on the Local Drive. You can
also import an Excel workbook from OneDrive or even from SharePoint.
Once the dataset is imported, you are ready to create the reports in Power BI. Imported dataset
is available under “DATASETS” option in Power BI menu.
61
Dashboard SOP & Power BI User Guide by TECAN - EU
Double-click Datasets. Then, navigate to the Explore tab. This will open a new Report Canvas.
All the fields from your table and corresponding columns are available under the Fields option
on the right side of the screen.
To create a report, select any visualization and add the fields from the table to visualization.
62
Dashboard SOP & Power BI User Guide by TECAN - EU
Once you select the Publish service, your visuals, custom measures and reports are all packaged
and published to Power BI service. Power BI files have an extension .pbix files. When the upload
is in process, you get a dialog box that Publishing is in process.
Once the upload is complete, you will get a confirmation message announcing the “Success”. You
can also view Quick Insights and open the shared report from the dialog box.
63
Dashboard SOP & Power BI User Guide by TECAN - EU
It will open a Print dialog box. You can select the Printer on which you want to take the printout
of the report. You can also select different Print options such as Portrait/Landscape, Margins,
Header or Scale.
64
Dashboard SOP & Power BI User Guide by TECAN - EU
When you click the Export to option, it generates a CSV file. In Power BI, you can also
export/view a report directly by navigating to File → Print option.
65
Dashboard SOP & Power BI User Guide by TECAN - EU
Once you open the report that you want to publish, navigate to the File tab → Publish to Web.
Once you select this option, it opens a new dialog that creates an embed code for this report to
include in the website or email.
Option says: Get a link or embed code that you can include on a public website. You may use
publish to web functionality to share content on a publicly available website. You may not use
this functionality to share content internally, which includes through your email, your internal
network, or intranet site. Publish a live version that will remain synchronized with the source
report in Power BI. Any changes you make to the report will immediately be reflected in the
published public version.
66
Dashboard SOP & Power BI User Guide by TECAN - EU
When you select - Create Embed code, Power BI prompts that you want to share your data with
everyone on the internet.
The following message is displayed: You are about to create an embed code for this report. Once
published, anyone on the Internet will be able to access the report and the data it contains, and
Microsoft may display the report on a public website or a public gallery.
Before publishing this report, ensure you have the right to share the data and visualizations
publicly. Do not publish confidential or proprietary information, or an individual's personal data.
If in doubt, check your organization's policies before publishing.
Note − You can publish the report as a web page and any user with the link can view it. The link
can be sent via email or it can be used as an iframe in a web page.
67
Dashboard SOP & Power BI User Guide by TECAN - EU
To remove an embed code click the ellipsis mark (…) in front of the report name and select the
Delete option.
68
Dashboard SOP & Power BI User Guide by TECAN - EU
When you click the Delete option, it will ask you if you want to delete publish to web code. Once
you are sure, click Delete.
Once you select Create content pack, you will be prompted with a new dialog box. You can
choose if you want to distribute this content pack with Specific Groups or My Entire
Organization.
69
Dashboard SOP & Power BI User Guide by TECAN - EU
If you want to share this with specific people, you have to enter email addresses. You can also
add a Title and description of the content pack as shown in the following screenshot.
At the bottom of the page, you have an option to select the components you want to publish.
You can select from the following −
• Dashboards
• Reports
• Datasets
70
Dashboard SOP & Power BI User Guide by TECAN - EU
If you see a small icon in front of the name of the content pack, it shows that the content pack
is updated. When you select the edit button, you will reach the home screen, where you can
create a new content pack.
71
Dashboard SOP & Power BI User Guide by TECAN - EU
Power BI accepts all the changes you make to the content pack and publishes the updated
content pack to the content pack gallery.
72
Dashboard SOP & Power BI User Guide by TECAN - EU
DAX function can also include other functions, conditional statements, and value references.
• Aggregate
• Text
• Date
• Logical
• Counting
• Information
Power BI provides an easy way to see the list of all functions. When you start typing your
function in the formula bar, you can see the list of all functions starting with that alphabet.
Aggregate Functions
DAX has a number of aggregate functions.
• MIN
• MAX
• Average
• SUM
• SUMX
Counting Functions
Other counting functions in DAX include −
• DISTINCTCOUNT
• COUNT
73
Dashboard SOP & Power BI User Guide by TECAN - EU
• COUNTA
• COUNTROWS
• COUNTBLANK
Logical Functions
• AND
• OR
• NOT
• IF
• IFERROR
TEXT Functions
• REPLACE
• SEARCH
• UPPER
• FIXED
• CONCATENATE
DATE Functions
• DATE
• HOUR
• WEEKDAY
• NOW
• EOMONTH
INFORMATION Functions
• ISBLANK
• ISNUMBER
• ISTEXT
• ISNONTEXT
• ISERROR
DAX Calculation Types
In Power BI, you can create two primary calculations using DAX −
• Calculated columns
• Calculated measures
74
Dashboard SOP & Power BI User Guide by TECAN - EU
When you navigate to the Modeling tab, you can see a New Column option at the top of the
screen. This also opens the formula bar where you can enter DAX formula to perform the
calculation. DAX - Data Analysis Expression is a powerful language used in Excel to perform
calculations. You can also rename the column by changing the Column text in the formula bar.
In the following example, we have created a new column: Product Code (Product_C), which is
derived from the last 3 characters of Prod_Id column. Following is the formula −
Product_C = RIGHT( Sheet1[Prod_Id],3)
To create a calculated measure, navigate to New Measure tab under Modeling. This will add a
new object under the Fields tab with the name Measure.
75
Dashboard SOP & Power BI User Guide by TECAN - EU
You can write DAX formula to calculate the value of the new measure, as we did for the new
calculated column.
Navigate to the Customized Administrator tab and select Power BI Service Administrator.
4.14 Purchasing
Power BI is a newly designed tool from Microsoft, which consists of the following components
−
• Power BI Desktop
76
Dashboard SOP & Power BI User Guide by TECAN - EU
• Power BI Service
• Connector Gateway
Power BI desktop is a free tool that can be installed from the Microsoft site without any
additional cost.
https://powerbi.microsoft.com/en-us/pricing/
77
Dashboard SOP & Power BI User Guide by TECAN - EU
Power BI Pro has 60-days free trial and then it can be purchased for 9.99$/user/month. Power
BI Premium is as per the capacity pricing per node/month.
Power BI also provides on-premise report server, which can be used for publishing a report with
the flexibility to move to the cloud environment later.
https://powerbi.microsoft.com/en-us/report-server/
A trial version is also available for Power BI Pro Report Server and as per the company website
- Power BI Report Server provides access to data and insights, and the enterprise reporting
capabilities of SQL Server Reporting Services in a modern, on-premises solution.
It assists in visually exploring data and quickly discovering patterns to make better, faster
decisions. At the same time, it generates precisely formatted reports based on the business
needs. You’ll also be able to confidently scale to thousands of users as Power BI Report Server
is based on a proven, enterprise-grade platform.
• .NET
• JQuery
• Ruby
To authenticate Power BI, you need to get an Azure Active Directory token and this can allow
your app to access Power BI dashboards.
Following is the C# code to get an authorization code from Azure AD in Power BI service.
78
Dashboard SOP & Power BI User Guide by TECAN - EU
4.16 Security
Azure Active Directory (AAD) authentication is used in Power BI when a user authenticates using
Power BI service. Power BI login credentials can be an email account used by users to set up
their BI account and is an effective username.
Power BI provides security level used by Azure cloud that includes the following level of security
−
• Azure BLOB
• Azure SQL Database
79
Dashboard SOP & Power BI User Guide by TECAN - EU
Azure BLOB storage is used for data uploaded by users and Azure SQL database is used to store
system data. Power BI security is mostly based on data and network security features available
in Azure cloud and authentication is also based on Azure AD.
80