Forum Discussion

Woodyy's avatar
Woodyy
Regular Visitor
1 year ago
Solved

Need help with YTD moving average

Hi everybody,    I am trying to compute the YTD moving average for the product A for 2023 and 2024. The date is in the same column both for 2023 and 2024 and  I would like to eventually obtain a Y...
  • vojtechsima's avatar
    vojtechsima
    1 year ago

    Hello, Woodyy ,
    as long as you have Date type in one of the columns in your calendar (with relationship to your fact table) and you use that calendar inside the expressions, it's going to work just fine.

     

    Please test and mark the right answer as a solution, possibly some kudos would be also appreciated. Thank you