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     Adding new computed fields in OLAP report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Adding new computed fields in OLAP report
 Login/Join
 
Guru
posted
I am using OLAP to display dimensions. Is there any way to display a new column which will hold the sum of two rows of any BY column. i.e, Suppose I have count of cities of two country say AMERICA and AUSTRALIA.I want a new column as AMAUS (should be computed field) which holds the sum of cities of both country. how to achieve this in...any clue ?

Thks in advance.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
<JG>
posted
quote:
computed field


That is the correct answer.
 
Report This Post
Guru
posted Hide Post
Hi JG,
The new column AMAUS shoud be computed from the existing fields in the master file.There won't be any entry for the sum of cities of two country in database.It will dynamically calculate the values and display it in new column of the report.
Hope this helps!

Thanks.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report This Post
Virtuoso
posted Hide Post
Shankar,

You have 2 rows each of which has a count. Now you want a new column in which you have the sum of the 2 counts. So there are a number of questions:
1. How many BYs
2. Does the report have only 2 rows?
3. What does it have to do with OLAP?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Guru
posted Hide Post
Hi Danny-SRL,
The code which i am using to run the OLAP report is as:
TABLE FILE LOCDIM
SUM
CNT.CITY AS 'Number,of,Cities'
BY LOCATION_CATEGORY
BY LOCATION_GROUP
BY AREA
BY REGION
BY DISTRICT
BY EQSP

Now it is showing me count of cities sorted by different BY clauses.Is there any way to have another column which will be generated dynamically which will show me the count of cities of two AREA or REGION or other column in BY clause depending on the dimension values provided by user.
Hope u got the problem.

Thanks.


WF 8.1.04,Windows 7,
DataBase: Oracle 11g,Output :Excel,PDF,HTML
 
Posts: 281 | Location: India | Registered: April 21, 2007Report 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     Adding new computed fields in OLAP report

Copyright © 1996-2020 Information Builders