Forum Discussion

JShoemaker's avatar
JShoemaker
New Contributor III
7 months ago

Data Management Global Time

Hi all, I thought this was easy but not sure what I am missing. I have a current data management job that is running off this parameter and works just fine. 

Scenario=[Actual], Time=[|GlobalTime|]. I have tried [|GlobalPrior1|] with no luck

I am trying to get the prior month so I have tried Scenario=[Actual], Time=[|GlobalTimePrior1|] but that is an invalid sub variable, is there another syntax to use on this? I know you can with t# in cube views but this is the DM job. Thanks in advance!

  • jbrem's avatar
    jbrem
    New Contributor III

    I have the same issue.  It seems that there must be some type of limitations on what can be set in the DM job, but I can't find any details.  I've tried different combinations but so far have been unsuccessful finding a way to have it automatically run for prior period.  

    • rhankey's avatar
      rhankey
      Contributor

      What was wrong with Teresa's suggestion of using T#MonthPrior1(|GlobalTime|)?

      And, of course, if you can't find or are unaware of a built-in function or variable that gives what you want, you can always get whatever you would like from an XFBR() rule.

      • JShoemaker's avatar
        JShoemaker
        New Contributor III

        Nothing wrong at all but the DM step will not accept that syntax. I ended up using an XFBR variable and it worked just fine. 

  • T_Kress's avatar
    T_Kress
    Contributor III

    You could try something like this:

     

    T#MonthPrior1(|GlobalTime|)