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.
This is how the data is for an year. For reference number with multiple product_Id i need to display only product_Id details with lowest Priority-Id. I have to use this data as a HOLD file for rest of the report logic.
Please give some suggestions.This message has been edited. Last edited by: FP Mod Chuck,
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
TABLE FILE PROD_REF
SUM
MIN.PRIORITY_ID WITHIN PROD_REF.PROD_REF.REF_NO AS 'MIN'
BY PROD_REF.PROD_REF.REF_NO
BY PROD_REF.PROD_REF.PRODUCT_ID
BY PROD_REF.PROD_REF.PRIORITY_ID
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE HOLD AS MIN
END
DEFINE FILE MIN
FLAG/A2 = IF(PRIORITY_ID EQ MIN) THEN 'Y' ELSE 'N';
END
TABLE FILE MIN
PRINT
FLAG
BY REF_NO
BY PRODUCT_ID
BY PRIORITY_ID
WHERE FLAG EQ 'Y'
END
Report output:-
REF_NO PRODUCT_ID PRIORITY_ID FLAG
17003014 13001 11 Y
17003278 35001 19 Y
17003332 50000 27 Y
17003679 50000 27 Y
17004196 26001 13 Y
17004971 23007 6 Y
17008132 23007 6 Y
Originally posted by Danny-SRL: Using the data you show: for Ref_no 17008132 you want to show only Product_Id 23007 because its Priority_Id is 6? And all Sale Count?
Yes @Danny-SRL.I want to show only Product_Id 23007 with its Sale Count.
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017