Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All
Solved! Go to Solution.
There are a few functions you can try for this: SAMEPERIODLASTYEAR, PARALLELPERIOD, DATEADD
For example,
CALCULATE (
[SALES_],
DATEADD ( DATESYTD ( 'DATE'[Date] ), -1, YEAR )
)
See here for more discussion:
https://radacad.com/dateadd-vs-parallelperiod-vs-sameperiodlastyear-dax-time-intelligence-question
https://community.powerbi.com/t5/Desktop/DateAdd-vs-ParallelPeriod-vs-SamePeriodLastYea/m-p/689019
There are a few functions you can try for this: SAMEPERIODLASTYEAR, PARALLELPERIOD, DATEADD
For example,
CALCULATE (
[SALES_],
DATEADD ( DATESYTD ( 'DATE'[Date] ), -1, YEAR )
)
See here for more discussion:
https://radacad.com/dateadd-vs-parallelperiod-vs-sameperiodlastyear-dax-time-intelligence-question
https://community.powerbi.com/t5/Desktop/DateAdd-vs-ParallelPeriod-vs-SamePeriodLastYea/m-p/689019
@admin11 Paul,
Try this:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
User | Count |
---|---|
91 | |
77 | |
71 | |
64 | |
58 |
User | Count |
---|---|
106 | |
97 | |
76 | |
63 | |
60 |