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     [SOLVED] InfoAssist -Suppress Sum Subtotal of one Column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] InfoAssist -Suppress Sum Subtotal of one Column
 Login/Join
 
Silver Member
posted
I have a report that lists currency exhange transactions. On each Trade it uses the USD exchange rate for that day to convert all the base funds to USD.
The USD Exchange rate column in the subtotal is automatically added up. I'd rather it just didn't show anything at all in the subtotal line, however I can't seem to make that happen. I've tried aggregation on the field for Average or Distinct values (AVE or DST.NOONUSDCONVERSIONRATE in the Sum section) hoping that would suppress or change the sum function for that column however the subtotal line still sums the rates.

Example:
Trade 356805 - Incoming Funds $2500.00 AUD - USD X Rate 1.0455 - USD Equivalent $2613.75
Trade 356805 - Outgoing Funds $1000.00 USD - USD X Rate 1.0000 - USD Equivalent $1000.00-
Subtotal per date.......................................2.0455..................$1613.75

I really want the Exch Rate subtotal gone, but even an average calculation would be more meaningful.

Is there any way I can suppress the subtotal for this one column using InfoAssist? Can I modify the code through InfoAssist and have it work? Here's the section of code I think is my focus:
 TABLE FILE TRADELIABILITY
SUM TRADELIABILITY.TRADELIABILITY.CREDITAMOUNT/D12.2C AS 'Deposits'
TRADELIABILITY.TRADELIABILITY.DEBITAMOUNT/D12.2C AS 'Payments'
TRADELIABILITY.TRADELIABILITY.PROPORTIONALLIABILITY/D12.2C AS 'Buy Curr,Equivalent'
TRADELIABILITY.TRADELIABILITY.__PAID_OUT/D12.2% NOPRINT
Remaining/D12.2C
AVE.TRADELIABILITY.TRADELIABILITY.NOONUSDCONVERSIONRATE/D12.6 AS 'USD X Rate'
TRADELIABILITY.TRADELIABILITY.PROPORTIONALLIABILITYUSDEQUIVALENCY/D12.2C AS 'USD Equiv,Field'
COMPUTE InUSD/D12.2=Remaining * TRADELIABILITY.TRADELIABILITY.NOONUSDCONVERSIONRATE ; AS 'USD Equiv,Calc'd'
BY TRADELIABILITY.TRADELIABILITY.BUYINGCURRENCY NOPRINT SUBHEAD
"<BUYINGCURRENCY"
BY Date SUBTOTAL 
 


Thanks in advance!

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


InfoAssist only - Version: 7703
Windows 7
Excel and PDF outputs
 
Posts: 34 | Registered: August 30, 2012Report This Post
Master
posted Hide Post
It should be
ON sortfieldname SUBTOTAL


And if you specify the fieldnames you DO want, then the others you do not mention will be suppressed.

So if you have FIELD1 FIELD2 FIELD3 and you only want to see fields 1 and 3 in the subtotal it would be:

ON sortfieldname SUBTOTAL FIELD1 FIELD3


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Silver Member
posted Hide Post
Yahoo! It works and I learned a very useful mod for InfoAssist.
Thanks George! Music


InfoAssist only - Version: 7703
Windows 7
Excel and PDF outputs
 
Posts: 34 | Registered: August 30, 2012Report 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     [SOLVED] InfoAssist -Suppress Sum Subtotal of one Column

Copyright © 1996-2020 Information Builders