Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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