Microsoft Power BI Data Analyst Practice Question

A data analyst needs to create a measure in Power BI to analyze sales performance. The data model contains a 'Sales' table with a [SalesAmount] column and a 'Date' table that is marked as a date table. The measure must calculate the total sales for the equivalent period in the prior year. For example, if a visual is filtered to March 2025, the measure should return the sales total for March 2024. Which DAX formula should the analyst use?

  • SUM('Sales'[SalesAmount]) - CALCULATE(SUM('Sales'[SalesAmount]), SAMEPERIODLASTYEAR('Date'[Date]))

  • TOTALYTD(SUM('Sales'[SalesAmount]), 'Date'[Date])

  • CALCULATE(SUM('Sales'[SalesAmount]), SAMEPERIODLASTYEAR('Date'[Date]))

  • CALCULATE(SUM('Sales'[SalesAmount]), PREVIOUSYEAR('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