Microsoft Power BI Data Analyst Practice Question

You are a data analyst for a company and are building a Power BI report. The data model includes a 'Sales' table with a [SalesAmount] column and a 'Product' table with a [Category] column.

You need to create a DAX measure that calculates the total sales amount only for the 'Bikes' product category. This measure must always show the 'Bikes' total, regardless of any user selections on the 'Product'[Category] column in a slicer or visual.

Which of the following DAX expressions correctly creates this measure?

  • CALCULATE(SUM('Sales'[SalesAmount]), 'Product'[Category] = "Bikes")

  • CALCULATE(SUM('Sales'[SalesAmount]), KEEPFILTERS('Product'[Category] = "Bikes"))

  • CALCULATE(SUM('Sales'[SalesAmount]), FILTER('Product', 'Product'[Category] = "Bikes"))

  • CALCULATE(SUM('Sales'[SalesAmount]), ALL('Product'[Category]))

Microsoft Power BI Data Analyst
Model the Data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot