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     Total Amount vs X amount

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Total Amount vs X amount
 Login/Join
 
Platinum Member
posted
Is there a way to show on a single report the following:

Total amount is Column 1
X amount is Column 2.
Percent of X from Total amount is column 3.

X, Y, and Z items would make up total amount. Is this possible? All data can be found in one table.

Thanks,

Joe


WebFocus 7.7.02 WinXP
 
Posts: 236 | Registered: May 12, 2006Report This Post
Guru
posted Hide Post
Yes, its is possible


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post
ROFL!!!

I concur with Nubi that it is possible. Research multi verb requests such as -

SUM field
BY sort1
PRINT field
BY sort1

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
this is what i was getting at- this is WebFOCUS 101 type of stuff..

i think this is the only way to learn, its much better working this stuff out than just being told an answer because that way when you have to do this again in the future you'll remember how you do it rather than remembner that the answer is in the forum somewhere....

use:

WF manuals
WF help file
WF search forum archives
experimentation

all should be available to you to support the training you had and is as much as anyone one else here has....


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Virtuoso
posted Hide Post
I support Nubi's anwer...
although it seems to be not so client friendly....

Joe: please post a bit more info, make an example of the report that is less puzzling and try to work out something based on the CAR database. That will help everybody to understand better what you'r up to...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
i agree Frank that somtimes you 'have to be mean to be nice' Big Grin

im just trying to 'help people help themselves' and rolling out all the cliches while im at it... Wink


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Expert
posted Hide Post

SET ASNAMES = ON
APP PATH ibisamp
TABLE FILE CAR
SUM SALES   AS TOTSALES
BY COUNTRY
SUM SALES COMPUTE SHARE/D4%=100*C2/C1;
BY COUNTRY BY CAR
END
-* C1 IS COLUMN 1; C2 IS COLUMN 2; Cnotation doesn't count BY fields.


i'm willing to give Joe a head start...
Its Labor Day and i'm WORKING!!! Mad




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Virtuoso
posted Hide Post
quote:
Its Labor Day and i'm WORKING!!!

It has alwyas seemed a bit odd to me - labor day and NOT working ....
I mean, isn't that what labor stands for? Wink


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
GamP,

You have to remember that Americans spell it wrong anyway Wink

T
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
TonyA,

Just because we no longer want to look as if we are FRENCH with the way words are spelled, does not mean it is spelled wrong.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
 
Posts: 398 | Registered: February 04, 2008Report This Post
Expert
posted Hide Post
Robert,

I was "fishing" as it was only tongue in cheek to see what I could catch.

Look what I landed Wink Razzer

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
American

Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 2007Report This Post
Guru
posted Hide Post
quote:
Originally posted by nubi:
American < English < French


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor
 
Posts: 285 | Location: UK | Registered: October 26, 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     Total Amount vs X amount

Copyright © 1996-2020 Information Builders