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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Subtotal in OLAP
 Login/Join
 
Silver Member
posted
Hi

This code below works fine.


SET SUMMARYLINES=NEW
TABLE FILE CAR
SUM
SALES
AVE.RETAIL_COST AS 'AVERAGE, RETAIL_COST'
BY COUNTRY
ON TABLE SUBTOTAL SALES AVE. RETAIL_COST
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
END


But when I try use it with OLAP

-OLAP ON
-* File aveexample1.fex
OLAP DIMENSIONS
-* DIMENSIONS FILE car
COUNTRY: COUNTRY;
END
SET SUMMARYLINES=NEW
TABLE FILE CAR
SUM
SALES
AVE.RETAIL_COST AS 'AVERAGE, RETAIL_COST'
BY COUNTRY
ON TABLE SUBTOTAL SALES AVE. RETAIL_COST
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET AUTODRILL ON
ON TABLE SET OLAPPANE TOP
END


I get the following error


0 NUMBER OF RECORDS IN TABLE= 18 LINES= 5
0 ERROR AT OR NEAR LINE 18 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC3245) ERROR ON PARSING TABLE IN OLAP



I think ON TABLE SUBTOTAL does not work with OLAP. Any help would be greatly appreciated.


Madhu

WF Version 7.1 Windows, SQL Server Database
 
Posts: 36 | Location: Mississauga, Ontario | Registered: April 12, 2007Report This Post
Virtuoso
posted Hide Post
I tried this with 7.1.4 ... it worked fine!


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Silver Member
posted Hide Post
Did you try the OLAP section of the code.

I have version 7.1.1. Could that be the problem

Thank you


Madhu

WF Version 7.1 Windows, SQL Server Database
 
Posts: 36 | Location: Mississauga, Ontario | Registered: April 12, 2007Report This Post
Platinum Member
posted Hide Post
Try
ON TABLE COLUMN-TOTAL

SUBTOTAL is for use with Sort Verbs
 
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
Sorry for the vagueness of my response.

Yes, I did successfully test the OLAP section of the code without problems.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Silver Member
posted Hide Post
HI OPALTOSH,

I tried the column-total, and AVE function doesn't seem to work with that.

DHAGEN, this is interesting. I do not know why it is not working for me.

Thank you for the responses


Madhu

WF Version 7.1 Windows, SQL Server Database
 
Posts: 36 | Location: Mississauga, Ontario | Registered: April 12, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders