Tuesday, August 13, 2019

Power BI Interview Questions and Answers

1. What is the difference between Managed Enterprise BI and Self-service BI?
The limitations of Managed Enterprise BI led to the birth of Self-service BI. There are significant differences that separate them.
Managed Enterprise BISelf-service BI
In Managed Enterprise BI, data flowed in from a plethora of data sources and, for this reason, there was no order in which companies ingested and managed their data sources.Self-service BI enabled companies to ingest data from any data source, seamlessly. Companies could take in data from any source and in any format, as well.
Companies were failing to conduct their business operations, effectively, as they were not able to report and analyze data, and collaborate for collecting valuable insights from it.With data ingestion falling into order, companies were able to process data and, consequently, conduct business operations with ease.
There were time constraints and lack of proper information when it came to analyzing data.Analyzing data became easy, and the Self-service BI software did that implicitly. Time constraints were hence alleviated.
Third-party vendors were employed to help companies make the most out of their data sources. This was leading to budget problems and slow productivity.There was no need of third-party vendors anymore and, therefore, all associated constraints were eradicated.
Complex programming skills were necessary for generating reports.Users could generate intuitive and actionable dashboards almost instantaneously without executing complex programming codes.
2. What exactly is Self-service BI?
Self-service BI or Self-service Business Intelligence (SSBI) is an approach to data analytics, reporting, and visualization that enables users to generate easy-to-understand, intuitive, and actionable dashboards, almost instantaneously. The most striking feature of SSBI is the fact that users are not required to be adept at technical expertise when it comes to data reporting. Using available filters and data manipulation options, they can influence data as per their business needs and further create reports. There are two parts to Microsoft SSBI:
  • Excel BI toolkit
  • Power BI
3. Why are you interested in Power BI? What makes you think that Power BI would be a great career option?
A cloud-based data reporting and visualization tool, Power BI makes it possible for users to generate reports online. Once reports are generated, users can share them with their colleagues in their workplace. This aspect of Power BI makes it quite popular among business users. And therefore, Power BI is both an interesting and promising career option.
4. Mention the important features of Power BI.
Features of Power BI are many. 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 (in an all-in-one view).
  • 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 or Power BI Q&A, users can perform queries on reports using simple English words.
5. Is Power BI free to use?
Well, users can use Power BI for free. However, the best of Power BI can be availed with the Power BI Pro subscription account. This can be purchased from the Microsoft Store. The subscription account basically offers an enhanced version of several features that are available with the Power BI free account. Most business users use a subscribed account as it offers more data refreshes per day and other features as compared to the free version.
6. What are the versions of Power BI?
Power BI brings in a lot of flexibility when it comes to data reporting and visualization. For this reason, the complete Power BI package has been divided into three versions. These versions allow all kinds of users to leverage the functionalities of Power BI to the fullest.
The versions are:
  • Power BI Desktop: The on-premise version for Windows 10
  • Power BI Service: For publishing to the cloud
  • Mobile Power BI: For mobile users
7. What is Power BI Desktop?
Power BI Desktop is a Windows desktop-based application for personal computers, primarily for designing, generating, and publishing reports to the cloud. Used as an on-premise version of Power BI, Power BI Desktop can run on PCs and work full-fledged even when the system is not connected to the Internet. Just when users want to publish their reports to the cloud or share with colleagues, they are supposed to connect to the Internet. Power BI Desktop is basically the first application that users jump into when they board on Power BI.
8. What are the major components of Power BI?
There are five different components of Power BI.
  • Power Pivot: The data transformation engine that fetches and cleans data and loads on to Power Query
  • Power Query: The data transformation engine that operates the loaded data
  • Power Q&A: Makes it possible for users to interact with reports using simple English language
  • Power View: A data visualization technology lets users create interactive charts, graphs, maps, and other visuals
  • Power Map: Enables the processing of accurate geographic locations in data sets.
9. 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 actually be directly ingested from any source including files in Excel, CSV, XML, JSON, PDF, and SharePoint folder formats and databases such as SQL, Access, SQL Server Analysis Services, Oracle, IBM, MySQL, and much more. Also, Power BI data sets and Power BI dataflows are compatible. Data can also be taken in from Azure and other online sources.
10. How can we filter data in Power BI?
Data can be filtered using filters that are available in Power BI, implicitly. There are basically three types of filters, namely, Page-level filters, Drillthrough filters, and Report-level filters.
  • Drillthrough Filters: With drillthrough in Power BI Desktop, users can create a page in their reports that focuses on specific entities such as suppliers, customers, or manufacturers.
  • Page-level Filters: These are used to filter charts that are present in individual pages.
  • Report-level Filters: They are used to simultaneously filter charts that are present in all pages of a report.
11. Where is data stored in Power BI?
When data is ingested into Power BI, it is basically stored in Fact and Dimension Tables.
  • Fact Tables: The central table in a start schema of a data warehouse, a fact table stores quantitative information for analysis and is not normalized in most cases.
  • Dimension Tables: It is just another table in the star schema that is used to store attributes and dimensions that describe objects that are stored in a fact table.
12. What are Content Packs?
Content packs are packaged reports, dashboards, and data sets, which can be shared with other Power BI users in your organization. When a content pack is connected on the Powerbi.com portal, report items are merged into workspace lists.
The most notable features of content packs are as follows:
  • Provide access to specific groups or entire organizations
  • Can be customized with a title and a description to help users select the right pack
  • Users who have access to the content pack can create new dashboards from the contents
13. What are the different views in Power BI Desktop?
There are three different views in Power BI, each of which serves a different purpose.
  • Report View: Users can add visualizations and additional report pages and publish the same on the portal from here.
  • Data View: Data shaping can be performed through Query Editor tools.
  • Relationship View: Users can manage relationships between data sets in this view.
14. What is Row-level Security?
Row-level security restricts the data that a user can view and has access to, based on filters. For configuring row-level security, users can define rules and roles within Power BI Desktop and publish the same to Power BI Service. Also, the username() function can be used alongside table relationships to restrict data to the current user.
However, for enabling row-level security, a Power BI Pro subscription account is required, and Excel sheets can only be used when they are converted to the .pbix file format.

15. What is DAX? What are the benefits of using Variables in DAX?
DAX or Data Analysis Expressions can be used to query and return data by a table expression. It is a formula language which is used to perform basic calculations and data analysis on data in Power Pivot. Also, it is used to compute calculated columns, calculated fields, and measures. However, data cannot be inserted or modified using DAX.
DAX Syntax:
Total Sales = SUM(Sales[SalesAmount])
Where, Total Sales is a ‘Measure’; SUM is a ‘DAX Function’; and Sales[SalesAmount] represents the referenced table and referenced column name.
Benefits of using variables in DAX:
  • Variables can be reused in DAX queries, thus avoiding additional queries of source database.
  • Variables make DAX expressions understandable.
16. What is Bidirectional Cross-filtering in Power BI?
Bidirectional cross-filtering in Power BI Desktop allows data modelers to determine how they want filters to flow for data using relationships between tables. With bidirectional cross-filtering, the filter context is propagated to a second related table on the other side of a table relationship. This can help them solve the many-to-many problem without writing complicated DAX formulas. Thus, bidirectional cross-filtering simplifies the job for data modelers.
17. How are relationships defined in Power BI Desktop?
If there are no null values or duplicate rows, relationships between tables can be defined in two ways:
  • Manually: Users can manually define relationships between tables using primary and foreign keys.
  • With the Autodetect feature: When enabled, this inherent feature of Power BI detects relationships between tables and creates them automatically.
18. What do you know about Power BI Query Editor?
By using Power BI Query Editor, users can load data from a wider number of data sources and apply transformations on them, including adding new columns and measures.
Power BI Query Editor comprises four tabs:
Query Editor TabUse Case
Home
  • Import data from Query Editor in New Query group
  • Use Parameter group to create and manage parameters
  • Includes a function to refresh the preview data for the current table, or all tables, in the data set
  • Manage columns, reduce rows, and sort groups
Transform
  • Change data types of columns, rename columns, replace values, and fix errors in Any Column group
  • Structured Column group provides options for working with the nested data
  • Run R Script function enables to run R Queries directly on Power BI Query Editor
Add Column
  • Use Add Custom Column to create a new column using a DAX formula
  • Use Conditional Column to add a column based on the values in another column
  • Use From Number group to apply statistical, standard, and scientific functions to numerical columns.
View
  • Show or hide Query Editor Settings
  • From here, the Advanced Editor window can be opened to view and edit the query code
