Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

A where between two tables

nameticket_numberquantitydate
marie96152013-10-17
steven9652013-10-17
ann5312013-10-15
josh8852013-10-10

datewinner_number
2013-10-1796
2013-10-1553
2013-10-1088

So I have a ticket system where a person can buy as many as they want, the other table registers the winner number and the date. Is there a way to store in a variable and/or table the sum() of the quantity of winner_number given a date?

I have done this easily on mysql (Select sum(quantity) from buyer where ticket_number=winner_table.winner_number) but is giving me a hell here because I'm somewhat new.

Thanks in advance for your help.

1 Solution

Accepted Solutions
MayilVahanan

Hi

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
MayilVahanan

Hi

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Hi

It looks like the sum(quantity) as expression will give 20

Is that what you want?

Chris

preminqlik
Specialist II
Specialist II

=Sum(quantity)