For more information, please refer to this announcement explaining best practices for getting answers to questions.
Getting inconsistent data from event date fields. Can anyone help explain this or how to fix this?
Summary:
While creating an analytic for the state activation and completion, by job application, it created multiple lines. To solve this, we have in the past been able to adjust the formula to be a “MAX by”, but in this case as soon as we add the second column, the data either disappears or shows on only one row for the first column created.
Please see in the image columns named State Activation 2 and State Completion 2. Both columns contain the MAX functions.
Here are the formulas being used:
State Activation 2: MAX ((CASE WHEN "Job Application History - Event Details"."Event Type Code" = 'STATE_ACTIVATION' THEN "Job Application History - Event Details"."Event Date" ELSE NULL END) BY "Job Application"."Job Application ID", "History - Phase"."Phase Id", "History - State"."State Id")