Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
bwillis0802
Contributor
Contributor

Conditional IF Statement

I am attempting to calculate the Sum of a group of receipts for multiple markets. However there are 2 markets in which I need the Sum cut in half.

I have tried several nested IF statements so that those 2 are always cut in half, and the sum of all are brought in but have yet to figure it out.

Any ideas?

Labels (1)
1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Sum(If(Match(Market, 'MarketA', 'MarketB') Receipts/2, Receipts))

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com