Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!