Forum Discussion
dapperscavenger
Helper V
5 years agoFiscal Year To Date calculations
I have a date table, it rus in monthly buckets from 01 July 2019 to 01 June 2022 (4 fiscal years, 48 rows) My fiscal Year starts on 01 July and ends 30th June. I have created a YTD measure: ...
- 5 years ago
dapperscavenger use SAMEPERIODLASTYEAR i.e
YTD Sales Outlook = TOTALYTD([Sales Outlook], DimDate[LongMonthYear], "06/30" ) YTD Sales Outlook last year = CALCULATE ( [YTD Sales Outlook], SAMEPERIODLASTYEAR ( DimDate [Date] ) )
Angith_Nair
Continued Contributor
5 years agodapperscavenger use SAMEPERIODLASTYEAR i.e
YTD Sales Outlook = TOTALYTD([Sales Outlook], DimDate[LongMonthYear], "06/30" )
YTD Sales Outlook last year =
CALCULATE (
[YTD Sales Outlook],
SAMEPERIODLASTYEAR ( DimDate [Date] )
)dapperscavenger
Helper V
5 years agoPerfect, thank you!