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.
TABLE FILE CAR SUM SALES BY CAR ACROSS BODYTYPE END I would like to create drilldow on sales which displays the detail analysis of the sales by car and bodytype. The problem here is I want to have drilldown only if the BODYTYPE NE 'COUPE' AND CAR NE 'ALFA ROMEO'. Can any one help how to define condition for BODYTYPE NE 'COUPE' (This condition is on accross value)?
kj, use a WHEN= attribute to your drilldown statement in your style sheet. I'm not sure if WHEN=BODYTYPE NE 'COUPE' will work, but if not, then create a flag in your defines: FLAG/I1=IF BODYTYPE EQ 'COUPE' THEN 0 ELSE 1 ; and your when= statement would be FOCEXEC=fexname(..parms),WHEN=FLAG EQ 1 ,$
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
susannah, The problem here is I am not able to define two conditions. I need to define a condition BODYTYPE NE 'COUPE' AND CAR NE 'ALFA ROMEO'. But the condition syntax allows to define only one condition.
Since compound conditions are not respected with WHEN=, I would use a DEFINEd field
DRILLFLAG/I1 = IF BODYTYPE NE 'COUPE' AND CAR NE 'ALFA ROMEO' THEN 1 ELSE 0;
Then use WHEN=DRILLFLAG EQ 0
Problem is ACROSSVALUE doesn't seem to recognize WHEN conditions AT ALL! I tried it several ways and it simply doesn't work. This should be reported to support as a software bug.
The only workaround I can think of is to do the ACROSS and HOLD. Then PRINT each across field AS the value it should be. This is only going to work of course if those across value will be fixed and you know what they will be ahead of time.