Power BI Interview Questions

Daniel AG by Daniel A G

Power BI Interview Questions – General Questions

1). What are the parts of Microsoft self-service business intelligence solution?

Ans: Microsoft has two parts for Self-Service BI  

Excel BI Toolkit
It allows users to create an interactive report by importing data from different sources and model data according to report requirement.
Power BI
It is the online solution that enables you to share the interactive reports and queries that you have created using the Excel BI Toolkit.
Parts of Self-Service BI


2). What is self-service business intelligence?

Ans: Self-Service Business Intelligence (SSBI)

  • SSBI is an approach to data analytics that enables business users to filter, segment, and, analyze their data, without the in-depth technical knowledge in statistical analysis, business intelligence (BI).
  • SSBI has made it easier for end users to access their data and create various visuals to get better business insights.
  • Anybody who has a basic understanding of the data can create reports to build intuitive and shareable dashboards.


3). What is Power BI?

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.


Power BI features allow you to:

  • Share presentations and queries with your colleagues.
  • Update your Excel file from data sources that can be on-site or in the cloud.
  • Display the output on multiple devices. This includes PCs, tablets, and HTML 5-enabled mobile devices that use the Power BI app.
  • Query your data using natural language processing (or Q&A, as it is known).


4). What is Power BI Desktop?


Ans: Power BI Desktop is a free desktop application that can be installed right on your own computer. Power BI Desktop works cohesively with the Power BI service by providing advanced data exploration, shaping, modeling, and creating report with highly interactive visualizations. You can save your work to a file or publish your data and reports right to your Power BI site to share with others.


5). What data sources can Power BI connect to?


Ans: 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, Databaseand SQL, Server Analysis Services tabular data, etc.


6). What are Building Blocks in Power BI?


Ans: The following are the Building Blocks (or) key components of Power BI:

  • Visualizations: Visualization is a visual representation of data.Example: Pie Chart, Line Graph, Side by Side Bar Charts, Graphical Presentation of the source data on top of Geographical Map, Tree Map, etc.
  • Datasets: Dataset is a collection of data that Power BI uses to create its visualizations.Example: Excel sheets, Oracle or SQL server tables.
  • Reports: Report is a collection of visualizations that appear together on one or more pages.Example: Sales by Country, State, City Report, Logistic Performance report, Profit by Products report etc.
  • 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.
  • Tiles: Tile is a single visualization in a report or on a dashboard.Example: Pie Chart in Dashboard or Report.


7). What are the different types of filters in Power BI Reports?


Ans: Power BI provides variety of option to filter report, data and visualization. The following are the list of Filter types.

  • 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.


8). What are content packs in Power BI?


Ans: Content packs for services are pre-built solutions for popular services as part of the Power BI experience. A subscriber to a supported service, can quickly connect to their account from Power BI to see their data through live dashboards and interactive reports that have been pre-built for them. Microsoft has released content packs for popular services such as Salesforce.com, Marketo, Adobe Analytics, Azure Mobile Engagement, CircuitID, comScore Digital Analytix, Quickbooks Online, SQL Sentry and tyGraph. 


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.


Power BI Interview Questions – DAX


9). What is DAX?


Ans: To do basic calculation and data analysis on data in power pivot, we use Data Analysis Expression (DAX). It is formula language used to compute calculated column and calculated field.

  • DAX works on column values.
  • DAX can not modify or insert data.
  • We can create calculated column and measures with DAX  but we can not calculate rows using DAX.
Sample DAX formula syntax:
For the measure named Total Sales, calculate (=) the SUM of values in the [SalesAmount] column in the Sales table.


A- Measure Name

B- = – indicate beginning of formula
C- DAX Function
D- Parenthesis for Sum Function
E- Referenced Table
F- Referenced column name


10). What are the most common DAX Functions used?


  • SUM, MIN, MAX, AVG, COUNTROWS, DISTINCTCOUNT
  • IF, AND, OR, SWITCH
  • ISBLANK, ISFILTERED, ISCROSSFILTERED
  • VALUES, ALL, FILTER, CALCULATE,
  • UNION, INTERSECT, EXCEPT, NATURALINNERJOIN, NATURALLEFTEROUTERJOIN,
  • SUMMARIZECOLUMNS, ISEMPTY,
  • VAR (Variables)
  • GEOMEAN, MEDIAN, DATEDIFF

