TREND Script
Summary
TREND ScriptContent
Hello,
I am trying to create a pretty simple trending script in Essbase using some statistical data from a public source. The gist is I want to trend the data based on an x amount of previous periods for the year, and I want to do it in a separate scenario from what I am loading data to.
FIX("2016", @CHILDREN("Natural Gas"), "No Region", "Cubic Metres", @CHILDREN("Canada"), "Local_")
DATACOPY "Actual" to "Forecast";
ENDFIX
FIX("Forecast", "2016")
SET CREATENONMISSINGBLK ON;
"Imports"
(@TREND(@List(Jan:&CurMnth),,,
,
&NexMnth:Dec,LR,12););
AGG(Entity,Units,Region);
ENDFIX