Microsoft Power BI Data Analyst Practice Question

You are building a measure named CurrentYearSales in a Power BI model that contains a fact table Sales and dimension tables Date and Product. The measure must always return total sales for the current calendar year regardless of any Product slicers or filters, while keeping all other report filters in effect. Which DAX expression should you use?

  • CurrentYearSales = CALCULATE ( [Total Sales], REMOVEFILTERS ( 'Product'[Category] ), DATESYTD ( 'Date'[Date] ) )

  • CurrentYearSales = CALCULATE ( [Total Sales], ALL ( 'Product' ), ALL ( 'Date' ), YEAR ( 'Date'[Date] ) = YEAR ( TODAY() ) )

  • CurrentYearSales = CALCULATE ( [Total Sales], ALLEXCEPT ( 'Product', 'Product'[Category] ), YEAR ( 'Date'[Date] ) = YEAR ( TODAY() ) )

  • CurrentYearSales = CALCULATE ( [Total Sales], ALL ( 'Product' ), DATESYTD ( 'Date'[Date] ) )

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