Ans: Below are some of the most commonly used DAX function: 


11). How is the FILTER function used?


  • 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.

FILTER(MyTable,[SalesMetric] > 500)


12). What is special or unique about the CALCULATE and CALCULATETABLE functions?


  • Add to existing filter context of queries.
  • Override filter context from queries.
  • Remove existing filter context from queries.

Limitations:

  • Filter parameters can only operate on a single column at a time.
  • Filter parameters cannot reference a metric.


13). What is the common table function for grouping data?


  • Main groupby function in SSAS.
  • Recommended practice is to specify table and group by columns but not metrics.You can use ADDCOLUMNS function.

Ans:  SUMMARIZE()

 SUMMARIZECOLUMNS

  • New group by function for SSAS and Power BI Desktop; more efficient.
  • Specify group by columns, table, and expressions.


14). What are some benefits of using Variables in DAX ?


Ans: Below are some of the benefits: 

  • 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?


Ans:  The  solution will involve:

  • CALCULATE function to control (take over) filter context of measures.
  • ALL to remove existing filters on the date dimension.
  • FILTER to identify which rows of the date dimension to use.

Alternatively, CONTAINS may be used:

  • CALCULATE(FILTER(ALL(‘DATE’),…….))


16). What are the different Excel BI add-in?


Ans: Below are the most important BI add-in to Excel:

  • Power Query: It helps in finding, editing and loading external data.
  • Power Pivot: Its mainly used for data modeling and analysis.
  • Power View: It is used to design visual and interactively reports.
  • Power Map: It helps to display insights on 3D Map.

Power BI Interview Questions – Power Pivot



17). What is Power Pivot?


Ans: Power Pivot is an add-in for Microsoft Excel 2010 that enables you to import millions of rows of data from multiple data sources into a single Excel workbook. It lets you create relationships between heterogeneous data, create calculated columns and measures using formulas, build PivotTables and PivotCharts. You can then further analyze the data so that you can make timely business decisions without requiring IT assistance.


18). What is Power Pivot Data Model?


Ans: It is a model that is made up of data types, tables, columns, and table relations. These data tables are typically constructed for holding data for a business entity.


19). What is xVelocity in-memory analytics engine used in Power Pivot?


Ans: The main engine behind power pivot is the xVelocity in-memory analytics engine. It can handle large amount of data because it stores data in columnar databases, and in memory analytics which results in faster processing of data as it loads all data to RAM memory.


20). What are some of differences in data modeling between Power BI Desktop and Power Pivot for Excel?

Ans: Here are some of the differences:

  • 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.


21). 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.


Power BI Interview Questions – Power Query



22). What is Power Query?


Ans: Power query is a ETL Tool used to shape, clean and transform data using intuitive interfaces without having to use coding. It helps the user to:

  • Import Data from wide range of sources from files, databases, big data, social media data, etc.
  • Join and append data from multiple data sources. 

                      Shape data as per requirement by removing and adding data.


23). What are the data destinations for Power Queries?


