Forum Discussion

tsol01's avatar
tsol01
Frequent Visitor
6 years ago
Solved

Time series indexation

Dear all, I am trying to calculate an index value for time series data which should be used as a basis for % change calculations. Desired outcome: Sales month   Pct %   index basis   calc...
  • tex628's avatar
    tex628
    6 years ago

    As long as the filter on mindate works i dont believe you need to combine the two, if theres more than 1 value per date in [Ptr %] i believe that all we need to do is change it to AVERAGE().

    Measure = 
    VAR minDate = [minDate]
    Return
    CALCULATE(AVERAGE(Table[Pct %]) ; ALL(Datatable) ; Datatable[Sales Month] = minDate)


    Br,
    J