Focal Point
[closed] Built gadget with analysis designer, error on drill-down on Time

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1461084022/m/12910956

March 31, 2009, 04:31 PM
Moogle
[closed] Built gadget with analysis designer, error on drill-down on Time
Hi!

I have the following gadget:

-SET &TIME=0;
-SET &PERSPECTIVE_ID=0;
-SET &OBJECTIVE_ID=0;
-SET &INWH33=0;
-SET &RPT_FLDIN01='VAL_ACTUAL';
-SET &RPT_FLDIN02='VAL_TARGET';
-SET &RPT_FLDIN03='PCTRCH_TARGET';
-SET &REPORT_TITLE='Actual VS Target';
-SET &WFFMT='HTML';
-SET &THIS_FOCEXEC='PMF_RPT_TMPLT_MEAS_CRSTAB';
-INCLUDE PMF_RPT_TMPLT_MEAS_CRSTAB

I the initial report with Analysis Designer, and then used that Launch Page Parameter Extractor tool to grab the above code snippet. I did remove my dimension specific -SETs, so it will work as a user-tweakable gadget.

I setup my gadget screen like so:

Display fields: everything is set to Not Used
Groupings: User Specified Dimension Required
Filters: Measures Required, Time Required (Current Period default)

When I have the current period as the time filter, I am at the most granular level for time. The only drill-down option I have on the gadget is on my other dimension, which works well. As soon as I change the period to use a larger time range, I am offered the option to drill on my three levels of Time and the other dimension. The problem is that if I drill on Year, my report throws an error. The other two Time levels work well on drill-down. Here is the pmf error:

Error S02_B in pmf_rpt_tmplt_meas_crstab, FOCERRNUM: 9 LINES: 0

Viewing the source tells me this, which is likely the source of the error:

0 ERROR AT OR NEAR LINE 91 IN PROCEDURE pmf_rpt_tmplt_meas
(FOC003) THE FIELDNAME IS NOT RECOGNIZED: DEF_TLVL0101

Pretty strange, eh?

Please give me a hand if you can.

Cheers,

Joey

This message has been edited. Last edited by: Moogle,


-WebFOCUS 8.2.01 on Windows
April 01, 2009, 01:04 AM
Bob Jude Ferrante
OK, tested your gadget...

First off, you don't need the following lines, so I commented these out as follows:

-*SET &TIME=0;
-*SET &PERSPECTIVE_ID=0;
-*SET &OBJECTIVE_ID=0;

You definitely don't want to override TIME to 0 since you're planning to use a Time Range.

Secondly, you should require a Time grouping on the gadget; otherwise selecting a wider Time Range than Current or any single point will give you incorrect cross-time aggregation on the data. You will of course get extra width required since the Time breakout, even on a single Time point, will always thus be there. But it gives you a second level of Dimensional drill, which some people will like...

Lastly, and hope this doesn't break your heart, but I could not repro your issue in 5.1.2. Which means we probably cleaned up some glitch up between the releases - they're separated by 4 months of solid bug fixing and development, so it's quite possible we fixed something that I for one can't recall. Anyway, try it in 5.1.2... hate to always push people to upgrade. Anyway, there are plenty of neat new capabilities in V5.1.2. that you'll like.

Hope this helps and is good rather than bad news.

thanks

This message has been edited. Last edited by: Bob Jude Ferrante,


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

April 01, 2009, 10:51 AM
Moogle
Okay, I appreciate the response. I'm happy, because we actually have an upgrade planned around the time that the >3 Level Time Dimension is rolled out. So good!


-WebFOCUS 8.2.01 on Windows