Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Setting PMF back a year in time on the fly
Go
New
Search
Notify
Tools
Reply
  
Setting PMF back a year in time on the fly
 Login/Join
 
Guru
posted
Hi Team,

I'm building a report that mixes YTD and QTD time ranges over three years; Current, Prior (1 year ago), Prior Prior (2 years ago)

PMF ships with YTD and QTD time ranges, and I added YTD Prior and QTD Prior time ranges. I could not figure out how to add a YTD Prior Prior or QTD Prior Prior time range, so I tried to get fancy. I figured that I could set PMF's frozen in time variable(s) back a year, and then re-use my YTD_PRI and QTD_PRI time ranges.

This actually worked for the Year to Date Prior time range, but not for the Quarter to Date time range. When pulling numbers for Quarter to Date Prior, it shows the same results when I use the default frozen in time period versus when I set it back a year.

I think I must not be resetting the frozen in time period properly for Quarter to Date time periods, which is entirely possible, as I invented this technique out of the air. This is what I'm doing:

  
-TYPE &TLVL01_CUR
-* here is where the magic happens:
-SET &TLVL01_CUR=&TLVL01_CUR-1;
-TYPE &TLVL01_CUR

-TYPE &TLVL0102_CUR
-SET &TLVL0102_CUR=&TLVL01_CUR||&TLVL02_CUR;
-TYPE &TLVL0102_CUR

-TYPE &TLVL0103_CUR
-SET &TLVL0103_CUR=&TLVL01_CUR||&TLVL03_CUR;
-TYPE &TLVL0103_CUR

-TYPE &TIME_HASH_CURRENT
-SET &TIME_HASH_CURRENT=&TLVL01_CUR||'/'||&TLVL02_CUR||'/'||&TLVL03_CUR;
-TYPE &TIME_HASH_CURRENT


A solution to any of the following would solve my problem:

-is it possible to build a QTD Prior Prior time range?
-did I miss something with the above time variable mishmash?
-is there a totally easy and probably-already-well-documented method to reset the time period with a SET command?

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
 
Posts: 319 | Location: Los Angeles, CA | Registered: November 15, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Team,

With the expert guidance of Rob North, I've been able to create YTD - Prior Prior and QTD - Prior Prior Time Ranges.

Thus, there is no longer any time pressure for a solution to this for me. I know everyone is furiously working on the next PMF, so please respond to this topic at a later date.

Cheers,

Joey
 
Posts: 319 | Location: Los Angeles, CA | Registered: November 15, 2005Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Joey,
If you can share the parameters/criteria you use to create this new Time Range, it could be useful to others creating new Time Ranges.
Thanks.



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 287 | Location: Boston/New England | Registered: February 12, 2006Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Setting PMF back a year in time on the fly

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.