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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mert1917
Contributor III
Contributor III

aggr function

Hi everyone,

I hope you are fine:)

Can you help me with this formula(Type%-column)

How can I find the percentage distribution of Type Values according to the Aggr column?

regards..

DateUserTypeValueAggrAggr-FormulaType%Type%-Formula?
01/05/2020U1T1200900Aggr( sum(Value),Date,User)22%Aggr( sum(Value),Date,User,Type)/Aggr( sum(Value),Date,User)
01/05/2020U1T2300900 33% 
01/05/2020U1T3400900 44% 
01/05/2020U2T1200700 29% 
01/05/2020U2T2200700 29% 
01/05/2020U2T3300700 43% 
02/05/2020U1T15001000 50% 
02/05/2020U1T22001000 20% 
02/05/2020U1T33001000 30% 
02/05/2020U2T1150650 23% 
02/05/2020U2T2200650 31% 
02/05/2020U2T3300650 46% 
Labels (1)
1 Solution

Accepted Solutions
chrismarlow
Specialist II
Specialist II

Hi,

Can you not do this without AGGR, say;

Sum(Value)/sum(TOTAL <Date, User> Value)

Cheers,

Chris.

View solution in original post

2 Replies
chrismarlow
Specialist II
Specialist II

Hi,

Can you not do this without AGGR, say;

Sum(Value)/sum(TOTAL <Date, User> Value)

Cheers,

Chris.

mert1917
Contributor III
Contributor III
Author

Yess Thats great thank you Chris😊

regards