Focal Point
exclude a row from visualization?

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

August 27, 2007, 12:49 PM
Jason K.
exclude a row from visualization?
I have a report, with a field (Sales) that we have created 'visualization' over with a bar graph.

The problem is one of our rows has a Sales figure that is ridiculously higher than the rest of the records, so only a bar graph shows up for that field.

What we would like to do is show this row, but not include a visualized bar graph for it's sales amount. Is there any way to do this?


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
August 27, 2007, 02:26 PM
Francis Mariani
Before there was "data visualization" there was the BAR function.

DEFINE FILE CAR
SALESA/D10 = IF COUNTRY EQ 'W GERMANY' THEN 0 ELSE SALES / 1000;
END

TABLE FILE CAR
SUM
SALES/D10
COMPUTE SALES_BAR/A50 = BAR(50, SALESA, 50, '|', 'A50');        

BY COUNTRY

ON TABLE SET STYLE *
TYPE=DATA, COLUMN=SALES_BAR, COLOR=BLUE, $
END

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
August 27, 2007, 03:15 PM
Jason K.
Cool, Francis!

I'm a little concerned that if I create a define that sets sales = 0 for the 'bar' then it will also show sales as a 0.

I want to show the sales amount, but not have it considered in the data visualization.

Sorry for the confusion! wow, that bar function is pretty sweet though. lots more options than just selecting and going "visualize"


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
August 27, 2007, 03:25 PM
Francis Mariani
The BAR is applied on the Defined field SALESA, but the SALES field is displayed.


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