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: 
theboss-123
Creator II
Creator II

Sum with multiple criteria on the same field

Hello i want to calculate sum of "Quantité" where ID_Transaction are 1 and 3 i set the below formula but it is not working

u used the formula : 

=sum({$ < [ID_Transaction] = {"1"},[ID_Transaction] ={"3"} >}[Qantité] )

theboss123_1-1652824866261.png

 

when i select Item " DIS001" and the date 03/01/2016 it return just

theboss123_2-1652824914566.png

it calculated just sum Quantité of ID 3

 

 

 

 

Labels (1)
1 Solution

Accepted Solutions
theboss-123
Creator II
Creator II
Author

Thanks it solved using the formula

 

=sum({$ < [ID_Transaction] = {"1","3"} >}[Qantité] )

View solution in original post

2 Replies
Vegar
MVP
MVP

I think this will help you get what you want.

=sum({$ < [ID_Transaction] = {"1", "3"} >}[Qantité] )

theboss-123
Creator II
Creator II
Author

Thanks it solved using the formula

 

=sum({$ < [ID_Transaction] = {"1","3"} >}[Qantité] )