Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi @Richsellars,
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
Hi @Richsellars,
By my test, the measure from Ashish_Mathur should help you get the sales in the previous year.
In addition, if you want to calcualte the sales in the previous week, you could try this measure below.
Measure = CALCULATE(SUM('Table'[Sales]),DATEADD('Table'[Date],-7,DAY))
If you still need help, please share some data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Hi,
See if this works for sales in previous year (for chosen slicer dates)
=CALCULATE([your measure],SAMEPERIODLASTYEAR(Calendar[Date]))
There should be a relationship from the Date column of your Sales Table to the Date column of your Calendar Table.
User | Count |
---|---|
116 | |
73 | |
62 | |
49 | |
47 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |