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.
Using WebFocus Developer Studio 7.7.03 - Excel 2007 output
I am working within one table (no joins) and I am receiving duplicate records by account number because there are multiple steps completed and captured. How do I return only one record per account number, showing only the maximum or using the LAST function so I can sort the completions in order and say if the last account isn't a duplicate, define as keep, else dup.
The sequence number is really the key. The step name is not sequencial, they jump around a bit. Like in account #2, it's possible for 2 steps to be completed on the same day, but the sequencer determines which supercedes.
Thanks Tom! That seemed to do the trick. I'm not a coder, and I've never looked at the source before, so I just threw it in there and it worked. Thanks again for the quick response.
Although you have a way, another is to do a BY HIGHEST 1 on SEQUENCE and as long as there are no duplicate Sequence numbers it should work the same with PRINT or SUM.
SUM
STEP_STEP
COMP_DATE
BY ACCOUNT
BY HIGHEST 1 SEQUENCE
Thanks for your contribution, Crymsyn! There are no duplicate sequence numbers, so this method works as well, and is actually more simple and my query runs faster. Awesome! Thanks again.This message has been edited. Last edited by: reportmasterlvl3,