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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Excluded value in set analysis

Hi to all ,

I have this expression :

=aggr ( sum ( { 1 - $ }  {<Dataven={">=$(=timestamp(div1)) <=$(=timestamp(dfv1))"}>} QtaTot ) , Id_Art )

i want to calculate the sum of QtaTot excluded by the current selection but it NOT work

Where is my mistake?

Thank

Labels (1)
2 Replies
fosuzuki
Luminary
Luminary

Try this:

=aggr ( sum ( { 1 - $ <Dataven={">=$(=timestamp(div1)) <=$(=timestamp(dfv1))"}>} QtaTot ) , Id_Art )

Anonymous
Not applicable
Author

Hi Fernando,

the sintax is correct , the problem is that take out all the value of database , is like

formula considerate 1  ( all database) and not 1-$

thank for your help