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.
we have an issue with Across Value conditional Styling. Below is the code we are using TYPE=ACROSSVALUE, BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, BACKCOLOR=BLUE, WHEN=Compute_column EQ 1, $
This Code is not working. FYI. we are using 7.7.03 version
Regards, SanthoshThis message has been edited. Last edited by: <Kathryn Henning>,
try following code if it meets your requirement, if not then post some sample code using car file or so .. DEFINE FILE CAR COMPUTE_COLUMN/D3= IF DEALER_COST GT 20000 THEN 1 ELSE 2; END TABLE FILE CAR SUM DEALER_COST AS '' BY CAR AS '' BY COMPUTE_COLUMN ACROSS COUNTRY AS '' ON TABLE SET STYLE * TYPE=DATA, BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, BACKCOLOR=BLUE, WHEN=COMPUTE_COLUMN EQ 1, $ ENDSTYLE END
If you have multiple ACROSS fields, use ACROSS identifier to identify your values.
TABLE FILE CAR
SUM SALES
ACROSS COUNTRY
ACROSS CAR AS ''
ON TABLE SET STYLE *
TYPE=ACROSSVALUE, ACROSS=COUNTRY, BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK,BACKCOLOR=BLUE, WHEN=COUNTRY EQ 'ITALY',$
TYPE=ACROSSVALUE, ACROSS=CAR, BACKCOLOR=RED, WHEN=CAR EQ 'BMW',$
ENDSTYLE
END
Post you fex BTW, if it won't help.
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013
-*First Code DEFINE FILE CAR COMPUTE_COUNTRY/D3= IF COUNTRY EQ 'JAPAN' THEN 1 ELSE 2; END TABLE FILE CAR SUM DEALER_COST AS '' BY CAR AS '' BY COMPUTE_COUNTRY ACROSS COUNTRY AS '' ON TABLE SET STYLE * TYPE=ACROSSVALUE, BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, BACKCOLOR=YELLOW, $ ENDSTYLE END
-*Second Code - I have applied conditional styling to Japan country alone but yelow color is not applied here. -*But in the above code we are able to see the yellow color applied to report. DEFINE FILE CAR COMPUTE_COUNTRY/D3= IF COUNTRY EQ 'JAPAN' THEN 1 ELSE 2; END TABLE FILE CAR SUM DEALER_COST AS '' BY CAR AS '' BY COMPUTE_COUNTRY ACROSS COUNTRY AS '' ON TABLE SET STYLE * TYPE=ACROSSVALUE, BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, BACKCOLOR=YELLOW, WHEN=COMPUTE_COUNTRY EQ 1, $ ENDSTYLE END
Please execute the below code and understand my issue.
DEFINE FILE CAR
COMPUTE_COUNTRY/D3= IF COUNTRY EQ 'JAPAN' THEN 1 ELSE 2;
END
TABLE FILE CAR
SUM DEALER_COST AS ''
BY CAR AS ''
ACROSS COMPUTE_COUNTRY NOPRINT
ACROSS COUNTRY AS ''
ON TABLE SET STYLE *
TYPE=ACROSSVALUE, ACROSS=COUNTRY,BORDER-BOTTOM=LIGHT, BORDER-TOP=LIGHT, BORDER-COLOR=BLACK, BACKCOLOR=YELLOW, WHEN=COMPUTE_COUNTRY EQ 1, $
ENDSTYLE
END
-Rifaz
WebFOCUS 7.7.x and 8.x
Posts: 406 | Location: India | Registered: June 13, 2013