Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Calculating Variance: Multiple Years on a table

Hi,    I am wanting to show the variance in this table between the different years (Compare 2016 to 2015 and 2015 to 2014.      I am unsure how to achieve this result.    Any advice?  
  • Anonymous's avatar
    Anonymous
    9 years ago

    In order for the user to control 2 different dates, it's probably best to have 2 different date tables.  (I could imagine also using a single table and using MIN / MAX to choose the years, but that feels weird to me).

     

    Then you are sorta doing "sales, as filtered by date table 1" and "sales, as filtered by date table 2", then another measure to compare those.