Focal Point
[CLOSED] Doing a Count and also using HIGHEST 1

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8437077396

June 29, 2020, 01:59 PM
gco7156
[CLOSED] Doing a Count and also using HIGHEST 1
Hi there,

I have a report where i am using HIGHEST 1. And i also wanted to do a count of PARENTACCOUNT. Can you please tell me how to do it?

BY LOANTRACKING.PARENTACCOUNT
BY LOANTRACKING.PARENTID
BY LOAN.TYPE
BY HIGHEST 1 ModDate

If I do SUM CNT.LOANTRACKING.PARENTACCOUNT then it ignores the HIGHEST 1 and counts the extra rows that should not be included
Thank you
Glen

This message has been edited. Last edited by: FP Mod Chuck,
June 29, 2020, 03:05 PM
David Briars
Have you tried a multi-set request?

Example against the GGSALES sample file:
TABLE FILE GGSALES
-* Count all the sales records in the file.  
COUNT SEQ_NO
-* Display the highest sales amount.  
SUM   DOLLARS 
BY HIGHEST 1 DOLLARS NOPRINT 
END  





Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster