Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Computed Field on SUBFOOT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Computed Field on SUBFOOT
 Login/Join
 
Platinum Member
posted
Hi all, I have a FEX with a GrandTotal and a SUBFOOT. I want to have a calculated value appear in the SUBFOOT but all I get are zeroes.

This is how the field gets calulated:
COMPUTE DPL%_WTD/D5.1% = IF DTY_WTD NE 0 THEN (DTY_WTD - DPL_WTD) / DPL_WTD * 100 ELSE 0; NOPRINT[/code]But when I try to use in the SUBFOOT, all I get is zero. Any Ideas?
ON TABLE SUBFOOT
"NON-HOUSE:<0+>

This message has been edited. Last edited by: <Mabel>,
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
Guru
posted Hide Post
Take a look at the following posts:
https://forums.informationbuilders.com/eve/forums/a/...001097331#5001097331

I think all you may have to use is <ST.fieldname

This message has been edited. Last edited by: <Mabel>,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Platinum Member
posted Hide Post
Thanks Curtis I figured that out probably right after I posted....now...how can I get my negatives in that subfoot to show red?
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
<Pietro De Santis>
posted
Not sure, but you may try the following:

TYPE=DATA, ITEM=2, COLOR=RED, WHEN= ST.field-name LT 0, $
TYPE=DATA, ITEM=3, COLOR=RED, WHEN= ST.field-name LT 0, $
...
 
Report This Post
Platinum Member
posted Hide Post
Pietro, that didnt work I have also tried:

TYPE=FOOTING, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DPL%_WTD LT 0,$
TYPE=TABFOOTING, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DLY%_WTD LT 0,$

and none worked.....
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
<Pietro De Santis>
posted
Sorry, I did mean SUBFOOT.

TYPE=SUBFOOT, ITEM=2, COLOR=RED, WHEN= ST.field-name LT 0, $
TYPE=SUBFOOT, ITEM=3, COLOR=RED, WHEN= ST.field-name LT 0, $
...
 
Report This Post
Platinum Member
posted Hide Post
No, that didn't work either. SUBFOOT isn't an acccepted type.

Actually, I've got the syntax to turn everything RED figured out, it's just the "WHEN" clause that isn't working correctly, does anyone know if this allowed or not?

This is basically how I'm trying to do it, the first line will turn on RED regardless of the value, the second line doesn't appear to work because of the WHEN clause.


TYPE=TABFOOTING, OBJECT=FIELD, ITEM=4,COLOR='RED',STYLE=NORMAL,$
TYPE=TABFOOTING, OBJECT=FIELD, ITEM=5,COLOR='RED',STYLE=NORMAL,WHEN=ST.DLY%_WTD LT 0,$

This message has been edited. Last edited by: <Mabel>,
 
Posts: 157 | Location: Secaucus, NJ | Registered: May 21, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Computed Field on SUBFOOT

Copyright © 1996-2020 Information Builders