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     Limited Across field values in drill down

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Limited Across field values in drill down
 Login/Join
 
Silver Member
posted
Hi can any one give suggestion for my problem.

Problem:

I have a hold file with across field and by field.I have a drill down for both title and data.When i drill down in title iam getting all my Across field values.When i drilldown in data field iam not getting all my across field vales.by field which doesnt have data for that particular Across column is not displaying.I want to display all Across field values.


here is my sample code.
TABLE FILE
COUNT
RDC
BY DEPT
ON TABLE HOLD AS HOLD1
END
TABLE FILE HOLD1
SUM
TOTALCNT
BY RDC
ACROSS DATE
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE = TITLE,
FOCEXEC =APP/FILE2
$
TYPE = DATA ,
FOCEXEC = APP/FILE2(parameter1)
$
END

Need help.
Thanks in advance.


WebFocus 7.1.4 xp html,excel,pdf
 
Posts: 44 | Registered: February 27, 2008Report This Post
Virtuoso
posted Hide Post
So you want all by field values to be displayed in all cases.
In other words, you want focus to 'invent' records.
A way to accomplish this is to use the BY columnname ROWS value OVER value OVER value ... syntax, thus creating rows for each named value.
Another way of doing this is to first create a hold file with all your by-field values, followed by a match (hold old) with all across field values.
The result will also show all by field values, and is more dynamic than the BY ROWS method.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
Souji,

  
TABLE FILE 
COUNT
RDC
BY DEPT
ON TABLE HOLD AS HOLD1
END
TABLE FILE HOLD1
SUM
TOTALCNT
BY RDC
ACROSS DATE 
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE = TITLE,
FOCEXEC =APP/FILE2
$
TYPE = DATA ,
FOCEXEC = APP/FILE2(parameter1)
$
END

Notice that the fields in your HOLD1 file are RDC and DEPT, whereas in the following TABLE FILE HOLD1 you are referencing TOTALCNT and DATE also which cannot exist in HOLD1. COuld you please be more specific?


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Silver Member
posted Hide Post
-************file1.fex***************
DEFINE FILE TABLE1
CURDATE/YYMD = '&DATEYYMD';
MINDATE/YYMD = CURDATE + 1;
MAXDATE/YYMD = CURDATE + 14;
END
TABLE FILE TABLE1
PRINT
MINDATE
MAXDATE
WHERE ACCT_D EQ '&DATEYYMD'
ON TABLE SAVE AS SAVEDATS
END

DEFINE FILE TABLE2
CU_SIZE/P9.2 = (TOT_DSTB_Q * UNIT_CU_SIZE_Q);
CARTONS/P9 = (TOT_DSTB_Q / SSP_Q);
END
TABLE FILE TABLE2
SUM
CU_SIZE
CARTONS
BY SEND_LOC_I AS RDC
BY DEPT_I
BY PUSH_D
WHERE PUSH_D GE '&PUSHMIN'
WHERE PUSH_D LE '&PUSHMAX'
ON TABLE SET ASNAMES ON
ON TABLE HOLD AS HOLD2
END
TABLE FILE HOLD2
COUNT DEPT_I
BY RDC
BY PUSH_D
ON TABLE HOLD AS HOLD2X
END
-RUN
TABLE FILE HOLD2X
COUNT RDC AS 'DCCNT'
BY PUSH_D
ON TABLE HOLD AS HOLDCCNT FORMAT FOCUS INDEX PUSH_D
END
-RUN
JOIN CLEAR *
JOIN PUSH_D IN HOLD2 TO PUSH_D IN HOLDCCNT AS JD
END

TABLE FILE HOLD2
SUM
CARTONS AS 'TOTAL,SHIP'
BY RDC
ACROSS PUSH_D
HEADING
"REPORT1"
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE = DATA ,
FOCEXEC = APP/FILE2(parameter1)
$
END


-*********file2.fex************
TABLE FILE HOLD2
SUM
CARTONS AS 'TOTAL,SHIP'
BY RDC
BY DEPT
ACROSS PUSH_D
HEADING
"REPORT2"
END


When i drill down from file1 to file 2 its not displaying all my across values.In RDC there are differen departments.when i drill down to particular drill down across push_d the data under that particular push_d was coming not all the values.

Need Help
Thanks,
Souji.


WebFocus 7.1.4 xp html,excel,pdf
 
Posts: 44 | Registered: February 27, 2008Report 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     Limited Across field values in drill down

Copyright © 1996-2020 Information Builders