Powerbi Interview Questions
Powerbi Interview Questions
Ans: Power BI is a cloud-based data sharing environment. Once you have developed reports using Power
Query, Power Pivot and Power View, you can share your insights with your colleagues. This is where Power BI
enters the equation. Power BI, which technically is an aspect of SharePoint online, lets you load Excel
workbooks into the cloud and share them with a chosen group of co-workers. Not only that, but your colleagues
can interact with your reports to apply filters and slicers to highlight data. They are completed by Power BI, a
simple way of sharing your analysis and insights from the Microsoft cloud.
Files: Data can be imported from Excel (.xlsx, xlxm), Power BI Desktop files (.pbix) and Comma
Separated Value (.csv).
Content Packs: It is a collection of related documents or files that are stored as a group. In Power BI,
there are two types of content packs, firstly those from services providers like Google Analytics,
Marketo or Salesforce and secondly those created and shared by other users in your organization.
Connectors to databases and other datasets such as Azure SQL, Databaseand SQL, Server Analysis
Services tabular data, etc.
2. Datasets: Dataset is a collection of data that Power BI uses to create its visualizations.
Example: Excel sheets, Oracle or SQL server tables.
4. Dashboards: Dashboard is single layer presentation of multiple visualizations, i.e we can integrate
one or more visualizations into one page layer.
Example: Sales dashboard can have pie charts, geographical maps and bar charts.
Visual-level Filters: These filters work on only an individual visualization, reducing the amount of data
that the visualization can see. Moreover, visual-level filters can filter both data and calculations.
Page-level Filters: These filters work at the report-page level. Different pages in the same report
can have different page-level filters.
Report-level Filters: There filters work on the entire report, filtering all pages and visualizations
included in the report.
We know that Power BI visual have interactions feature, which makes filtering a report a breeze. Visual
interactions are useful, but they come with some limitations:
The filter is not saved as part of the report. Whenever you open a report, you can begin to play with
visual filters but there is no way to store the filter in the saved report.
The filter is always visible. Sometimes you want a filter for the entire report, but you do not want any
visual indication of the filter being applied.
Organizational content packs provide users, BI professionals, and system integrator the tools to build their own
content packs to share purpose-built dashboards, reports, and datasets within their organization.
For the measure named Total Sales, calculate (=) the SUM of values in the [SalesAmount] column in the Sales
table.
Ans: The FILTER function returns a table with a filter condition applied for each of its source table rows. The
FILTER function is rarely used in isolation, it’s generally used as a parameter to other functions such as
CALCULATE.
FILTER is an iterator and thus can negatively impact performance over large source tables.
Complex filtering logic can be applied such as referencing a measure in a filter expression.
o FILTER(MyTable,[SalesMetric] > 500)
12). What is special or unique about the CALCULATE and
CALCULATETABLE functions?
Ans: These are the only functions that allow you modify filter context of measures or tables
Limitations:
Ans: SUMMARIZE()
SUMMARIZECOLUMNS
New group by function for SSAS and Power BI Desktop; more efficient.
Specify group by columns, table, and expressions.
By declaring and evaluating a variable, the variable can be reused multiple times in a DAX expression,
thus avoiding additional queries of the source database.
Variables can make DAX expressions more intuitive/logical to interpret.
Variables are only scoped to their measure or query, they cannot be shared among measures, queries
or be defined at the model level.
15). How would you create trailing X month metrics via DAX against a
non-standard calendar?
CALCULATE(FILTER(ALL(‘DATE’),…….))
Power BI Desktop supports bi-directional cross filtering relationships, security, calculated tables, and
Direct Query options.
Power Pivot for Excel has single direction (one to many) relationships, calculated columns only, and
supports import mode only. Security roles cannot be defined in Power Pivot for Excel.
22). Can we have more than one active relationship between two tables
in data model of power pivot?
Ans: No, we cannot have more than one active relationship between two tables. However, can have more than
one relationship between two tables but there will be only one active relationship and many inactive
relationship. The dotted lines are inactive and continuous line are active.
Import Data from wide range of sources from files, databases, big data, social media data, etc.
Join and append data from multiple data sources.
o Shape data as per requirement by removing and adding data.
Ans: Changing Data Types, Filtering Rows, Choosing/Removing Columns, Grouping, Splitting a column into
multiple columns, Adding new Columns ,etc.
The parameter selection can then be used by the query and calculations.
PBIX files can be exported as Templates (PBIT files).
Templates contain everything in the PBIX except the data itself.
Parameters and templates can make it possible to share/email smaller template files and limit the amount of
data loaded into the local PBIX files, improving processing time and experience .
30). Why do we need Power Query when Power Pivot can import data
from mostly used sources?
Ans: Power Query is a self-service ETL (Extract, Transform, Load) tool which runs as an Excel add-in. It allows
users to pull data from various sources, manipulate said data into a form that suits their needs and load it into
Excel. It is most optimum to use Power Query over Power Pivot as it lets you not only load the data but also
manipulate it as per the users needs while loading.
32). What are the primary requirement for a table to be used in Power
Map?
Ans: For a data to be consumed in power map there should be location data like:
Latitude/Longitude pair
Street, City, Country/Region, Zip Code/Postal Code, and State/Province, which can be geolocated by
Bing
The primary requirement for the table is that it contains unique rows. It must also contain location data, which
can be in the form of a Latitude/Longitude pair, although this is not a requirement. You can use address fields
instead, such as Street, City, Country/Region, Zip Code/Postal Code, and State/Province, which can be
geolocated by Bing.
To use a table structure which more accurately represents time and geography inside Power Map, include all of
the data in the table rows and use descriptive text labels in the column headings, like this:
In case you wish to load your data from an external source:
The following pages provide details about different visualizations available in Power View:
Charts
Line charts
Pie charts
Maps
Tiles
Cards
Images
Tables
Power View
Multiples Visualizations
Bubble and scatter charts
Key performance indicators (KPIs)
36). Can we refresh our Power BI reports once uploaded to cloud (Share
point or Powebi.com)?
Ans: Yes we can refresh our reports through Data Management gateway(for sharepoint), and Power BI
Personal gateway(for Powerbi.com)
37). What are the different types of refreshing data for our published
reports?
Ans: There are four main types of refresh in Power BI. Package refresh, model or data refresh, tile refresh and
visual container refresh.
Package refresh
This synchronizes your Power BI Desktop, or Excel, file between the Power BI service and OneDrive, or
SharePoint Online. However, this does not pull data from the original data source. The dataset in Power BI will
only be updated with what is in the file within OneDrive, or SharePoint Online.
Model/data refresh
It referrs to refreshing the dataset, within the Power BI service, with data from the original data source. This is
done by either using scheduled refresh, or refresh now. This requires a gateway for on-premises data sources.
Tile refresh
Tile refresh updates the cache for tile visuals, on the dashboard, once data changes. This happens about every
fifteen minutes. You can also force a tile refresh by selecting the ellipsis (…) in the upper right of a dashboard
and selecting Refresh dashboard tiles.
Refreshing the visual container updates the cached report visuals, within a report, once the data changes.
To know more about data refresh and understand how to implement data refresh, you can check the
following link.
Personal Gateway:
On-Premises Gateway:
41). What are some ways that Excel experience can be leveraged with
Power BI?
Ans: Below are some of the ways through which we can leverage Power BI:
Calculated columns are not compressed and thus consume more memory and result in reduced query
performance. They can also reduce processing/refresh performance if applied on large fact tables and can
make a model more difficult to maintain/support given
that the calculated column is not present in the source system.
A disconnected table might be used to present the user with parameter values to be exposed and
selected in slicers (e.g. growth assumption.)
o DAX metrics could retrieve this selection and use it with other calculations/metrics.
A disconnected table may also be used as a placeholder for metrics in the user interface.
o It may not contain any rows of data and its columns could be hidden but all metrics are visible.
Ans: You can use Power BI publisher for Excel to pin ranges, pivot tables and charts to Power BI.
The user can manage the tiles – refresh them, remove them, in Excel.
Pinned items must be removed from the dashboard in the service (removing in Excel only deletes the
connection).
The Power BI Publisher for Excel can also be used to connect from Excel to datasets that are hosted
in the Power BI Service.
An Excel pivot table is generated with a connection (ODC file) to the data in Azure.
The Publisher installs all necessary drivers on local machine to establish connectivity .
Report: An individual Power BI Desktop file (PBIX) containing one or more report pages.
Built for deep, interactive analysis experience for a given dataset (filters, formatting).
Each Report is connected to atleast one dataset
Each page containing one or more visuals or tiles.
Dashboard: a collection of visuals or tiles from different reports and, optionally, a pinned.
48) What are the three Edit Interactions options of a visual tile in Power
BI Desktop?
Ans: The 3 edit interaction options are Filter, Highlight, and None.
Filter: It completely filter a visual/tile based on the filter selection of another visual/tile.
Highlight: It highlight only the related elements on the visual/tile, gray out the non-related items.
With a live connection to an Analysis Services database (cube) the user cannot create new metrics, import new
data, change the formatting of the metrics, etc – the user can only use the visualization, analytics, and
formatting available on the report canvas.
With a direct query model in Power BI to SQL Server, for example, the author has access to the same features
(and limitations) available to SSAS Direct Query mode.
Only one data source (one database on one server) may be used, certain DAX functions are not
optimized, and the user cannot use Query Editor functions that cannot be translated into SQL
statements.
Certain SSRS Report items such as charts can be pinned to Power BI dashboards.
Clicking the tile in Power BI dashboards will bring the user to the SSRS report.
A subscription is created to keep the dashboard tile refreshed.
Power BI reports will soon be able to be published to SSRS portal