1. You plan to get data for a Power BI dataset from flat files.
You need to select a location for the files. The location must provide the
ability to configure scheduled refresh for the dataset by using Microsoft 365
credentials.
Which two location types should you recommend? Each correct answer
presents a complete solution.
A personal OneDrive account provides the ability to automatically synchronize flat files
residing in a user's OneDrive and Power BI datasets. Since it relies on OneDrive access,
it requires the user's credentials of the corresponding Microsoft account. The OneDrive
- Business option uses Azure Active Directory credentials.
The SharePoint – Team Sites option uses the same Azure Active Directory credentials as
the ones used to access SharePoint Online.
For the local file option, no additional credentials are required to access them.
2. The storage mode of a table in Power BI Desktop is configurable from the Model view,
not the Data or Report view.
Page view is an option available from within the Report view.
3. Direct Query minimizes local disk space use and eliminates the need for data refresh.
Direct Query is not fully supported with the Q&A and Quick Insights Power BI services.
Both the Direct Query and Import storage modes support per table configuration.
4. Dividing the SQL statement into separate data sources would minimize the amount of
processing on the SQL Server side.
This would minimize or even eliminate the timeout issues.
Groupings, aggregations, and using nested queries would either have no impact on
timeout issues or further increase the amount of processing on the SQL Server side,
resulting in more frequent timeout issues.
5. Power Query Editor provides the ability to display the column distribution and column
quality graphs.
Data view provides access to data within a dataset.
Model view provides access to the data model of a dataset.
Advanced Editor of Power Query Editor provides the ability to work with the M code
used for shaping data in Power Query Editor.
6. You have a query that retrieves data from a table that contains more than
8,000 rows of data.
In Power Query Editor, you notice that the column statistics for each column
shows a count of exactly 1,000.
You need to ensure that the column statistics for each column shows the
statistics based on all rows that are returned by the query.
What should you do?
Selecting column profiling for the entire dataset will change the column profiler to
analyze the entire query dataset.
Adding a [Link] applied step will only cache the entire query in memory during
refresh.
The query load type in the model will not impact how many rows are used by the
column profiler.
Using a Top N row count applied step or applying a parameter will not change how the
column statistics feature calculates.
7. The Advanced Editor in the Power Query Editor provides the ability to work with all the
M code used for shaping data in a query at once.
Data view provides access to data within a dataset. Model view provides access to the
data model of a dataset.
The Formula Bar in the Power Query Editor provides the ability to edit only one step at
a time.
8. Selecting Unpivot will allow you to shape the current table into the one with the year,
month, and sales amount columns, which will need to be renamed afterwards.
Pivot would be applicable in the opposite scenario, in which flat data needs to be
reorganized into one containing aggregate values for each unique value in each
column.
Transposing would switch rows and columns.
Removing columns would result in a table with insufficient data to perform unpivot.
9. Only the Replace Values command allows the removal of leading characters, such as
“pd” from the column values.
Trim removes leading and trailing whitespace.
Remove Rows doesn’t affect the values in a column, only the included rows.
The prefix of PD is not an error, so Replace Errors cannot remove the string.
10. You have a Power BI data source that contains the following tables:
ProductCategory: Lists the product category ID and category name
ProductSubcategory: Lists the product subcategory ID, subcategory
name, and the related category ID
ProductList: Lists the product ID, name, and subcategory ID
You need to optimize the data to create a dimension for use in a star schema
data model.
How should the tables be transformed before loading into the model?
A star schema should have a single table for each dimension or product, so using the
combine command is what is required to create a single product table and aim towards
a star schema design.
11. You connect to the Cosmos DB account, database, and collection, but the
preview displays only a list of items named Record.
You need to select individual fields from items in the collection that you want
to load into Power BI Desktop.
This behavior is by design. The Preview pane in Power BI shows a list of Record items
when connecting to a collection of JSON formatted items.
To view individual item fields, open the Power Query window and use the Expander
button on the right side of the Column1 header to display the list of fields.
Switching to the model view would not benefit us in any way, since the data has not
been imported yet. Retrieving Cosmos DB account key or connection string at this point
is meaningless, since that was required to connect to Cosmos DB account, which has
been already completed.
12. You load the SalesOrders and SalesOrderDetails tables into Power BI
Desktop. The tables have a relationship based upon the SalesOrderID
column.
You need to combine the two tables into one table. The solution must meet
the following requirements:
There is a row for every SalesOrderDetails row in the resulting table,
even if there is no corresponding SalesOrders row.
For every SalesOrderDetails row, the row in the resulting table includes
the corresponding SalesOrders row data if the SalesOrder row exists.
Any SalesOrder row data that does not have corresponding
SalesOrderDetails rows is not included in the resulting table.
What should you do to combine the two tables?
To construct the resulting table, it is necessary to merge tables using the left outer join
kind with the SalesOrderDetails as the first table.
Appending tables in this context would not make sense, since they do not have the
same columns.
Merging using the inner join kind would not produce a table that includes a sales order
details row where there is no corresponding sales order row.
Full outer join would produce a table that includes sales order row data that do not
have corresponding sales order details.
[Link] multiple reports use the same Power BI dataset vs each having their own import
model, you reduce the number of datasets that are needed to be published to the
Power BI service.
Fewer datasets mean fewer refreshes, less storage space requirements, and less
overhead for admins.
14. You have a Power BI model with the following fact tables and storage
modes.
FactStoreSales (Import mode)
FactOnlineSales (DirectQuery mode)
You have a dimension table named DimCalendar that has a relationship to
both fact tables.
You need to assign a storage mode for DimCalendar. The solution must
minimize the time to execute queries that combine data from the dimension
table and the fact tables.
Which storage mode should you use?
Using Dual mode means that either an import query can be run when accessing data
from FactStoreSales, or a DirectQuery query can be run when accessing data from
FactOnlineSales.
Using Import mode means the queries are only optimized for FactStoreSales (Import).
Using DirectQuery mode means the queries are only optimized for FactOnlineSales
(DirectQuery).
A storage mode of Import, DirectQuery, or Dual must be assigned.
[Link] is a many-to-one relationship between a fact table and dimension table.
For each row in a dimension table there may be multiple matching rows in the fact
table.
[Link]-to-many cardinality in Power BI should be avoided due to ambiguity, resulting
from the presence of non-unique values.
[Link] Auto Date/Time for new files from the Current File options will disable all Auto
Date/Time tables in this dataset.
Enabling Mark as date table for the Calendar table will also disable the auto datetime
tables in the dataset. Disabling the Global option Auto Date/Time for new files means
that new files will no longer have Auto Date/Time enabled, but the file containing the
current dataset will still have it enabled until it is disabled. Changing the data category
will not impact the auto date table feature.
[Link] create a new hierarchy in Power BI Desktop, you must select Create hierarchy from
the Model view or Report view.
[Link] Report view provides the ability to create measures.
To create a measure, use the context sensitive menu of the Fields list or the
Calculations section of the ribbon.
The Data view provides access to data within a dataset and includes the option to
create a measure in the Calculations section of the ribbon.
Page view and Power Query Editor do not include the option to create a measure.
[Link] tables are generated with DAX queries.
Numeric range parameters create a table and measure, both generated with DAX
queries.
Hierarchies are helpful for drilldown and are defined as part of the data model, but they
are not generated by using DAX.
Display folders are a way to visually organize measures, columns, or hierarchies.
DAX is not used to create them.