19. What is Advanced Editor in Power BI?
Advanced Editor can be used to see the query that Power BI runs against data sources to import data.
  • The query is written in M-code, the Power Query Formula Language
  • To view the query code from Power BI Desktop, choose Edit Queries from the Home tab
  • From either the Home or the View tab, click on Advanced Editor to work on that query
  • The Advanced Editor window opens, displaying the code for the currently selected query
  • When you make transformations to your data in Query Editor, the steps are saved to the Applied Steps in the Query Settings
  • These steps are also applied to the code in the Advanced Editor
20. Why should General Formatting be applied to data in Power BI?
By formatting data, users can help Power BI categorize and identify data, making it much easier to work with.
  • You enter a custom formula to create a new column, including calculations using values from other columns
  • To create a new column, click on Add Custom Column
  • In the new column name box, type the name of the column and add your formula to the custom column formula box; for example, [ShipDate] – [OrderDate]
  • Select a column from the available columns list and click on Insert or double-click to add it to the custom column formula text box. Then, click on OK
  • The new column is appended to the table, and the formula is visible in the Formula Bar
Custom Column Formula
= Table.AddColumn(#"Sorted Rows",
"DaysOrderToShip", each [ShipDate] -
[OrderDate])
The above code is the formula to create a custom column, which calculates the days from when an order was placed to when it got shipped.
21. What are the most common data shaping techniques?
The most common data shaping techniques are:
  • Removing Columns and Rows
  • Adding Indexes
  • Applying a Sort Order
22. What is the difference between Calculated Columns, Calculated Tables, and Measures?
Calculated ColumnsCalculated TablesMeasures
  • Added to tables by applying DAX formula on the existing data
  • DAX formula defines values in new columns rather than querying data sources
  • Useful when data sources do not contain data presented in a desired format
  • Created using DAX formula to define values
  • Created in both Report and Data views
  • Work well for intermediate calculations and data that users want to be stored in the model
  • Use other DAX functions to create complex calculations
  • Used for highlighting running totals, comparing sales, sales forecasting, and other purposes as well
  • Created in both Report and Data views

23. Which In-memory Analytics Engine is used in Power Pivot?
The primary in-memory analytics engine behind Power Pivot is xVelocity. This engine handles large amount of data as it stores data in columnar databases. In in-memory analytics, all data is loaded to RAM memory, and therefore processing speed is really fast.
24. What is Power BI Designer?
A powerful and flexible new tool under Power BI umbrella, Power BI Designer empowers users to create intuitive reports and dashboards, easily and quickly, and also lets users change visual views of their data at fingertips 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.
25. Is it possible to refresh Power BI Reports after they are published to the cloud?
Yes, it is possible. Gateways can be used to do so.
  • For SharePoint: Data Management Gateway
  • For Powerbi.com: Power BI Personal Gateway

26. What are gateways available in Power BI and why use them?
A gateway basically acts as a bridge between on-premise data sources and Azure Cloud Services.
Personal Gateway: Data can be imported and valid on Power BI Service only. Also, this gateway can only be used by one person.
On-premises Gateway: This gateway is the advanced form of Personal gateway. It supports Direct Query, and multiple users can use this for refreshing data.
27. How can geographic data be mapped into Power BI Reports?
Through map chart and filled map chart, Power BI makes it possible for users to visually map geographic data, both globally and regionally.
  • Power BI integrates with Bing Maps to find default coordinates for locations in a process known as geocoding.
  • This integration means that users do not need to provide longitude and latitude coordinates.
28. What happens when you click on a single data point in one of the multiple visuals in a report?
When you do that, data gets selected and copied to the clipboard. Further, the copied data can be pasted anywhere as per the requirement of the user.
29. What is z-order in Power BI?
Z-order is a design strategy which is used for arranging visuals over shapes. Also, z-order can be defined as an implementation method which can be applied when reports have multiple elements. Further, this can also be used to refresh the display after the order of items in a report is changed.
30. What is the prerequisite for connecting to a database in Azure SQL Database?
There is only one prerequisite for this. Before connecting to a database in Azure SQL Database, users should configure firewall settings to allow remote connections.

No comments:

Post a Comment

No String Argument Constructor/Factory Method to Deserialize From String Value

  In this short article, we will cover in-depth the   JsonMappingException: no String-argument constructor/factory method to deserialize fro...