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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dunnalahk123
Creator III
Creator III

Qlikview Expression

Hi,

how can i write expression for getting Average days for distinct Customer ID's.

=AVG({$<DISTINCT [Customer ID]>}[Days])

can some one help me please.

Best Regards,

HK

1 Solution

Accepted Solutions
sunny_talwar

May be this

Sum(Aggr(Avg(Days), [Customer ID]))

or this

Avg(Aggr(Avg(Days), [Customer ID]))

View solution in original post

2 Replies
sunny_talwar

May be this

Sum(Aggr(Avg(Days), [Customer ID]))

or this

Avg(Aggr(Avg(Days), [Customer ID]))

dunnalahk123
Creator III
Creator III
Author

Hi Sunny,

Thanks a lot , you are always Right 🙂

Second Condition works for my need.

Best Regards,

Hk