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.
You "get 0s" and you "don't want to have "--" instead of all my 0 values". What DO you want to have displayed?
This will give you blanks instead of zeros:
TABLE FILE CAR
SUM
CNT.SALES/I8S
OVER CAR
BY MODEL
ACROSS COUNTRY
ON TABLE SET NODATA '--'
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, GRID=OFF, WRAP=ON, FONT='ARIAL', SIZE=9, ORIENTATION=LANDSCAPE,$
ENDSTYLE
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
DEFINE FILE CAR
CCOUNT/D6 = 1;
END
TABLE FILE CAR
SUM
CCOUNT
OVER CAR
BY MODEL
ACROSS COUNTRY
ON TABLE SET NODATA '--'
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, GRID=OFF, WRAP=ON, FONT='ARIAL', SIZE=9, ORIENTATION=LANDSCAPE,$
ENDSTYLE
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
Just so that it is understood, when you count a field then you will always get a numeric and never a null.
If I ask you the question "How many real field values do you have? Give the answer as a numeric." and all of the field values are nulls, you should reply "zero". Does this help in understanding why you have zeroes?
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, 2004
hi everything is now wokring, however when i do a PCT. on a field i get a NODATA character instead of a NULL. which is what i need, i'm just curious as to why it works for .PCT but not for .CNT
DEFINE FILE CAR CCOUNT/D6 = 1; END
TABLE FILE CAR SUM CCOUNT OVER PCT.DEALER_COST WITHIN MODEL BY MODEL ACROSS COUNTRY
ON TABLE SET NODATA '--' END
~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~ PROD: WebFOCUS 7.1.3 on Win 2K/IIS 6/ISAPI Mode/Self-Serve Apps Only (No App Server) TEST: WebFOCUS 7.1.3 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode