Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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