DS Interview Guide
DS Interview Guide
DS Interview Guide
TO INTERVIEWS FOR
DATA SCIENCE
ZEP ANALYTICS
Introduction
We've curated this series of interview guides to
accelerate your learning and your mastery of data
science skills and tools.
ZEP ANALYTICS
COMPREHENSIVE
GUIDE TO
INTERVIEWS
FOR DATA
SCIENCE
Explore
ZEP ANALYTICS
TABLE OF
CONTENTS
1. What is business intelligence?
2. What is self-service BI?
3. What is Power BI? Why is Power BI so powerful?
4. What are the various components of Power BI?
5. What are reports in Power BI?
6. What are dashboards in Power BI?
7. What is a DAX function?
8. What is M language?
9. What are two types of connectivity?
10. Explain the various data sources that can be used in
Power BI.
11. What are the various components in the architecture
of Power BI?
12. What are the building blocks of Power BI?
13. Explain .pbix file format.
14. What are the various views in Power BI Desktop?
15. What are the various features of PBI Query editor?
16. What is Lock Aspect in Power BI?
17. What are common data shaping techniques?
ZEP ANALYTICS
TABLE OF
CONTENTS
18. Where is data stored in PBI?
19. What is the business need for PBI?
20. How can we calculate average in PBI?
21. What is PBI cloud?
22. How can one connect to an Oracle DB in PBI?
23. How can we represent different levels of hierarchy
of data in one single visualization?
24. How can one connect a SQL server in PBI?
25. What is embedded PBI?
26. What are the different relationships in PBI?
27. Explain the difference between merge and append.
28. What are visualizations in PBI?
29. What is Power BI Designer?
30. What is PBI service?
31. Explain the difference between PBI pro and PBI
premium.
32. What is z-order in Power BI?
33. Explain the custom visuals in Power BI: How can they
be used efficiently?
ZEP ANALYTICS
TABLE OF
CONTENTS
34. How can we categorize the types of users in Power
BI?
35. How can you make sure that each category
manager can see sales of their category only, and
allow the CEO to see all sales in a single report? Your
solution must involve minimal effort.
36. Why use the selection pane in PBI?
37. Explain the various joins in PBI.
38. What is the purpose of the ‘Get Data’ icon in Power
BI?
39. Name different filters used in Power BI and explain
each of them.
40. What is grouping? How we can use it?
41. How are slicers used?
42. What are KPIs in PBI?
43. What is PBI Q&A?
44. How can we create calculated columns in PBI?
45. What are combination charts in PBI?
46. Explain security level in PBI.
ZEP ANALYTICS
TABLE OF
CONTENTS
47. Describe all types of visuals segments with
examples.
48. What are the advantages of using variables?
49. Can SQL be used in Power Query Editor?
50. Consider functions like SUM,SUMX and
AVERAGE,AVERAGEX. What is this X implying?
51. Why should we use Calculated measures over
Calculated columns whenever possible?
52. State the difference between the COUNT and
COUNTD Function.
53. In DAX functions like VAR.S & VAR.P, what are the
P&S implying?
54. What is a Bookmark? How do you create it?
55. Give an example of a visual from Power BI which
serves as a Cross-Table.
56. How can one create Hierarchies in Power BI?
57. State two ways to navigate in Reports.
58. How can one import/scrape data from the web
using Power BI?
ZEP ANALYTICS
TABLE OF
CONTENTS
59. Suppose you notice that there is a relationship
between the Date column from a Date table and the
Invoice Date Key column from a Sales table, but the
relationship is inactive. All other visuals in your report
will be analyzing values by delivery date. How should
you approach this problem? Give reasoning for your
approach.
60. What is the difference between Histograms and Bar
charts?
61. How can one create filters in Power BI?
62. How can one sort data in Power BI?
63. What are the differences between MSBI and PBI?
64. How can one publish a dashboard in Power BI?
65. How can PBI dashboards be shared?
66. What is MDX in Power BI?
67. How can one add Page Level Filters in Power BI?
68. How can two columns be combined in Power BI?
69. How can one change the date format in Power BI
Query Editor?
ZEP ANALYTICS
TABLE OF
CONTENTS
70. How can one edit interactions in Power BI?
71. What is the main difference between LTRIM and
RTRIM?
72. Write a DAX for dynamic security.
73. What is Workspace in Power BI?
74. How can one show Percentage in Power BI?
75. How to filter Top N in Power BI?
76. Why is Top N not accessible by or for report level
filters and page level filters?
77. What is query collapsing?
78. What is the difference between MAX and MAXA?
79. What is CORR function? When do we use it?
80. What are content packs in Power BI?
81. How can we use PBI in MS Excel?
82. How can we change the X-axis value in Power BI?
83. Which two cross filter directions are available in
Power BI table relationships?
84. What is Bidirectional Cross-filtering in Power BI?
85. What is OData feed in Power BI?
ZEP ANALYTICS
TABLE OF
CONTENTS
86. What is forecast in PBI?
87. What is Power BI Data Gateway? How can we use
it?
88. How can we refresh a PBI report once it is published
on cloud?
89. What are the different data refresh options in PBI?
90. What is Power Map? What are the primary
requirements for a table to be used in Power BI?
91. What are some of the differences in report authoring
capabilities between a live or direct query connection
to an Analysis service model, relative to working with a
data model local to a Power BI Desktop file?
92. Explain the term, ‘incremental refresh’.
93. You've imported a spreadsheet, but Power BI
Desktop hasn't detected that the first row should be
used as column titles. What tool should you click on?
94. What do you call a single page, also known as a
canvas, that uses visualizations to tell a story?
ZEP ANALYTICS
TABLE OF
CONTENTS
95. Goal: You want to create a new Calculated Column
that determines if the person was a bad hire based on
a set of rules. If they were a bad hire then the result is 1,
otherwise the Calculated Column displays a zero.
96. Goal: You want to create a DAX formula that
automatically calculates the previous month number.
For example, if the month was June then the formula
would return 5.
97. You have created a table with a column 'population'
with numbers 53222122, 5322122, 33333. You want to
display the 'population' column with comma signs at
the thousand separators. How can you do this?
98. What are Data alarms?
99. Which type of visualisation would you choose if you
wanted to show relationships between 3 numerical
values, and turn the horizontal axis into a logarithmic
scale?
100. You are viewing a Power BI dashboard in a browser
window. What happens when you click the ‘In-focus’
mode of a tile?
ZEP ANALYTICS
TABLE OF
CONTENTS
101. How would you include different terms into Q&A?
102. Goal: To extract the balance for the last period for
which a figure has been entered from a balances table.
103. What are some of the unique data invigorations
used for generating distributed reports within Power BI?
104. What should be kept in mind while sharing
visualizations outside the organization?
105. Write a DAX expression that checks if a product
code contains the letters “ex”.
106. What type of chart should be used to compare
data side by side?
107. What type of chart should you choose to show
correlation between 2 variables?
108. What is Row-level security in Power BI?
109. What is natural language search choice?
110. State the differences between Power BI and SSRS.
111. What are the drawbacks of using Power BI?
112. What are the differences between Power BI and
Tableau?
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
01
1. What is business intelligence?
Business intelligence is a technology-driven method. It
helps you to analyze data and to provide actionable
information which in turn helps corporate executives,
business managers, and other users to take decisive and
data-driven business decisions.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
02
There are many features in Power BI. The most notable ones
are:
It allows users to transform data into visuals and share
those visuals with colleagues
It allows users to explore and analyze data from all
sources
It allows users to scale across organizations with built-in
governance and security.
Once an output is generated, users can display the
same in multiple devices that are compatible with the
Power BI application
With Power BI natural language processing, users can
perform queries on reports using simple English words.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
03
5. What are reports in Power BI?
A Power BI report is a multi-perspective view into a dataset,
with visuals that represent different findings and insights
from that dataset. A report can have a single visual, or
pages full of visuals.
8. What is M language?
It is a programming language used in Power Query. It’s a
functional, case-sensitive, language which is similar to other
programming languages and easy to use.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
04
10. Explain the various data sources that can be
used in Power BI.
The list of data sources for Power BI is extensive, but
it can be grouped into the following:
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, Server Analysis Services
tabular data, etc.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
05
Power BI Desktop
Power BI Desktop is a client-side tool known as a
companion development and authoring tool.
This desktop-based software is loaded with tools and
functionalities to connect to data sources, transform
data, conduct data modelling and create reports.
You can download and install Power BI Desktop in your
system for free. Using Power BI Desktop features, one can
do data cleansing, create business metrics and data
models, define the relationship between data, define
hierarchies, create visuals and publish reports.
Power BI Service
Power BI Service is a web-based platform from where
you can share reports made on Power BI Desktop,
collaborate with other users, and create dashboards.
It is available in three versions: Free version, Pro version,
Premium version.
Power BI Service is also known as, “Power BI.com”, “Power
BI Workspace”, “Power BI Site” and “Power BI Web Portal”.
This component also offers advanced features like
natural language Q&A and alerts.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
06
Power BI Gateway
This component is used to connect and access on-
premise data in secured networks. Power BI Gateways are
generally used in organizations where data is kept under
security and watch. Gateways help to extract out such
data through secure channels to Power BI platforms for
analysis and reporting.
Power BI Mobile
Power BI Mobile is a native Power BI application that runs
on iOS, Android, and Windows mobile devices. These
applications are used for viewing reports and
dashboards.
Power BI Embedded
Power BI Embedded offers APIs which are used to embed
visuals into custom applications.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
07
12. What are the building blocks of Power BI?
Visualizations
Visualizations are a visual representation of data.
Examples: Pie Chart, Line Graph, Side by Side Bar Charts,
Graphical Presentation of the source data on top of
Geographical Map, Tree Map, etc.
Datasets
Datasets are a collection of data that Power BI uses to
create its visualizations. Examples: Excel sheets, Oracle or
SQL server tables.
Reports
Reports are a collection of visualizations that appear
together on one or more pages. Examples: Sales by
Country, State, City Report, Logistic Performance report,
Profit by Products report etc.
Dashboards
Dashboards are a single layer presentation of multiple
visualizations, i.e we can integrate one or more
visualizations into a one page layer.
Tiles
Tiles are a single visualization in a report or on a
dashboard. Example: Pie Chart in a Dashboard or Report.
Explore
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
08
13. Explain .pbix file format.
A PBIX file is a document created by Power BI
Desktop. It contains queries, data models,
visualizations, settings, and reports added by the
user.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
09
15. What are the various features of PBI Query editor?
Connect to data
Shape and combine data
Group rows
Pivot columns
Create custom columns
Query formulas
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
10
17. What are common data shaping techniques?
The most common data shaping techniques are:
Removing Columns and Rows
Adding Indexes
Applying a Sort Order
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
11
20. How can we calculate average in PBI?
Average can be calculated in two ways-
When we add a measure to a visual; by default,
it summarizes any measure. When we click on
the drop-down for the measure- we can change
from Sum to Average.
Creating a calculated measure for average using
the AVERAGE() DAX function.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
12
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
13
Once you click on OK, a window will be opened
asking your credentials to access the database. By
using your credentials (Username/Password), you
will then be allowed to access the database, select
the Schema/Drag & drop the tables, etc., in the
preview section & click to load to view the required
tables in the Power BI environment.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
14
Once the above information is furnished, we can click
on OK to connect.
In case you need to write a specific query to load the
data, you can do so under Advanced options.
If you click on OK, a window opens which asks us for
the credentials for the login to the database. We have
the option to provide the specific credentials or use
Windows login. It depends on how you have been
given access to the database. Current credentials
refer to your windows credentials. Alternate refers to
Specific to the database.
Once access is verified, you’ll get a window with all the
databases on the server shown in the left and right
pane showing preview of the data from any table
selected on the left.
Once you select the table to use, you can see three
options at the bottom – load, edit and cancel. Load
will directly load the data. Edit will open Power Query
Editor and will allow you to do transformations in the
data before loading.
Once data is loaded, you can use it to create visuals
as per your choice.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
15
25. What is embedded PBI?
Power BI Embedded is an analytics solution, provided as
a Microsoft Azure Service, a platform-as-a-service
(PaaS), wherein the developers & Individual Software
Vendors (ISVs) can easily embed their dashboards,
visuals & reports into an application for their customers.
Fully interactive reports & visuals can be embedded into
the applications.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
16
26. What are the different relationships in PBI?
There are basically 4 types of relationships in any
database design. Out of which, three types of
relationships are supported by Power BI.
One to One Relationship: In this type of
relationship, both side tables can have unique
values. This relationship is not too common.
One to Many: In one-to-many cardinality, one
side of the table will have the unique values but
the other (many) side of the table can have
multiple values in it. For example, Product table &
Customer Table, you can connect /join them with
the Product ID. Customer table can have multiple
customer IDs for the same Product ID. When you
relate them from product table to customer
table, it will be one-to-many relationships.
You can see the status of the relationships in the
Power BI Desktop’s Model view, by just looking at the
indicators as (1 or *), on either side.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
17
Many to One Relationship: In this type of relationship,
one side of the common column will have multiple
values & in the other table it will have a unique value.
For example, in the below shown images there are two
tables: Fact table Sales & Dimension table Date. Date
can have only the unique values but sales table, order
date, key column can have multiple values for a
particular date.
Cardinality is not supported by Power BI.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
18
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
19
Merge
Merge is another method of combining queries
which is based on matching rows, rather than
columns. The output of merge will be a single query
with:
There should be joining or matching criteria
between two queries (for example, StudentID
column of both queries to be matched with
each other)
Number of rows will be dependent on
matching criteria between queries
Number of columns will be dependent on
what columns are selected in the result set
(Merge will create a structured column as a
result).
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
20
29. What is Power BI Designer?
A powerful and flexible new tool under the Power BI
umbrella, Power BI Designer empowers users to
create intuitive reports and dashboards, easily and
quickly. It also lets the users change visual views of
their data for better analytics and informed
decision-making.
This designer is a host of drag-and-drop
capabilities that help users place content exactly
where they want it on the report canvas in a well-
structured layout.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
21
31. Explain the difference between PBI pro and PBI
premium.
With Power BI Pro, users are licensed individually
and participate fully in the use of Power BI – both
the creation of content and the consumption. All Pro
users can connect to hundreds of data sources on-
premises and in the cloud, create interactive
reports and 360-degree dashboards, share that
content with other Pro users, and consume content
shared by others.
With Power BI Premium, you are licensing capacity
for your content rather than licensing all users of
that content. Content is stored in Premium and can
then be viewed by as many users as you want,
without additional per-user costs. These users can
only view content, not create it. Viewing includes
looking at dashboards and reports on the web, in
mobile apps, or embedded in your organization’s
portals or apps. The creators of content in Premium
still need their own Pro licenses.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
22
32. What is z-order in Power BI?
The z-order in Power BI refers to the strategy or order of
arrangement of different elements on a Power BI report.
The z-order helps us in properly arranging all the
elements in a report such as visualizations, tables, slicers,
etc. The Arrange option in Power BI helps us arrange or
place report elements in z-order. Using that option, we
can bring objects on front, send them to back, and layer
the visualizations, according to our need. So, in a nutshell,
z-order is the order of arranging or layering multiple
objects and visual elements in a report on top of each
other. Z-order is also applied when we are using shapes
to enhance the design of a report.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
23
34. How can we categorize the types of users in Power BI?
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
24
35. How can you make sure that each category manager
can see sales of their category only, and allow the CEO to
see all sales in a single report? Your solution must involve
minimal effort.
Configuring dynamic row-level security for managers
involves least effort and a separate role for the CEO
ensures full accessibility to him.
Creating different reports will be a very hectic task and
difficult to maintain. Slicer provides no security.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
25
37. Explain the various joins in PBI.
We have 6 types of Joins in Power BI which we use
in Power Query Editor:
Left Outer Join: If we want all the records from
left table and only matching records from right
table then will use left outer join/left join.
Right Outer Join: If we want to display all the
records from right table and only matching
records from left table then will right outer
join/right join.
Full Outer Join: If we want to display all the
records from both the tables then will use full
outer join.
Inner Join: If we want only the matching records
from both the tables then will use Inner
join/Simple join.
Left Anti: Displays only the mismatched records
from Left Table.
Right Anti: Displays only the mismatched records
from the Right Table.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
26
38. What is the purpose of the ‘Get Data’ icon in
Power BI?
When users click on the Get Data icon in Power BI, a
drop-down menu appears and it shows all data
sources from which data can be ingested. Data can
be directly ingested from any source including files
in Excel, CSV, XML, JSON, PDF, and SharePoint
formats and databases such as SQL, Access, SQL
Server Analysis Services, Oracle, IBM, MySQL, and
much more. Also, Power BI datasets and Power BI
data flows are compatible. Data can also be taken
in from Azure and other online sources.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
27
40. What is grouping? How we can use it?
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 the
groups window.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
28
43. What is PBI Q&A?
The Q&A feature in Power BI allows you to explore
your data using intuitive, natural language
capabilities in your own words & ask questions
about your data. The quickest possible way to get
an answer to the question asked about your data is
using natural language.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
29
44. How can we create calculated columns in PBI?
Calculated columns are built to extend the data
attributes. They are columns that are created when
the available columns in the data do not serve our
purpose or we are not able to generate any useful
insight from the same. That is when calculated
columns come into the picture. These are created
using different DAX functions as per business need.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
30
46. Explain security level in PBI.
Power BI requires Azure Active Directory (Azure AD)
access for every user who uses the PBI service. User
requires login credentials to build the PBI account, which
could be also an email account. User also needs a
unique username to access this account. Azure cloud
provides security to Power BI. It includes various level of
security that are ADD based security, multi-tenant
platform security, and networking security.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
31
Trend Segment – Line charts
The charts in this segment tells us about the
change of a variable over time.
These are widely used in Time-Series analysis.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
32
Relation – Scatter Plot, Bubble Chart
These charts tell us the relation between two/three
variables: whether they are positively related (one
increases with other & one decreases with other) or
negatively related (one decreases while the other
increases and vice-versa) or not related (no
relation, both are independent). We can find out a
lot about distributions (Bi-Variate), outliers and
discover clusters if any exist.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
33
48. What are the advantages of using variables?
The advantages are:
Reusability: 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.
Interpretability: Variables can make DAX expressions
more intuitive/logical to interpret.
Scope-of-Variables: Variables are only scoped to
their measure or query, they cannot be shared among
measures, queries or be defined at the model level.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
34
51. Why should we use Calculated measures over
Calculated columns whenever possible?
Calculated Columns are DAX expressions that are
computed during the model’s processing/refresh
process for each row of the given column and can
be used like any other column in the model.
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.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
35
53. In DAX functions like VAR.S & VAR.P, what are the
P&S implying?
The P implies that the value (variance) is being
calculated for the whole population whereas S
implies that the value is being calculated for a
sample.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
36
56. How can one create Hierarchies in Power BI?
When you have a set of fields that is on hierarchy, for
example: Product Category and Product names, you can
set up hierarchy by dragging the product name over the
product category so that a new hierarchy field is created
where we can drill down the data and see the detailed
data. For instance, if you have a list of countries and
cities you can create hierarchy as follows: In the fields
pane drag city field onto country field the hierarchy
will be created.
58. How can one import/scrape data from the web using
Power BI?
Go to Get Data option which is present in the Home
Ribbon tab on Power BI Desktop and then select web
option.
Copy and paste the URL in the web dialog box and
then click ok.
After that, the connection is established to the
particular URL, and the Power BI navigator dialog box
shows the catalogue of the tables on the page.
Finally, select the Results in the Navigator page and
then click edit. Now, the preview of the tables will be
opened in the Power BI query editor in which we can
analyze and transform the data from a web page.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
37
59. Suppose you notice that there is a relationship
between the Date column from a Date table and the
Invoice Date Key column from a Sales table, but the
relationship is inactive. All other visuals in your
report will be analyzing values by delivery date. How
should you approach this problem? Give reasoning
for your approach.
Using a measure:
Quantity by Invoice Date = CALCULATE ( SUM (
Sale[Quantity] ), USERELATIONSHIP ( ‘Date’[Date],
Sale[Invoice Date Key] ) )
No change or deleting of existing relationships as
other visuals in the report rely on that.
Hence using DAX measure will activate relationships
when needed at the query time and involves least
effort.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
38
61. How can one create filters in Power BI?
Filters are an integral part of Power BI reports. They are
used to slice and dice the data as per the dimensions we
want. Filters are created in a couple of ways.
Using slicers – Slicer is a visual under Visualization
Pane. This can be added to the design view to filter
our reports. When a slicer is added to the design view,
it requires a field to be added to it. For example, Slicer
can be added for Country fields, then the data can be
filtered based on countries.
Using Filter Pane – The Power BI team has added a
filter pane to the reports, which is a single space
where we can add different fields as filters. These
fields can be added depending on whether you want
to filter only one visual (Visual level filter), all the
visuals in the report page (Page level filters), or
applicable to all the pages of the report (report level
filters).
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
39
63. What are the differences between MSBI and PBI?
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
40
65. How can PBI dashboards be shared?
Power BI reports/dashboards can be shared in multiple
ways. If you and your end-users have a Power BI Pro
license, then-
You can use the share option in reports and
dashboards. This option enables access to a report or
dashboard to individual users.
Using content packs – Publish your report/dashboard
along with the data set as a content pack and then
share it to either a group or individual or open it for
the entire organization.
Publish your dashboards and reports into App
Workspace and share the App link to a group or
individual or open it for the entire organization. When
publishing as App, we can select the reports and
datasets that we want to be included in the App.
The report can be embedded into Web or SharePoint,
for which we need the embed code. This embed code
is added to the website code or the SharePoint code.
Another way to share the reports is by printing or
exporting the report as PPT or PDF. This option allows the
sharing of the reports, but it will not be interactive.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
41
67. How can one add Page Level Filters in Power BI?
The Power BI Page Level Filters are useful to filter the
charts (or visuals) present on the page. For example, if
your page contains four charts, then you can use this
page level filter to filter those four reports at a time.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
42
68. How can two columns be combined in Power BI?
To combine two columns in Power BI, you need to select a
new calculated column using the DAX expression.
In the image below, two text columns City & State, are
added & concatenated to one new column. In the same
way, you can add Numeric columns using DAX.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
43
69. How can one change the date format in Power BI
Query Editor?
Select the date column in the table, go to the “Modelling”
tab. Under this tab, we have the “Date” formatting section,
select the date type as a date from the drop-down list.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
44
Filter: It is used to completely filter a visual or a tile
based on the filter selection of another visual or tile.
Highlight: It is used when we want to highlight only the
related elements on the visual or tile, the non-related
items can be grayed out.
USERNAME(), USERPRINCIPALNAME()
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
45
73. What is Workspace in Power BI?
Workspace in Power BI is an environment that is designed
to upload content like reports, dashboards, apps,
datasets, etc., to share with a group of people,
colleagues, management. In one workspace, you can add
various reports, dashboards, datasets, etc. and add
people to view, edit or modify them through the given
access.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
46
74. How can one show Percentage in Power BI?
To show percentage in Power BI we can create a
calculated measure / calculated column using DAX
calculation and show it in the report visual depending on
the requirement of the dataset being analyzed.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
47
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
48
79. What is CORR function? When do we use it?
CORR is a correlation function. It gives a correlation
between two variables with a range between -1 and +1:
+1 indicating positive correlation, and -1 indicating
negative correlation.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
49
81. How can we use PBI in MS Excel?
To use Power BI in Excel, there is an Analyse in Excel
option for every report in the Power BI service. To use it,
you will need to enable editing and enable content for the
report for the first time.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
50
83. Which two cross filter directions are available in Power
BI table relationships?
When a relationship is created between two different
tables in Power BI, PBI asks us for the cross-filter direction.
There are two options available for cross filtering.
Single – When cross filter direction is single, then the
filtering between tables happens from left table to
right table. It is the default setting. First table can be
used to filter the data in the second table.
Both – When cross filter direction is both, then the
filtering between the tables will work both ways. Either
table can be used to filter the other table.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
51
86. What is forecast in PBI?
Forecast in Power BI helps its users to
forecast data for the next period. To
use the forecasting feature, we need
to use the Analytics Pane. The
Analytics Pane allows us to add the
dynamic reference lines to the visuals
we create, and provide a focus to the
important trends in the data or the
key insights.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
52
It does not transfer the data from the source to the client
platform, it just connects the platform to on-premise
data source for the direct access.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
53
90. What is Power Map? What are the primary
requirements for a table to be used in Power BI?
Power Map is an Excel add-in that provides you with a
powerful set of tools to help you visualize and gain insight
into large sets of data that have a geo-coded
component.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
54
With a live connection to an Analysis Services database,
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.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
55
95. As part of a large HR project, you are working with a
dataset of company employees, both past and present.
The data includes columns for EthnicGroup, PayTypeID,
HireDate (the date they started work), TermDate (the
date they left) and several other columns.
IF(OR((([HireDate]-[TermDate])) >=
61,ISBLANK([TermDate])),0,1)
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
56
96. Goal: You want to create a DAX formula that
automatically calculates the previous month number. For
example, if the month was June then the formula would
return 5.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
57
99. Which type of visualisation would you choose if you
wanted to show relationships between 3 numerical
values, and turn the horizontal axis into a logarithmic
scale?
Bubble Chart.
102. Goal: To extract the balance for the last period for
which a figure has been entered from a balances table.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
58
103. What are some of the unique data invigorations used
for generating distributed reports within Power BI?
There are four main types of invigorating steps when it
comes to Power BI.
Visual Compartment
This type of invigorating is a visual compartment refresh
stored in a report type \ once the data starts to change.
In order to find out if the data invigoration worked, you
can check on the accompanying connections.
Tile Invigorate
Tile invigorate refreshes the data for the tile visuals on the
dashboard once the data begins to change. This
happens at regular intervals.
Bundle Invigorate
Bundle invigorate can model or revive your data. This
would then synchronize the Power BI Desktop or Excel
document between the Power BI and OneDrive, or
SharePoint Online. This does not pull the data from the
first data source though. When the data comes to Power
BI, it can refresh it once it is inside the OneDrive record.
Display/data revive
This refers to the type of revising to the dataset inside the
Power BI with data from the initial data source. This would
either be finished by utilizing booked revive or invigorate
now. That usually requires an entry point for the on-
premises data sources, in the form of access tokens or
login credentials.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
59
104. When you share with people outside your
organization, they get an email with a link to the shared
dashboard. They need a Power BI Pro license, and they
have to sign in to Power BI to see the dashboard. After
they sign in, they see the shared dashboard in its own
browser window without the left navigation pane, not in
their usual Power BI portal. They have to bookmark the link
to access this dashboard in the future.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
59
104. When you share with people outside your
organization, they get an email with a link to the shared
dashboard. They need a Power BI Pro license, and they
have to sign in to Power BI to see the dashboard. After
they sign in, they see the shared dashboard in its own
browser window without the left navigation pane, not in
their usual Power BI portal. They have to bookmark the link
to access this dashboard in the future.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
60
106. What type of chart should be used to compare data
side by side?
Waterfall
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
61
In the reference example below, you have the sales data
of different countries and you want that a particular
country should see the data related to that country only.
Once you create the roles, you can view it by going to
‘View Roles’ & then you will have the data only about the
Role created as Country USA.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
62
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
63
There is a free version available in Power BI which
allows the user to 1GB data set limit. Pro Software is
paid but is cheaper in the market compared to other
BI tools.
Implementation process in Power BI is quite simple. It
uses cloud storage.
ZEP ANALYTICS
POWER BI | COMPREHENSIVE GUIDE TO INTERVIEWS FOR DATA SCIENCE
64
112. What are the differences between Power BI and
Tableau?
ZEP ANALYTICS
This brings our list of 110+ Power BI
interview questions to an end.
ZEP ANALYTICS
Ready to take the next steps?
Zep Analytics offers a complete data science
training taught by expert instructors with a fun,
interactive, and beginner-friendly approach.
ZEP ANALYTICS