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.
Trying to count the number of unique days of activity, and display as a column next to persons name in summary. Looking at performance metrics on a daily basis.
Sample Date:
Person Step Date Completed
Bill 1 10/01/2012
Bill 2 10/02/2012
Bob 1 10/01/2012
Bob 2 10/01/2012
Bob 3 10/01/2012
Bob 4 10/01/2012
Barb 1 10/01/2012
Barb 2 10/02/2012
Barb 3 10/02/2012
Summary View:
Person Count Steps Completed Active Days
Bill 2 2
Bob 4 1
Barb 3 2
So it appears Bob is more active, completeing more steps, in less time. How do I add a count column (active days) so it counts only unique days?
ThanksThis message has been edited. Last edited by: Kerry,
TABLE FILE PERSTBL
PRINT PERSON STEP COMPDATE
BY PERSON NOPRINT BY COMPDATE NOPRINT
ON TABLE HOLD AS H1
END
-RUN
DEFINE FILE H1
DTCNT/I2 = IF PERSON NE LAST PERSON THEN 1
ELSE IF COMPDATE EQ LAST COMPDATE THEN 0 ELSE 1;
END
TABLE FILE H1
SUM CNT.DST.STEP DTCNT
BY PERSON
END
-RUN