[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation":3,"/docs/projections/moving-average":100,"/docs/projections/moving-average-surround":191},[4,23,48,68],{"title":5,"path":6,"stem":7,"children":8,"icon":22},"Getting Started","/docs/getting-started","1.docs/1.getting-started/1.index",[9,12,17],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Creating an Account","/docs/getting-started/installation","1.docs/1.getting-started/2.installation","i-lucide-user-plus",{"title":18,"path":19,"stem":20,"icon":21},"Quick Start","/docs/getting-started/usage","1.docs/1.getting-started/3.usage","i-lucide-rocket",false,{"title":24,"path":25,"stem":26,"children":27,"page":22},"Data Sources","/docs/data-sources","1.docs/2.data-sources",[28,33,38,43],{"title":29,"path":30,"stem":31,"icon":32},"Manual Data","/docs/data-sources/manual-data","1.docs/2.data-sources/1.manual-data","i-lucide-file-text",{"title":34,"path":35,"stem":36,"icon":37},"API Sources","/docs/data-sources/api-sources","1.docs/2.data-sources/2.api-sources","i-lucide-globe",{"title":39,"path":40,"stem":41,"icon":42},"Managing Sources","/docs/data-sources/managing-sources","1.docs/2.data-sources/3.managing-sources","i-lucide-settings",{"title":44,"path":45,"stem":46,"icon":47},"Inbound API","/docs/data-sources/inbound-api","1.docs/2.data-sources/4.inbound-api","i-lucide-webhook",{"title":49,"path":50,"stem":51,"children":52,"page":22},"Visualization","/docs/visualization","1.docs/3.visualization",[53,58,63],{"title":54,"path":55,"stem":56,"icon":57},"Charts","/docs/visualization/charts","1.docs/3.visualization/1.charts","i-lucide-chart-line",{"title":59,"path":60,"stem":61,"icon":62},"Combined Views","/docs/visualization/combined-views","1.docs/3.visualization/2.combined-views","i-lucide-layers",{"title":64,"path":65,"stem":66,"icon":67},"Correlations","/docs/visualization/correlations","1.docs/3.visualization/3.correlations","i-lucide-git-compare",{"title":69,"path":70,"stem":71,"children":72,"icon":79},"Projections","/docs/projections","1.docs/4.projections/1.index",[73,75,80,85,90,95],{"title":69,"path":70,"stem":71,"icon":74},"i-lucide-chart-spline",{"title":76,"path":77,"stem":78,"icon":79},"Linear trend projection","/docs/projections/linear","1.docs/4.projections/2.linear","i-lucide-trending-up",{"title":81,"path":82,"stem":83,"icon":84},"Moving average projection","/docs/projections/moving-average","1.docs/4.projections/3.moving-average","i-lucide-activity",{"title":86,"path":87,"stem":88,"icon":89},"Exponential smoothing projection","/docs/projections/exponential-smoothing","1.docs/4.projections/4.exponential-smoothing","i-lucide-waves",{"title":91,"path":92,"stem":93,"icon":94},"Logarithmic projection","/docs/projections/logarithmic","1.docs/4.projections/5.logarithmic","i-lucide-log-in",{"title":96,"path":97,"stem":98,"icon":99},"Growth rate (CAGR) projection","/docs/projections/growth-rate","1.docs/4.projections/6.growth-rate","i-lucide-percent",{"id":101,"title":81,"body":102,"description":185,"extension":186,"meta":187,"navigation":188,"path":82,"seo":189,"stem":83,"__hash__":190},"docs/1.docs/4.projections/3.moving-average.md",{"type":103,"value":104,"toc":178},"minimark",[105,114,119,122,125,129,150,154],[106,107,108,109,113],"p",{},"The ",[110,111,112],"strong",{},"moving average"," method projects future values by computing the average of the most recent data points and carrying that value forward as a flat forecast.",[115,116,118],"h2",{"id":117},"how-it-works","How it works",[106,120,121],{},"TotalKPI calculates a simple moving average (SMA) over a trailing window of your most recent data points. The average of that window becomes the projected value, held constant across the forecast period.",[106,123,124],{},"The window size adapts to your dataset: larger datasets use a wider window to capture a more stable trend; smaller datasets use a shorter window to stay responsive to recent changes.",[115,126,128],{"id":127},"when-to-use-it","When to use it",[130,131,132,140,147],"ul",{},[133,134,135,136,139],"li",{},"Your metric is ",[110,137,138],{},"noisy or volatile"," and you want a smoothed-out view of where things are heading.",[133,141,142,143,146],{},"You don't expect a strong upward or downward trend - the metric is relatively ",[110,144,145],{},"flat or range-bound",".",[133,148,149],{},"Examples: daily active users with day-of-week variation, support ticket volume.",[115,151,153],{"id":152},"limitations","Limitations",[130,155,156,172,175],{},[133,157,158,159,162,163,167,168,171],{},"Produces a ",[110,160,161],{},"flat forecast"," - it does not capture an upward or downward trend. If your data is trending, use ",[164,165,166],"a",{"href":77},"Linear trend"," or ",[164,169,170],{"href":87},"Exponential smoothing"," instead.",[133,173,174],{},"The window size is fixed automatically - very short datasets may produce less reliable averages.",[133,176,177],{},"Reacts slowly to sudden shifts in the metric because older values remain in the window.",{"title":179,"searchDepth":180,"depth":180,"links":181},"",2,[182,183,184],{"id":117,"depth":180,"text":118},{"id":127,"depth":180,"text":128},{"id":152,"depth":180,"text":153},"Smooth out short-term noise and project the recent trend forward.","md",{},{"icon":84},{"title":81,"description":185},"a4KKC7GULPB52cGpEKm91nv7ht_msuv5FDNYjpn6oek",[192,194],{"title":76,"path":77,"stem":78,"description":193,"icon":79,"children":-1},"Forecast future values by fitting a straight line to your historical data.",{"title":86,"path":87,"stem":88,"description":195,"icon":89,"children":-1},"Weight recent observations more heavily to capture evolving trends."]