Focal Point
[CLOSED] Regarding Currency subtotals and grand totals

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/514103835

October 01, 2010, 12:50 PM
mahesh1982
[CLOSED] Regarding Currency subtotals and grand totals
Hi,

I am having a requirement that i need to do subtotal and grandtotal based on currency as well as customer name.

Say for example:

Table A has 10 customers, each of them has currencies 'EURO','USD', i want to display the subtotal of customer according to currencywise.Can any one help me on this by sending sample code pls.

Regards,
Mahesh

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


webfocus 7.6
Windows
Excel, HTML, PDF
October 01, 2010, 02:05 PM
Francis Mariani
Have you read the WebFOCUS manual?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
October 04, 2010, 01:01 PM
mahesh1982
Reply is really appreciated please. i want to do grant total on this.


webfocus 7.6
Windows
Excel, HTML, PDF
October 04, 2010, 04:25 PM
<JG>
Francis your'e getting as bad as me.

SORT BY CUSTOMER
SORT BY CURENCY NOPRINT
ON CURENCY SUBTOTAL

Research BY, NOPRINT and SUBTOTAL

A GRAND TOTAL is of Absolutely no value with mixed currencies
October 06, 2010, 01:08 PM
mahesh1982
Thanks, I have tried this

I have appended country and currency in a single variable and used Recompute on that variable and sort that by the variable. I am able to get subtotal. But grand total not coming. I have used ON TABLE COLUMN-TOTAL for computing grand total. Can you pls quickly help on this.Many thanks again


webfocus 7.6
Windows
Excel, HTML, PDF
October 06, 2010, 02:50 PM
GamP
Between the red < / > code tags, post the code you currently have. That way we may be able to better serve you than just guessing what it is you need.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
October 07, 2010, 01:26 PM
mahesh1982
Thanks.my example is

SUM Amount
by customer
by currency
on currency recompute
--UPTO THIS IS WORKING FINE AND CALCULATING SUBTOTAL.

ON TABLE COLUMN-TOTAL AS 'Grand Total':Amount

Can u pls tell me how to calculate grandtotal based on currencies.


webfocus 7.6
Windows
Excel, HTML, PDF
October 07, 2010, 01:42 PM
Prarie
As JG said

quote]ON CURRENCY SUBTOTAL



A GRAND TOTAL is of Absolutely no value with mixed currencies[/quote]