Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
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