Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Annualized Total

I want to take my YTD monthly totals and divide by the number of months in the YTD monthly total and multiply by 12. My sales are: Month Sales Annualized Total Jan $1,000 $12,00...
  • Anonymous's avatar
    Anonymous
    7 years ago

    I figured it out and want to post it here in case others find this post by searching for annualized totals.

     

    Create measure: Total Sales = SUM(SalesTable(Sales))

    Create measure: YTD Sales = TOTALYTD( [Total Sales], Dates[Date] )

    Create measure: Monthly Avg Sales = AVERAGEX( VALUES(Dates[Month] ), [Total Sales] )

    Create measure: YTD Monthly Avg = CALCULATE( [Monthly Avg Revenue] ,   FILTER( ALL(Dates) ,   Dates[Month] <= MAX( Dates[Month] ) &&   Dates[Year] = MAX(Dates[Year])))

    Finally, create measure: Sales Annualized = [YTD Monthly Avg] * 12