Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
cbaqir
Specialist II
Specialist II

AND-Mode Days Between Calculation

I am currently using the AND-Mode option but I noticed that while the correct ticket (DEFECT_ID) numbers are showing, the calculation between the selected dates is not.

When RES_STATUS_AND_MODE  Ready for Validation Prod and Validated Successfully Prod are selected for DEFECT_ID 11112, I should see a turnaround time of 0 days. However, When RES_STATUS Ready for Validation Prod and Validated Successfully Prod are selected for DEFECT_ID 11112, I see a turnaround time of 0 days but this is an OR selection and does not show those tickets that went through Both statuses.

2018-09-24_12-44-22.jpg

The calculated expression value is 20:

SUM(
Aggr(
Max(RES_STATUS_START_DATE)- Min(RES_STATUS_START_DATE)
,
DEFECT_ID)
)
/
Count({$}DISTINCT DEFECT_ID)

2018-09-24_12-47-47.jpg

12 Replies
cbaqir
Specialist II
Specialist II
Author

I am trying to show a table with the associated statuses and dates but I can't figure out why they aren't showing up correctly. If I have selected 2 statuses, I would want to see only those and their associated start dates. Any suggestions?

2018-09-26_7-43-03.jpg

swuehl
MVP
MVP

Can't see how you were trying to do this.

But maybe like this

Target Prod Release Month DEFECT_ID RES_STATUS Max({<RES_STATUS = $::RES_STATUS_AND_MODE >} RES_STATUS_START_DATE) Min({<RES_STATUS = $::RES_STATUS_AND_MODE >} RES_STATUS_START_DATE)
09/11/18 09/11/18
Sep-201811112Ready for Validation Prod09/11/1809/11/18
Sep-201811112Validated Successfully Prod09/11/1809/11/18
cbaqir
Specialist II
Specialist II
Author

Thanks. So when I disable the Avg expression, I only see the 2 rows.