Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You have a table named Sales. You need to create a measure that calculates sales from the previous year based on a dynamic period. Which
You have a table named Sales. You need to create a measure that calculates sales from the previous year based on a dynamic period. Which two DAX expressions can you use to achieve the goal? Each correct answer presents a complete solution. Answer choices Select correct option(s) _PY Sales = CALCULATE(SUM(Sales[Sales]), SAMEPERIODLASTYEAR('Calendar'[Date])) _PY Sales = CALCULATE(SUM(Sales[Sales]), PARALLELPERIOD('Calendar'[Date], -1, YEAR)) _PY Sales = CALCULATE(SUM(Sales[Sales]), DATEADD('Calendar'[Date].[Date], -1, MONTH)) _PY Sales = CALCULATE(SUM(Sales[Sales]), DATEADD('Calendar'[Date].[Date], -1, YEAR)) Note: This question can have more than one correct
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started