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 email@example.com for further assistance. Reference the community FAQ to learn more about the community.
Hi, I have a scenario in which I have cloumns A,B,C,D,E and F. E and F are Compute Fields (E=A-B and F=C-D). some times E would be zero and some time F would be zero. For example if E=10 and F=0 then my output should print A, B, C, D and E only, F should not be printed because it's zero.
Can Please look into this and let me know.
Thanks, KimsThis message has been edited. Last edited by: kims,
Edit option S for your computed field will suppress printing the contents of the field when it is zero. It will not prevent the printing of the column itself. COMPUTE FIELD/I6S Will not print the zero value, but you'll still have the column (and title).
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
On thinking about a way to do this.. it appears that the only way is via two passes of the data. The first to sum up the collumns and HOLD the result. The second to drop any zero column in the HOLD file from the final report. Something like.. Table file 1 sum A B C D E F ON TABLE HOLD END -READ HOLD &A/8 &B/8 &c etc (check syntax) -IF &A EQ 0 then ' ' else ' FIELDA ; -IF &B EQ 0 ..... ... Table file 1 SUM &A &B ... BY ... ...
I have used supress column format (D20S) for the fiield which I would like to hide if the entire column(all the values in that column eq 0). This will supress the column if the value is zero, for Title I have done formating using background color. This will not hide the cloumn but the column would be blank.