Focal Point
olap enabled reporting object

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

April 25, 2005, 06:27 PM
djackson
olap enabled reporting object
I believe I posted this before incorrectly.. if so I apologize for the double posting. Is it possible that filters can be used in an olap enabled reporting object? I would like the end user to edit their reporting object and save as a 'My Report'. If I understand the process, they should then be able to right click on My Report(which is olap enabled) and choose the filters they want to use when running the report. They run the report and it works fine--until they try to use any of the olap tools or drill down through the output data. This is the error message -

0 ERROR AT OR NEAR LINE 14 IN PROCEDURE MEMFEX FOCEXEC *
(FOC262) UNBALANCED PARENTHESES
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0
0 ERROR AT OR NEAR LINE 26 IN PROCEDURE MEMFEX FOCEXEC *
(FOC3245) ERROR ON PARSING TABLE IN OLAP

If I remove the filter I defined in the reporting object, I'm able to drill down through all the output data when running 'My Report'.

The dimension is defined in the master file, which sits in the users application folder at the server level.

This is the reporting object code I retrieved off the server -

-DEFAULT &SECTION=WHERE
-IF &SECTION EQ 'WHERE' GOTO WHERE;
-IF &SECTION EQ 'SUFFIX' GOTO SUFFIX;
-IF &SECTION EQ 'FILTER0' GOTO FILTER0;
-IF &SECTION EQ 'FILTER1' GOTO FILTER1;
-IF &SECTION EQ 'FILTER2' GOTO FILTER2;
-PREFIX
-*Other
-DEFAULT &DESIGNRUN=0, &NEWOPEN=0, &OLDOPEN=0, &RUNNING=1
-*End Other
JOIN FGBTRNH.TRNH_ORGN_CD IN FGBTRNH TO ALL FTVORGN.ORGN_CODE IN FTVORGN
AS J1
JOIN FGBTRNH.TRNH_ACCT_CD IN FGBTRNH TO ALL FTVACCT.ACCT_CODE IN FTVACCT
AS J2
DEFINE FILE FGBTRNH
END
-GOTO SKIP0
-*GROUP=Fiscal Year
-*05
-FILTER0
TRNH_FSYR_CD EQ '05'
-GOTO SKIP0
-*GROUP=Fiscal Year
-*04
-FILTER1
TRNH_FSYR_CD EQ '04'
-GOTO SKIP0
-*GROUP=Account #
-*70710
-FILTER2
TRNH_ACCT_CD EQ '70710'
-GOTO SKIP0
-WHERE
WHERE ( TRNH_FUND_CD EQ '111000' );
WHERE ( TRNH_ACCT_CD GT '60000' ) AND ( TRNH_ACCT_CD LT '79999' );
WHERE (TRNH_ORGN_CD EQ '4212');
-GOTO SKIP0
-TABLE
TABLE FILE FGBTRNH
SUM TRNH_TRN_AMT
BY TRNH_FSYR_CD
BY TRNH_ORGN_CD
BY TRNH_ACCT_CD
BY TRNH_DOC_CD
ON TABLE SET AUTODRILL ON
ON TABLE SET OLAPPANE TOP
END
-GOTO SKIP0
-GRAPH
GRAPH FILE fgbtrnh
END
-GOTO SKIP0
-SUFFIX
-*Other
-*End Other
-GOTO SKIP0
-SKIP0


Any help would be appreciated-
thanks,
Donna
May 16, 2005, 03:11 PM
djackson
fyi -- thanks for the replies I received on the olap/filters issue. I heard back from ibi that using both filters and olap tools together in a reporting object unfortunately does not work.
Donna