Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME 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