Name: Score:
88 Multiple choice questions
Definition 1 of 88
You have a Power BI model that contains the following two tables:
Sales (Sales_ID, DateID, sales_amount)
Date(DateID, Date, Month, Week, Year)
The tables have a relationship.
You need to create a measure to calculate the sales for same period from the previous year.
Which DAX formula should you use?
SUM(sales[sales_amount]) - CALCULATE(SUM(sales[sales_amount]),
DATESYID('Date'[Date]))
CALCULATE(SUM(sales[sales_amount]), SAMEPERIODLASTYEAR('Date'[Date]))
SUM(sales[sales_amount]) "" CALCULATE(SUM(sales[sales_amount]),
SAMEPERIODLASTYEAR('Date'[Date]))
CALCULATEx(SUM(sales(sales_amount]), DATESYID('Date'[Date]))
Definition 2 of 88
You have a collection of reports for the HR department of your company.
You need to create a visualization for the HR department that shows a historic employee
counts and predicts trends during the next six months.
Which type of visualization should you use?
key influencers
ribbon chart
line chart
scatter chart
,Definition 3 of 88
You have a line chart that shows the number of employees in a department over time.
You need to see the total salary costs of the employees when you hover over a data point.
What are two possible ways to achieve this goal?
Add a salary to the tooltips.
Add a salary to the visual filters.
Add salary to the drillthrough fields.
FORMAT([Date], "MMMM DD, YYYY")
mmmm Display the month as a full month name (January–December)
Add a salary to the tooltips.
Add a salary to the visual filters.
DATEADD
Get date 12 months ago.
LASTONBLANK
Get valid last date.
A scatter plot of Quantity Ordered and Unit price by item
Automatically find clusters
,Definition 4 of 88
You plan to develop a Power BI report that has a bar chart to display the number of customers
by location.
You have a table named Customer that has the following columns:
CustomerID
CustomerName
Address
City
ProvState
Country
You need to allow users to drill down by location. The report will display the number of each
customer by Country, and drill down to ProvState, and then to City.
How should you configure the drill down in the bar chart?
In the Legend field, add Country. In the Axis field, add ProvState at the top, followed by
City.
In the Value field, add Country at the top, followed by ProvState, and then City.
In the Value field, add Country. In the Legend field, add ProvState at the top, followed by
City.
In the Axis field, add Country at the top, followed by ProvState, and then City.
, Definition 5 of 88
You have a Power BI model that contains the following two tables:
- Assets (AssetID, AssetName, Purchase_DateID, Value)
- Date (DateID, Date, Month, Week, Year)
The tables have a relationship. Date is marked as a date table in the Power BI model.
You need to create a measure to calculate the percentage that the total assets value increased
since one year ago.
Which DAX formula should you use?
(sum(Assets[Value]) "" CALCULATE(sum(Assets[Value]),
SAMEPERIODLASTYEAR("˜Date'[Date])))/CALCULATE(sum(Assets[Value])),
SAMEPERIODLASTYEAR("˜Date'[Date])))
CALCULATE(sum(Assets[Value]), SAMEPERIODLASTYEAR("˜Date'[Date]))/ (sum(Assets[Value])
CALCULATE(sum(Assets[Value]),DATESYTD(("˜Date'[Date]))/ (sum(Assets[Value])
(sum(Assets[Value]) "" CALCULATE(sum(Assets[Value]),
SAMEPERIODLASTYEAR("˜Date'[Date]))/
matrix
In a Table we will not have empty lines formatting for Year column.
This is an example of a marix visualization.
Create a new table that has columns for the date, year, week, and day.
"and that you can drill down to see ProductName by week and day..."
(sum(Assets[Value]) "" CALCULATE(sum(Assets[Value]),
SAMEPERIODLASTYEAR("˜Date'[Date])))/CALCULATE(sum(Assets[Value])),
SAMEPERIODLASTYEAR("˜Date'[Date])))
COUNROWS
FILTER
Count the number of rows AND THEN filter in the amount greater than $1,000.