Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
abhinayranjan11
Contributor III
Contributor III

regarding avg no. of days to a remediation date

Hi All,

I need to find avg no. of days to a remediation date,

I have used as expression if(len(RemediationDate)>0, avg (aggr(min(BusinessDate)-CreateDate),ISU_ID),null())

Dimension should be BusinessDate.

I have used this expression ,I have to pick the first date of min(business Date)-CreateDate that should be aggregated with ISU_ID  and avg of this  ,remediation date on which first time assigned.

Regards,

Abhinay

1 Reply
abhinayranjan11
Contributor III
Contributor III
Author

abhinayranjan11 wrote:

Hi All,

I need to find avg no. of days to a remediation date,

I have used as expression if(len(RemediationDate)>0, avg (aggr(min(BusinessDate)-CreateDate),ISU_ID),null())

Dimension should be BusinessDate.

I have used this expression ,I have to pick the first date of min(business Date)-CreateDate that should be aggregated with ISU_ID  and avg of this  ,remediation date on which first time assigned.

Regards,

Abhinay