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.
I'm attempting to perform a Count Distinct using InfoAssist version 7.7.03. I think the data source is a table in a database formatted similarly to a flat file (though I'm not 100% certain of this).
I'm trying to count distinct a tracking ID where the results column and the alert type column have certain values.
I created the formula in two steps:
1) A Define field as follows:
DEFINE OffHook = IF Result EQ 'Live Answer' OR 'Answering Machine' OR 'Answering Machine Hangup' OR 'Connected' AND AlertType NE 'I' THEN TrackingId ELSE 'NA'
2) A COMPUTE on the define field as follows:
COMPUTE UniqOffHook = CNT.DST.OffHook - 1
This formula is part of a report that contains 90-100 other DEFINE and COMPUTE formulas.
This formula seemed to work as expected for a short period of time and then inexplicably began returning elevated values (we determined that these are EXPIRED results that are not a part of our criteria for the Offhook definition).
This formula continues to work in two other reports with fewer DEFINE and COMPUTE fields.
Has anybody experienced similar issues? I feel like we need a better way to implement this logic, but we haven't come up with one yet (despite a lot of experimenting), so I welcome your suggestions.
One other note is that we cannot use filters to apply the conditions to apply the conditions because it would disrupt other calculations in the report.
Thank you very much in advance.This message has been edited. Last edited by: Tamra,
I work with T, and she has asked me to post the following:
We tried the following and it didn’t work:
IF ALERTSENT.ALERTSENT.Result EQ 'Live Answer' OR 'Answering Machine' OR 'Answering Machine Hangup' OR 'Connected' AND ALERTSENT.ALERTSENT.AlertType NE 'I' THEN ALERTSENT.ALERTSENT.TrackingId ELSE MISSING
Error message -- > (FOC171) Type of calculation is not specified on left side:
MISSING ON = IF ALERTSENT.ALERTSENT.Result EQ 'Live Answer' OR 'Answering Machine' OR 'Answering Machine Hangup' OR 'Connected' AND ALERTSENT.ALERTSENT.AlertType NE 'I' THEN ALERTSENT.ALERTSENT.TrackingId ELSE MISSING