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     Drill down doesn't work with "FOR" field

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Drill down doesn't work with "FOR" field
 Login/Join
 
Gold member
posted
When I try to do a drill down on an EMR report, I need to pass the value of the field used in the "FOR" construct to the fex used in the drilldown. See example code:

SUM FIELD1 FIELD2
ACROSS FIELD3
FOR FIELD4 value1
value2

ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=FIELD1, FOCEXEC=availgen(COMMAND_PARM=FIELD3 MDS_PARM=FIELD4 TYPERPT='*** '),$
END
END

The value for field4 never gets passed. Any help would be appreciated....Kelly
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report This Post
Expert
posted Hide Post
You may need to refer to the column positionally instead of by column name - something to do with FRL:

SUM FIELD1 FIELD2
ACROSS FIELD3
FOR FIELD4 value1
value2

ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=FIELD1, FOCEXEC=availgen(COMMAND_PARM=FIELD3 MDS_PARM=C2 TYPERPT='*** '),$
END
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Guru
posted Hide Post
Here is another way to do it (Francis beat me to it):
TABLE FILE CAR<br />SUM
 RETAIL_COST
DEALER_COST<br /> ACROSS
COUNTRY<br />FOR   
CAR'TOYOTA' OVER
'PEUGEOT' OVER
BMW'<br />ON TABLE SET STYLE *
TYPE=DATA, ACROSSCOLUMN=RETAIL_COST, FOCEXEC=fexname(var1=COUNTRY var2=p1),$
ENDSTYLE END
-RUN

This message has been edited. Last edited by: <Mabel>,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Gold member
posted Hide Post
Thanks all. Both solutions worked. Now I have to decide which one to use. It's always something. ;-)
 
Posts: 90 | Location: Tinker AFB | Registered: June 03, 2003Report 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     Drill down doesn't work with &quot;FOR&quot; field

Copyright © 1996-2020 Information Builders