Ans: There are two destinations for output we get from power query:

      • Load to a table in a worksheet.
      • Load to the Excel Data Model.


      24). What is query folding in Power Query?


      Ans: Query folding is when steps defined in Power Query/Query Editor are translated into SQL and executed by the source database rather than the client machine. It’s important for processing performance and scalability, given limited resources on the client machine.


      25). What are some common Power Query/Editor Transforms?

      Ans: Changing Data Types, Filtering Rows, Choosing/Removing Columns, Grouping, Splitting a column into multiple columns, Adding new Columns ,etc.


      26). Can SQL and Power Query/Query Editor be used together?

      Ans: Yes, a SQL statement can be defined as the source of a Power Query/M function for additional processing/logic. This would be a good practice to ensure that an efficient database query is passed to the source and avoid unnecessary processing and complexity by the client machine and M function. 


      27). What are query parameters and Power BI templates?


      Ans:Query parameters can be used to provide users of a local Power BI Desktop report with a prompt, to specify the values they’re interested in.

      • 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 .


      28). Which language is used in Power Query?


      Ans: A new programming language is used in power query called M-Code. It is easy to use and similar to other languages. M-code is case sensitive language.


      29). 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.


      Power BI Interview Questions – Power Map

      30). What is Power Map?

      Ans: 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. It can help you produce 3D visualizations by plotting upto a million data points in the form of column, heat, and bubble maps on top of a Bing map. If the data is time stamped, it can also produce interactive views that display, how the data changes over space and time.

      31). 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.

      32). What are the data sources for Power Map?

      Ans: The data can either be present in Excel or could be present externally. To prepare your data, make sure all of the data is in Excel table format, where each row represents a unique record. Your column headings or row headings should contain text instead of actual data, so that Power Map will interpret it correctly when it plots the geographic coordinates. Using meaningful labels also makes value and category fields available to you when you design your tour in the Power Map Tour Editor pane.

      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:

            • In Excel, click Data > the connection you want in the Get External Data group.
            • Follow the steps in the wizard that starts.
            • On the last step of the wizard, make sure Add this data to the Data Model is checked.

            Power BI Interview Questions – Additional Questions


            33). What is Power View?


            Ans: Power View is a data visualization technology that lets you create interactive charts, graphs, maps, and other visuals which bring your data to life. Power View is available in Excel, SharePoint, SQL Server, and Power BI.

            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) 


            34). What is Power BI Designer?


            Ans: It is a stand alone application where we can make Power BI reports and then upload it to Powerbi.com, it does not require Excel. Actually, it is a combination of Power Query, Power Pivot, and Power View.


            35). 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)

            36). 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.

            • Visual container refresh

            Refreshing the visual container updates the cached report visuals, within a report, once the data changes.


            37). Is Power BI available on-premises?

            Ans: No, Power BI is not available as a private, internal cloud service. However, with Power BI and Power BI Desktop, you can securely connect to your own on-premises data sources. With the On-premises Data Gateway, you can connect live to your on-premises SQL Server Analysis Services, and other data sources. You can also scheduled refresh with a centralized gateway. If a gateway is not available, you can refresh data from on-premises data sources using the Power BI Gateway – Personal.

            38). What is data management gateway and Power BI personal gateway?


            Ans: Gateway acts a bridge between on-premises data sources and Azure cloud services.

            Personal Gateway:

            • Import Only, Power BI Service Only, No central monitoring/managing.
            • Can only be used by one person (personal); can’t allow others to use this gateway.

            On-Premises Gateway:

            • Import and Direct Query supported.
            • Multiple users of the gateway for developing content.
            • Central monitoring and control.


            39). What is Power BI Q&A?


            Ans: Power BI Q&A is a natural language tool which helps in querying your data and get the results you need from it. You do this by typing into a dialog box on your Dashboard, which the engine instantaneously generates an answer similar to Power View. Q&A interprets your questions and shows you a restated query of what it is looking from your data. Q&A was developed by Server and Tools, Microsoft Research and the Bing teams to give you  a complete feeling of truly exploring your data.


            40). 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:

              • The Power BI Publisher for Excel:

                  1.  Can be used to pin Excel items (charts, ranges, pivot tables) to Power BI Service.
                  2. Can be used to connect to datasets and reports stored in Power BI Service.

                  • Excel workbooks can be uploaded to Power BI and viewed in the browser like Excel Services.
                  • Excel reports in the Power BI service can be shared via Content Packs like other reports.
                  • Excel workbooks (model and tables) can be exported to service for PBI report creation.
                  • Excel workbook Power Pivot models can be imported to Power BI Desktop models.


                  41). What is a calculated column in Power BI and why would you use them?


                  Ans: 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.

                  42). How is data security implemented in Power BI ?

                  Ans:  Power BI can apply Row Level Security roles to models.

                  • A DAX expression is applied on a table filtering its rows at query time.
                  • Dynamic security involves the use of USERNAME functions in security role definitions.
                  • Typically a table is created in the model that relates users to specific dimensions and a role.


                  43). What are many-to-many relationships and how can they be addressed in Power BI ?


                  Ans: Many to Many relationships involve a bridge or junction table reflecting the combinations of two dimensions (e.g. doctors and patients). Either all possible combinations or those combinations that have occurred.

                  • Bi-Directional Crossfiltering relationships can be used in PBIX.
                  • CROSSFILTER function can be used in Power Pivot for Excel.
                  • DAX can be used per metric to check and optionally modify the filter context.


                  44). Why might you have a table in the model without any relationships to other tables?


                  Ans: There are mainly 2 reasons why we would have tables without relations in our model:

                  1. A disconnected table might be used to present the user with parameter values to be exposed and selected in slicers (e.g. growth assumption.)
                    • DAX metrics could retrieve this selection and use it with other calculations/metrics.
                  2. A disconnected table may also be used as a placeholder for metrics in the user interface.
                    • It may not contain any rows of data and its columns could be hidden but all metrics are visible.


                    45). What is the Power BI Publisher for Excel?


                    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 .


                    46). What are the differences between a Power BI Dataset, a Report, and a Dashboard?


                    Ans:  Dataset: The source used to create reports and visuals/tiles.

                    • A data model (local to PBIX or XLSX) or model in an Analysis Services Server
                    • Data could be inside of model (imported) or a Direct Query connection to a source.


                    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.

                        • Built to aggregate primary visuals and metrics from multiple datasets.


                        47) 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.

                        None: It ignore the filter selection from another tile/visual.


                        48). What are some of the differences in report authoring capabilities between using a live or direct query connection such as to an Analysis Services model, relative to working with a data model local to the Power BI Desktop file?


                        Ans: With a data model local to the PBIX file (or Power Pivot workbook), the author has full control over the queries, the modeling/relationships, the metadata and the metrics.

                        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.


                        50). How does SSRS integrate with Power BI?


                        Ans: Below are some of the way through which SSRS can be integrated with Power BI: 

                        • 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

                        Other Top 30 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 BI
                        Self-service BI
                        Here, data flows in from a plethora of sources and, for this reason, there is no order in which companies ingest and manage their data sources.
                        This enables companies to ingest data from any data source, seamlessly. Companies take in data from any source in any format.
                        Companies fail to conduct their business operations, effectively, as they are not able to report and analyze data and collaborate for collecting valuable insights from it.
                        With data ingestion falling into order, companies are able to process data and, consequently, conduct business operations with ease.
                        There are time constraints and a lack of proper information when it comes to analyzing data.
                        Analyzing data is easy, and it is done implicitly. Time constraints are hence alleviated.
                        Third-party vendors are employed to help companies make the most out of their data sources, leading to budget problems and slow productivity.
                        There is no need of third-party vendors anymore and all associated constraints are eradicated.
                        Complex programming skills are 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: Fetches and cleans data and loads on to Power Query
                        • Power Query: Operates on the loaded data
                        • Power Q&A: Makes it possible for users to interact with reports using simple English language
                        • Power View: Lets users create interactive charts, graphs, maps, and other visuals
                        • Power Map: Enables the processing of accurate geographic locations in datasets


                        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 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.

                        10. How can we filter data in Power BI?

                        Data can be filtered using various 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 filters 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 star 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 stored in a fact table.

                        12. What are Content Packs?

                        Content packs are packaged reports, dashboards, and datasets, which can be shared with other Power BI users in the 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 datasets 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 in Power BI Desktop and publish the same to Power BI Service. Also, the username() function can be used alongside table relationships to restrict the 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 that is used to perform basic calculations and data analysis on the 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 the referenced column name.

                        Benefits of using variables in DAX:

                        • Variables can be reused in DAX queries, thus avoiding additional queries of the 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 data modelers 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 Tab

                        Use Case

                        Home

                        • Import data from Query Editor into the New Query group
                        • Use the Parameter group to create and manage parameters
                        • Include a function to refresh the preview data for the current table, or all tables, in the dataset
                        • Manage columns, reduce rows, and sort groups

                        Transform

                        • Change the data types of columns, rename columns, replace values, and fix errors in the 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 the 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 the query. The Advanced Editor window opens, displaying the code for the currently selected query
                        • When we make transformations to our 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.

                        • Enter a custom formula to create a new column, including calculations using values from the 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 the 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 Columns

                        Calculated Tables

                        Measures

                        • 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 the desired format

                        • Created using DAX formula to define values
                        • Created in both Report and Data views
                        • Work well for intermediate calculations and the 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
                        • 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 amounts 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 gateways are 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 a single 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 we 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 that is used for arranging visuals over shapes. Also, z-order can be defined as an implementation method that 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.


                        Statistics Says It All

                        16

                        Years of Experience

                        3000

                        Gratified Students

                        100

                        Training Batches

                        9600

                        Training Hours


                        Subscribe

                        Please subscribe our technical blog to get recent updates.

                        Empire Data Systems

                        Social Links