Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     OLAP DIMENSIONS TIPS (NEWBEE)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
OLAP DIMENSIONS TIPS (NEWBEE)
 Login/Join
 
Member
posted
Hi all,

I need to create an OLAP report and i need help regarding how the olap dimensions relate to the columns being displayed.


WF 7.1 WINXP AS400 DB2
 
Posts: 6 | Location: South Africa | Registered: June 19, 2006Report This Post
Gold member
posted Hide Post
The OLAP Dimension basically allows you to filter the data depending on the fields you specify.

e.g
OLAP DIMENSIONS
location: world,country,region;
END

will allow you to filter the data on world,then on a country and then region(individually or combination).Once you write the above code in your fex file your OLAP control panel's Dimensions Tab will show you the fields world,country,region where you can specify the value for each for filtering.

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Member
posted Hide Post
Thanks, I tried a simple olap report. The problem arises when i sort a column and then drilldown, I get no records. Please help


WF 7.1 WINXP AS400 DB2
 
Posts: 6 | Location: South Africa | Registered: June 19, 2006Report This Post
Gold member
posted Hide Post
can you post your code?

Regards,
Aditya
 
Posts: 84 | Registered: June 05, 2006Report This Post
Member
posted Hide Post
-OLAP ON

OLAP DIMENSIONS
-*DIMENSIONS FILE HOLDDCUT1
PARCEL: PARCEL_YEAR, BOX_GROUP, SALESBOX, NEW_SIZE_DSC;
VALN: VALN, DOC, DOCDSC, POT, POTDSC, NEW_SIZE_DSC;
SIZE: NEW_SIZE_GRP, NEW_SIZE_DSC;
END

TABLE FILE HOLDDCUT1
SUM CARAT
VALUE
AND COMPUTE AVP/P14.2S=VALUE/CARAT;
PCTCTS AS '% DOC'

BY PARCEL_YEAR
BY VALN
BY NEW_SIZE_GRP NOPRINT
BY NEW_SIZE_DSC
ON TABLE SUMMARIZE
ON VALN RECOMPUTE CARATS AVP VALUE AS '*VALN TOTAL:'
ON TABLE SET PAGE-NUM OFF
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 *


WF 7.1 WINXP AS400 DB2
 
Posts: 6 | Location: South Africa | Registered: June 19, 2006Report This Post
Gold member
posted Hide Post
I am not sure how much this will help.But you can try a hold on your table -

e.g.

select query;

TABLE FILE SQLOUT
PRINT
*
ON TABLE HOLD AS HOLD2
END

and before this just FILEDEF your hold file.so your entire code will look like this -

==============================
APP PATH BASEAPP yourparentfoldername
-RUN

FILEDEF HOLD2 DISK HOLD2.FTM (APPEND
-RUN

ENGINE DB2 SET DEFAULT_CONNECTION databasename
SQL DB2

your sql query here if u are using one;

APP HOLDMETA yourparentfoldername
APP HOLDDATA yourparentfoldername


TABLE FILE SQLOUT
PRINT
*
ON TABLE HOLD AS HOLD2
END

TABLE FILE HOLD2
PRINT *
ON TABLE HOLD FORMAT FOCUS AS DDD
END

TABLE FILE DDD
PRINT *
ON TABLE HOLD FORMAT FOCUS AS HABC
END
-RUN

APP HABC BASEAPP/HABC.FTM
-OLAP ON

OLAP DIMENSIONS
your dimensions here
END

TABLE FILE HABC
PRINT *

ON TABLE SET AUTODRILL ON
END
 
Posts: 84 | Registered: June 05, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     OLAP DIMENSIONS TIPS (NEWBEE)

Copyright © 1996-2020 Information Builders