Focal Point
[SOLVED] Flummoxed by a basic FML report

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

March 16, 2011, 10:11 AM
Francis Mariani
[SOLVED] Flummoxed by a basic FML report
TABLE FILE BALDATA
SUM 
BALANCE AS ''
BY BRANCH

WHERE BRANCH EQ '0002'
WHERE DATE1 EQ '201102'

FOR DATAROW

TYPEA LABEL TYPEA OVER
TYPEB LABEL TYPEB OVER

RECAP TYPEHIGH = TYPEA + TYPEB;
END

I get zero for TYPEHIGH when I am expecting the sum of the two rows. What's wrong here?

Thanks,

This message has been edited. Last edited by: Francis Mariani,


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
March 16, 2011, 10:13 AM
Francis Mariani
A basic report with the CAR file works:

TABLE FILE CAR
SUM 
SALES AS ''

FOR SEATS

2 LABEL TYPEA OVER
4 LABEL TYPEB OVER

RECAP TYPEHIGH = TYPEA + TYPEB;
END



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
March 16, 2011, 10:19 AM
Francis Mariani
Solved!

For some reason, in the non-CAR report, the RECAP requires a numeric format.

(I would have deleted this whole thread, but the "Delete" option is not available in the first post.


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
March 16, 2011, 04:43 PM
Waz
Well, someone else may have the same issue, so its good to have available.

Besides, FML/FRL/FMR/SML/EMR or what ever its called now, can be a bit confusing.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!