Microsoft
70-778 · Question #39
70-778 Question #39: Real Exam Question with Answer & Explanation
Sign in or unlock 70-778 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Question
You have a Power BI model that contains the following tables: Sales (Sales_ID, DateID, sales_amount) 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 sales for the last 12 months. Which DAX formula should you use?
Options
- ACALCULATEx(SUM(sales[sales_amount]) DATESYTD (`Date' [Date]))
- BCALCULATE(SUM(sales[sales_amount]), SAMEPERIODLASTYEAR (`Date' [Date]))
- CSUM(sales[sales_amount])-CALCULATE(SUM(sales[sales_amount]), SAMEPERIODLASTYEAR
- DSUM(sales[sales_amount])-CALCULATE(SUM(sales[sales_amount]),DATESYTD(`Date'[Date]))
Unlock 70-778 to see the answer
You've previewed enough free 70-778 questions. Unlock 70-778 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.