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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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