calculate some statistics/aggregations for each date using a certain amount of previous dates

puhoma
puhoma New Altair Community Member
edited November 2024 in Community Q&A
Hello. I have dataset with dates. I want to calculate some statistics/aggregations for each date using a certain amount of previous dates ( for example, to calculate for each day a sum of sales of 15 previous dates). What is the best way to do it. I know some clumsy ways, but think it could be better ones.
Tagged:

Answers

  • puhoma
    puhoma New Altair Community Member
    And I would like to use it not only with dates. Sometimes I need to calculate statistics using certain amount of previous raws  for each raw (that were sorted in a special way before).
  • MartinLiebig
    MartinLiebig
    Altair Employee
    Hi,
    i think Process Windows is the solution for it.
    Best,
    Martin