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.
Here is my issue. I have two fields of data that I want to display for one across, but only one each for my other two sets of data.
TABLE FILE SQLOUT SUM TRVL_MIN/I8 AS 'TRVL' ONSITE_MIN/I8 AS 'ONSITE' BY RGN BY GM BY APS BY TECH BY POST_DY AS 'DATE' ACROSS CODE AS '' ACROSS DESCRIPTION AS '' ON RGN SUBTOTAL ON GM SUBTOTAL ON APS SUBTOTAL ON TECH SUBTOTAL AS ''
So I want to display trvl and onsite for my assigned time, but only trvl for another and only onsite for yet another. Any ideas?This message has been edited. Last edited by: Kerry,
one way of doing this is by using the -SET command. eg
-SET &ACR1=IF my assigned time THEN 'ACROSS CODE' ELSE IF other cond1 THEN 'ACROSS CODE' ELSE ''; -SET &ACR2=IF my assigned time THEN 'ACROSS CODE' ELSE IF other cond2 THEN 'ACROSS CODE' ELSE '';
TABLE FILE SQLOUT SUM TRVL_MIN/I8 AS 'TRVL' ONSITE_MIN/I8 AS 'ONSITE' BY RGN BY GM BY APS BY TECH BY POST_DY AS 'DATE' &ACR1 &ACR2 ON RGN SUBTOTAL ON GM SUBTOTAL ON APS SUBTOTAL ON TECH SUBTOTAL AS ''
WF 7.6.11 Oracle WebSphere Windows NT-5.2 x86 32bit
Something like this might work. You may need to add .EVAL to the variables (i.e., &FLG1.EVAL) in the TABLE request.
-SET &FLG1 = IF (display_condition1) OR (display_condition2) THEN ' ' ELSE '-*';
-SET &FLG2 = IF (display_condition1) OR (display_condition2) THEN ' ' ELSE '-*';
-*
TABLE FILE SQLOUT
SUM
&FLG1 TRVL_MIN/I8 AS 'TRVL'
&FLG2 ONSITE_MIN/I8 AS 'ONSITE'
BY RGN
BY GM
BY APS
BY TECH
BY POST_DY AS 'DATE'
ACROSS CODE AS ''
ACROSS DESCRIPTION AS ''
ON RGN SUBTOTAL
ON GM SUBTOTAL
ON APS SUBTOTAL
ON TECH SUBTOTAL AS ''
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Neither of those seemed to work, thanks for the input. Is there just a way to hide my columns with all zeros in it? I tried HIDENULLACRS, but I think my subtotals are interferring.