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: 
Not applicable

Set Analysis - sum & min

Hi,

I have the following crosstable :

qv.png

I need to add a column (look at the table below) where :

for each [GA_Date_GAA2]

     needed column = sum(Active_GAA2) / sum({<month_GAA2=min(month_GAA2)>} Active_GAA2)

excel.png

Regards,

Yacine

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hei

attch is an example

hope youll find it helpful

Not applicable
Author

thank you liron, it was helpfull but there is a small issue with that expression that I can't fix:

=sum(Value)/sum({<Month={"$(=min(Month))"}>} total <Date> Value)

the expression works only when month = 1; the "min(month)" should be calculated for each "date".