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.
I don't want to show the value of a column when its equal to a particular value, like don't want to display the value of Retail_cost when Retail_cost equals 10000..
I used "white color trick", as suggested in earlier posts, but in that case when i m selecting that particular cell, it is highlighting the text there. So i cannot use "white color trick", i just want the text to disappear permanently from the desired cell i.e. no value not even '0'
guys plz help its pretty urgent..
Thanks in advance..This message has been edited. Last edited by: pink,
Thanks and Regards,
WF 7611 XFOCUS/FOCUS DB Win XP EXL2K/HTML
Posts: 37 | Location: India | Registered: September 25, 2008
Use COMPUTE to make the value MISSING when equal to your target value (e.g. the one you want to make "disappear"). Easy when you think about what you really need to do.
TABLE FILE CAR
SUM DCOST NOPRINT
COMPUTE DC/D20.2 MISSING ON = IF DCOST EQ 10000 THEN MISSING ELSE DCOST; AS DEALER_COST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
GRID=OFF, SIZE=9, $
ENDSTYLE
END
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
Thanks a lot JG and Tony for spending ur valuable time..
JG- I am just 20 days old as far as working on webfocus is concerned, i already had training, but now i think it was not that basic. You ppl saved the day for me.
Thanks and Regards,
WF 7611 XFOCUS/FOCUS DB Win XP EXL2K/HTML
Posts: 37 | Location: India | Registered: September 25, 2008
Add : SET NODATA = ' ' to change the default "." to a space (to Tony's and JG's code) so that you will see nothing instead of the period.
Or, even easier, add the S to suppress the zero in the field format as in this code: COMPUTE TempCost/D12.2MS = IF RETAIL_COST EQ 6820 THEN 0 ELSE RETAIL_COST; AS 'Dealer Cost'
PS 1: That would be WebFOCUS instead of webfocus - just FYI. Unfortunately, license plates don't accept mixed case characters. PS 2: Thanks Charlz for your insight. This message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
If '0 suppression' applies to ALL columns, can '0 suppression' be restricted to specified columns, allowing genuine 0's that you do want to be displayed in other columns ?
Another option, which is more work, but more versatile, is to convert the value to text.
TABLE FILE CAR
SUM DCOST NOPRINT
COMPUTE DC/A26 = IF DCOST EQ 10000 THEN ' ' ELSE PTOA(DCOST,'(P20.2C)','A26'); AS DEALER_COST
BY COUNTRY
BY CAR
BY MODEL
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
GRID=OFF, SIZE=9, $
TYPE=REPORT, COLUMN=DC, JUSTIFY=RIGHT, $
ENDSTYLE
END
The only issue is the nasty warning of number stored as text.