Forum Discussion
Anonymous
3 years agoNot applicable
Previous Year To Date
Hi, Apologies as I know this has been asked and answered numerous times before. I'm trying to get the sales for LY 01/01/2022 to todays date but unsure on how to go about it. I tried to u...
- 3 years ago
hi Anonymous
you need some code to reflect YTD, try like:
CALCULATE(
SUM(Transactions[Sales]),
DATESYTD(SAMEPERIODLASTYEAR(Calendar[Date]))
)
BrianConnelly
Resolver III
3 years agoCan you show the relationships between the table and the date dimension? It seems you might have a problem there.
Anonymous
3 years agoNot applicable