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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
WebFocus report
 Login/Join
 
Member
posted
I have a report with calculated percent displayed. This calculated fields are in a matrix report with FOR clause. I tried to change some of this data to 'N/A' but failed. Please advise how. See the codes.

DEFINE FILE DLHCMR4_RELEASE4
COL_DEF/A35 =
IF CARD_TYPE_MEMBER EQ 'CT.DLCARD_V1' THEN 'DL' ELSE
IF CARD_TYPE_MEMBER EQ 'CT.HCARD_V1' THEN 'HC'
ELSE ' ';
END
TABLE FILE DLHCMR4_RELEASE4
SUM
ITEM_COUNT/I9C AS ' '
ACROSS
COL_DEF AS ' '
FOR
EVENTS_MEMBER
'ES.CPCBATCH_S' AS 'Orders Received by CPC' LABEL R1 OVER
'FPS_CARD_DAMAGED' OR 'FPS_DATA_QUALITY' OR 'FPS_IMAGE_QUALITY' OR 'FPS_INC_DATA' OR 'FPS_SIGNATURE_QUALITY' AS 'Final Production Failures *' LABEL R2 OVER
'ES.MAIL_S' OR 'ES.MAIL_P' AS 'Mailed' LABEL R3 OVER
'ER.REQ_CANCEL' AS 'Cancelled via Online Pull' LABEL R4 OVER
'FPS_CARD_DAMAGED' OR 'FPS_DATA_QUALITY' OR 'FPS_IMAGE_QUALITY' OR 'FPS_INC_DATA' OR 'FPS_SIGNATURE_QUALITY' OR 'ES.MAIL_S' OR 'ES.MAIL_P' OR 'ER.REQ_CANCEL' AS 'Total Orders Processed' LABEL R5 OVER
RECAP R6=(R1-R5); AS 'Outage **' OVER
'ES.QA_LVL_2_F' OR 'ES.QA_LVL_2_S' AS ' ' LABEL R7 NOPRINT OVER
COMPUTE HEALTH_QA_OUT/D5.2%L = 100 * ( R7 / R1 ); AS 'Health Level 2 QA %'
WHERE ( CARD_TYPE_MEMBER EQ 'CT.DLCARD_V1' OR 'CT.HCARD_V1' ) AND (ORDER_BATCH_MEMBER EQ '&WH_CRI');


WebFOCUS 766
Windows XP
Output: HTML, PDF or Excel, per users' preference
 
Posts: 15 | Registered: October 19, 2007Report This Post
Virtuoso
posted Hide Post
Which field...and What are you trying to accomplish with the N/A?


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
If the field you want to have N/A in is one with missing information, have you tried the
SET NODATA = 'N/A' option?


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Guru
posted Hide Post
Agnes,

Is this what you want?

DEFINE FILE DLHCMR4_RELEASE4
COL_DEF/A35 MISSING ON=
IF CARD_TYPE_MEMBER EQ 'CT.DLCARD_V1' THEN 'DL' ELSE
IF CARD_TYPE_MEMBER EQ 'CT.HCARD_V1' THEN 'HC'
ELSE MISSING;
END


Used in combination with:

SET NODATA = 'N/A'


You will get N/A for this column.

Fernando


Prod WF 8.1.04, QA WF 8.2.03, Dev WF 8.2.03
 
Posts: 278 | Registered: October 10, 2006Report This Post
Member
posted Hide Post
The fields under the column 'DL' and row total column are intended to display 'N/A' for the row labeled 'Health Level 2 QA %' while the field HEALTH_QA_OUT is intended for display only in the column of 'HC' on that row.


WebFOCUS 766
Windows XP
Output: HTML, PDF or Excel, per users' preference
 
Posts: 15 | Registered: October 19, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders