Focal Point
[SOLVED] Olap on a Self-Serve report?

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

October 29, 2009, 04:35 PM
Jason K.
[SOLVED] Olap on a Self-Serve report?
We have a report that we would like to put outside in our unsecured Self-Serve (EDASERVE) environment, but we want it to have OLAP as well.

There's no checkbox or anything to do this for a fex in self-serve, is there a secret to this or am I missing something obvious?

Thanks!

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


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
October 29, 2009, 05:27 PM
GinnyJakes
Jason, if you look in the Procedure Viewer, you can select the icon that is called OLAP Dimensions and you can construct the hierarchy outside of MRE. I think it generates a -OLAP ON statement in your focexec. This should get you started.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
October 29, 2009, 05:43 PM
Jason K.
Thanks for the tip Ginny. The report runs as OLAP just fine when it's in MRE, but when we cut and paste the FOCUS code into the self-serve environment, it doesn't load with OLAP, just as a simple html report.

Do you all have OLAP reports in self serve that work? if so, maybe it's a setting?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
October 30, 2009, 10:23 AM
GinnyJakes
Here is a sample on the CAR file. It might be the -OLAP ON command.
-OLAP ON
-* File carolap.fex
OLAP DIMENSIONS
-* DIMENSIONS FILE CAR
Region: COUNTRY;
Product: CAR, MODEL, BODYTYPE;
END
TABLE FILE CAR
SUM
     BODYTYPE
     SALES
     DEALER_COST
     RETAIL_COST
BY
     COUNTRY
BY
     CAR
BY
     MODEL
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET AUTODRILL ON
ON TABLE SET OLAPPANE TOP
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='SCREEN',
     LEFTMARGIN=0.000000,
     RIGHTMARGIN=0.000000,
     TOPMARGIN=0.000000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=9,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     TOPGAP=0.013889,
     BOTTOMGAP=0.027778,
$
TYPE=TITLE,
     STYLE=BOLD,
$
ENDSTYLE
END



Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
October 30, 2009, 11:55 AM
Jason K.
Thank you for your patience Ginny.
It turns out that if you have your first line in the .fex as
-OLAP ON;
it will not work. If you use
-OLAP ON
it does work, just as your car file example showed me.

Thanks for your help on this!


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
October 30, 2009, 11:57 AM
GinnyJakes
Good to hear. We don't do much OLAP here but I always have examples to share in case someone wants to use it.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google