Power BI Introduction and Questions
Power BI Introduction and Questions
Why
Use? DAX Examples
Before we understand PowerBI, lets learn:
What is BI?
Business intelligence is a technology-driven method which helps you to analyze
data and to provide actionable information which helps corporate executives,
business managers, and other users to make informed business decisions.
In this Microsoft Power BI tutorial for beginners, you will learn Power BI basics like:
What is BI?
What is Power BI?
Why use Power BI?
Who uses Power BI?
Advantages of Power BI
Disadvantages of Power BI
Power BI vs. Tableau
Types of Power BI tools
Data sources for the Power BI
Key terms used in Power BI
History of Power BI
Architecture of Power BI
Install and run Power BI Desktop
Power BI Dashboard
What is Dax Function?
In this Power BI training, you will learn all the important concepts of Power BI and
develop a foundational understanding of how to use Power BI tool.
Advantages of Power BI
Here are the advantages of using Power BI:
Disadvantages of Power BI
Here, are Cons/drawbacks of using Power BI:
Dashboards and reports only shared with users having the same email
domains.
Power Bl will not mix imported data, which is accessed from real-time
connections.
Power Bi will not accept the file larger than 250MB and zip file which
compressed by the data of X-velocity in-memory database.
Power BI can't accept file size larger than 1 GB for a Pro subscription.
Dashboards never accept or pass user, account, or other entity parameters.
Very few data sources that permit real-time connections to Power BI reports
and dashboard.
Power BI vs. Tableau
Here, are major differences between Power BI vs. Tableau:
Power BI Desktop
Power BI desktop is the primary authoring and publishing tool for Power BI.
Developers and power users use it to create brand new models and reports from
scratch.
Costs: Free
Power BI service
Online Software as a Service (SaaS) where Powe Bl data models, reports,
dashboards are hosted. Administration, sharing, collaboration happens in the
cloud.
Excel (.xlsx, xlxm) A workbook can have data entered manually or data, which is queried and loaded from
external data sources.
Comma Separated Files are simple text files with rows of data. Every row can contain one or more value
Value (.csv) which is separated by a comma.
Power BI Desktop You can use Power BI Desktop to query and load data from external data sources.
(.pbi)
Databases in the Cloud It allows you to connect live to Azure SQL Database, Azure SQL Data Warehouse,
etc.
Databases on-premises You can connect directly to SQL Server Analysis Services Relational model database
A Power BI Enterprise Gateway is required.
Visualization A visual display of information to achieve one or more objective. It offers a single-screen displa
of information. It alerts users on issues or problems Operational, Performance, Personal, etc.
Datasets A dataset is something which you import or connect to. Datasets can be renamed, refreshed,
removes, and explored.
Dashboard The dashboard is a collection which contains zero or more tiles and widgets. It is used to
represent a customized view of some subset of the underlying datasets.
Reports A Power BI report is one or multiple pages of visualizations. It can be created from scratch,
imported to a dashboard, and created using datasets.
Tile It a single visualization found in a report or on a rectangular dashboard box which contains each
visual.
History of Power BI
Power BI was conceptualized by Ruler and Dhers Netz of the SQL server
coverage services team at Microsoft.
It was designed by West Chadic George in the year 2010 and named as a
Project Crescent.
In 2011, It was bundled with SQL Server Codenamed Mount McKinley.
Microsoft unveiled the first preview to Power BI in September 2014.
The first version of Power BI released on 24 July 2015. It was based on Excel
Based Add-ins like Power Query, Pivot, view, and Map.
Architecture of Power BI
Architecture of Power BI
Data Integration:
An organization needs to work with data which comes from different sources which
can be in various file formats. The data should be extracted from a different source
which can be from different servers or databases. This data is integrated into one
standard format in a common staging area.
Data Processing:
In this stage, the integrated data is still not prepared for visualization as the data
needs processing. This data is pre-processed. For example, redundant values,
missing values will be removed from the data set.
The business rule should be applied to the data when the data is cleaned. You can
load that data back to Data Warehouse.
Data Presentation
Once the data is loaded and processed, it can be visualized much better with use of
various visualization that Power Bi has to offer. Use of dashboard and report helps
one represent data more intuitively. This visual report helps business end users to
take business decision based on the insights.
Install and run Power BI Desktop
Step 1) Visit https://powerbi.microsoft.com/en-us/desktop/
Step 2) You will be redirected to a Microsoft store and select Get button.
There are Power BI components are 5 main components released in the market.
Power Query: It can be used to search, access, and transform public and/ or
internal data sources.
Power Pivot: It is used for data modeling for in-memory analytics.
Power View: This component allows you to visualize, analyze, and display
data.
Power Map: It brings data to life with interactive geographical visualization.
Power BI Service: It allows you to share data views and workbooks, which
you can refresh from on-premises and cloud-based data sources.
Power BI Q&A: It allows you to ask questions and get immediate answers
using a natural language query.
Data Management Gateway: It offers periodic data refreshers, view data
feeds, expose tables.
Data Catalog: This component allows the user to discover and reuse queries
using the Data Catalog. Metadata can be facilitated for search functionality.
Each is linked to the other by having common columns. Here is a simple diagram of
Power BI Dashboard Example showing the relationships.
There are 3 things in Power BI where you can use
DAX –
Calculated Columns
Measures
Tables
Let's see all these Power BI examples and see how DAX functions works.
Calculated Columns
Calculated column allows you to create new columns based on the given data.
For example, there is no ' Final price' column available in the Items table. Here, the
DAX function is used to calculate a new column when only total price & quantity
are available.
Price = List_Items[MRP]*List_Items[Qty]
In the data shown in above Power BI example, each row will now have the
respective calculated price.
Measures
You can perform a calculation using measure without the need to add any data as
shown in the below Power BI example. This is very helpful for reports where the
price can be displayed, without requiring an entirely new column to store it.
Example:
Tables
DAX functions in tabular model return entire tables. For example, In order to
generate a list of all the country the organization has clients in, use the
function: cities touched = DISTINCT(Customers[City])
A word on Filters
Filters hide rows that don't fit given criteria. A calculation after filtering out data
will be applicable only on a row which matches those criteria.
Average
This DAX function allows you to find the average from a given set of values as
shown in the below Power BI example.
Min
Helps you to find the minimum set of values.
Count
Count any umerical data.
Concatenate
This function helps you to join values in calculated columns. You can use
ConcatenateX if using in measures.
Example – Concatenate the Item names, and MRPs will give a unique code for all
the price points at which each product is sold. ProMrp =
CONCATENATE(List_Items[Item],List_Items[MRP])
TotalYTD
The function allows you to calculate the sum from the start of the current Year to
the specified date. It performs calculate base on a calendar year, not a financial
year.
All
Returns everything. Ignores filters.
Example – Used with the calculate function above.
Summary
BI helps you to analyze data and to provide actionable information which
helps corporate executives, business managers to make informed business
decisions.
Power BI is a Business intelligence and Data Visualization tool which helps
you to convert data from a various data source
Some important Power BI tools are 1)Power BI Desktop 2) Power BI service
3) Power BI Data Gateway 4) Power BI Report Server 5) Power BI Mobile Apps
Excel (.xlsx, xlxm), Comma Separated Value (.csv), Power BI Desktop (.pbi),
Databases in the Cloud, Databases on-premises are important data sources
used in Power BI.
Visualization, Datasets, Dashboard, Reports, Tile are important terms used in
a Power BI.
Power BI was conceptualized by Ruler and Dhers Netz of the SQL server
coverage services team at Microsoft.
Data Integration 2) Data Processing 3) Data Presentation are important
components of Power BI architecture.
Power Query, Power Pivot, Power View, Power Map, Power BI Service, Power
BI Q&A, Data Management Gateway, Data Catalog are important elements of
Power BI Dashboard.
DAX is a formula expression language which is called (DAX) which can be
used with various visualization tools like Power BI.
Power BI offers Complete Dashboards for analysis, while Tableau only allows
Ad Hoc Analysis.
Important professional who uses Power BI is PMO - Project and Portfolio
Manager, Business & Data Analyst, IT Team, IT Professional, etc.
The biggest drawback for Power Bi will not accept the file larger than 250MB
and zip file which compressed by the data of X-velocity in-memory database.
Questions and Answers?
Top 100 Power BI Interview Questions &
Answers for 2021
Here are some frequently asked Power BI interview questions for freshers as well
as experienced candidates to get the right job.
1. What is BI?
Power BI is a Business Intelligence and Data Visualization tool which helps you to
convert data from the various data source into interactive dashboards and BI
reports. It provides multiple software connectors and services.
It is a formula expression language called (DAX) that can be used with various
visualization tools like Power BI. It is also known as a functional language, where
the full code is kept inside a function.
Dashboards and reports only shared with users having identical email
domains.
Power Bl does not mix imported data, which is accessed from real-time
connections.
Power BI can't accept file size larger than 1 GB.
Dashboard does not accept or pass user, account, or other entity
parameters.
Mobile Power BI apps—They are used for iOS and Android devices.
10. What are the important components of the Power BI toolkit, and what do
they do?
Power BI Desktop allows you to group the data into small chunks. For grouping,
you should use Ctrl + click to select multiple elements in the visual. Right-click one
of those elements which appear in groups window.
On a report page, you can easily resize a responsive slicer to various sizes and
shapes, and the data contained in it should be rearranged according to it. In case if
the visual becomes too small to be useful, an icon representing the visual ability to
take its place, thus saving the space on the report page.
Power Map can display visualizations which are geographical in nature. That's why
some kind of location data is needed, for example, city, state, country or latitude
and longitude.
It allows you to drill through the page, bookmarks, and selection pane.
It allows you to create various tiles like web content, images, textbox, and
integrate URLs.
Allows you to set report layout to mobile view.
Open Power BI Admin portal, go to tenant settings and select -> Analyze.
Check that Power BI Administrator has enabled Excel option or not.
Then at the upper right corner, click settings to download and install Excel
updates.
Next, go to the left-hand side navigation pane, go to the workspace, click on
the dataset, click on Eclipses (three dots) and select Analyze in Excel.
Download ODC file, save, and double click on it.
After that needs to provide power BI user id and password.
20. What is Power Pivot, and what are the filter writes in Power BI?
Visualization level
Page Level
Report Level
Once all the data are set up, publish a detail report to Power BI.
Publish it to group workspace.
Create a filter link
Create a DAX calculated column.
Public overview report
It is a model that contains data writes, tables, sections, and table relations. These
data tables help you to develop for holding data for a business substance.
Power query is an ETL tool which helps you to clean, shape, and modify data
utilizing instinctive interfaces without doing anything.
Tile is an important feature of power BI services and can be said as a picture of the
data which can be pinned to the dashboard.
Import
Direct Query
Alert works on data that is refreshed, Power BI looks for an alert, and it reaches the
alert threshold or the limit then the alter will be triggered.
The process of converting the steps in power query editor to SQL and executing it
by the source database is called query collapsing.
These are pre-built solutions build for popular services as a major part of the Power
BI experience.
Visual-level Filters
Page-level Filters
Report-level Filters
34. What is Bookmark?
Bookmark in Power BI helps you to capture the configured view of a report page in
a specific time. This includes filter and state of visual which can use a short cut to
come back to the report that you can add as a bookmark.
Variables help you to create more logical Queries and which should be used for
multiple DAX functions.
Selection Pane helps you to take control over visuals which require to be displayed
and which should not be displayed. It allows you to combine multiple visual pages
in the group and is also used in bookmarking.
You can use Crossfiltering option in Power BI to address the Many to Many
relationships.
It is the main engine which is used in power pivot. It allows you to load the large set
of data into Power BI data.
Graphs or visual which are not included in Power BI desktop are imported for
better visualization.
41. State the main difference between District() and Values() in DAX?
The only difference between two functions is that with District help you to
calculate the null values.
42. State the major differences between MAX and MAXA functions
If you want to calculate numeric values, then use MAX. However, if it is for non
numeric values, then you should use MAXA.
44. What is the major difference between the old version and a new version of
Power BI tool?
The latest version has more robust features, and it is famous with the name Power
BI Desktop. This is an all in one solution for Power View, Power Pivot, and Power
Query in the backend. Power BI offers many add-ins for Excel, which is useful for
better visualizations.
Increment refresh is a newly added data so that there is no need to truncate or load
the entire data.
You can access Power BI for free. However, if you wish to use all the feature of
Power BI, then you can use its pro subscription account. The subscription account
offers an enhanced version of several features that are available with Power Bi free
account.
Fact Tables:
The central table in a star schema of a data warehouse is a fact table that stores
quantitative information for analysis, which is not normalized in most cases.
Dimension Tables:
It is a table in the star schema which helps you to store attributes and dimensions
which describe objects that are stored in a fact table.
If you are using the normal filter user cannot interact with the dashboard. On the
other hand, slicer allows users to have an interaction with Reports as well as
Dashboards.
Power BI online contains an option for publishing on web that will generate a link
address for the Power BI report. You can share these links to others, which is called
embed code.
50. What are the method to hide and unhide a specific report in Power BI?
To hide and unhide specific report, you have to go to selection Pane in the menu
bar, and press hides/unhide toggle button to bookmark.
51. How can you compare Target and Actual Value from a Power BI report?
52. Can you create multiple dynamic connections between two tables?
Power BI Designer allows users to create intuitive reports and dashboards, easily
and quickly. It also helps users to change visual views of their data at fingertips for
better analytics and informed decision-making.
54. Can you refresh Power BI reports after they are published to the cloud?
Custom Vizual are those visual which are not available in BI desktop, which are
imported from the market for the purpose of better visualization.
58. Can you join two unique information source in the same Power BI
dashboard?
Yes, we can join two unique information source in the same Power Bi dashboard.
We can also merge comparable reports in your Power Bi account into using single
dashboard.
59. Why is TOP N not accessible for the Page and Report Level Filter?
ToP N is not accessible for the Page and Report Level Filters because their channels
are associated with different visuals.
Collect function excludes null value. It does aggregate spatial values. You can't
transform data to another format.
The main difference between the two is that: COVAR directly gives the same co-
variance, whereas COVARP is the population covariance.
62. How can you assign SSRS with Power BI?
Z-order is a design strategy which is used for arranging visual over shapes. It can be
defined as an implementation method which can be applied whenever reports
have multiple elements.
64. What is the only prerequisite for connecting to a database in Azure SQL
Database?
The only prerequisite for before connecting to a database is that the user need to
configure firewall setting to allows remote connections.
65. Name out some important DAX functions used in Power BI.
Sum, Max, AVG, Distinct, Count, Calculate, Datediff are some important widely used
DAX functions.
66. What is X-speed in-memory investigation motor used for Power Pivot?
The primary motto behind power turn is the x Velocity in-memory analytics engine.
It allows dealing with the various measures of information as it stores data in the
columnar database.
When you click on single information point data gets select and copied to the
clipboard. Moreover, the copied data can be pasted in any place according to your
requirement.
Count function returns to count, excluding NULL values whereas Countd returns
distinct values which exclude NULL values.
DATEDD function helps you to convert any input to a date format. This input can
number, string, or a data type input.
DATENAME function shows the name of the specific part of the date that is given.
It returns date function as an integer. However, DATENAME function does the same
thing, except it returns the name of the part of the date.
This function gives a difference between 2 dates based on the specified Date part.
ENDSWITH function helps you to return the logical result to the given string. In case
If the sub-string is available at the end of the sub string, then it returns TRUE.
INDEX function helps you to retrieve the index of the respective row.
LTRIM function helps you to remove the white space from the LEFT of the string.
RTRIM helps you to remove it from the right the last index.
MID function returns the string character from the specified index position.
PERCENTILE function allows you to returns the data value of the specific percentile
number.
Sign function returns the direction of the values. If it returns 1, if positive then 1, if 0
then 0.
This function returns the logical answers TRUE if the sub-string is the starting string
for the superstring. If it is not, it will return false.
SPLIT function is used to split the string database on the given delimiter.
App store
Google Play
Window Store
In, the year 2016 Microsoft discharged new administration which is named as
Power BI Embedded.
87. What area do you go to change and reshape data in Power BI?
Data Editing helps you to change and reshape data in Power BI.
91. What is the process to refresh Power BI reports when it is uploaded into the
cloud?
Power BI, reports can be refresh using Data management, gateway, and Power BI
Personal Gateway.
92. What visual would you need to use to show solitary esteem?
93. Which of the following Power BI memberships allows you the right permit
to see Power BI content with the various Power BI applications?
Power BI Premium P1 is an application which gives this type of solutions for you.
94. Which field composes can be added to the Field well of a Slicer visual?
98. In, Power Bi, where do you discover the Q&A highlight?
You will get at the highest point of a report in the Power BI benefit.
99. How can you dynamically change the value measure to show multiple
measures?