Forum Discussion

JohnFabric's avatar
JohnFabric
Icon for Helper I rankHelper I
1 year ago
Solved

Issue with rolling average based off item type

Hello, I'm looking to create a rolling 90 day/3 month average of LeadTime over the course of a year. This is what my data looks like   The issue with this is I have three different WorkItemTy...
  • adudani's avatar
    1 year ago

    hi JohnFabric 

     

    This reference shows how to use concat to check if the moving average is calculated as expected.
    How to Calculate Moving Averages in Power BI - The Ultimate Guide

     

    you can modify the "Dates in period" part of the DAX code to put in the required MA period.

    Lastly, if you apply a visual level filter using Workitem Type  on the matrix, you could have 3 visuals filtered with the same DAX code. 

     

    hope this helps. let me know if this resolves the issue. 

     

    if it doesn't, kindly upload a sample input (masking sensitive information)  in a usable format such as table, csv, excel etc. and a sample output.