<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Adding Two Statements Together! (HELP) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-Two-Statements-Together-HELP/m-p/217347#M70559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GUYS, THIS IS BASICALLY ADDING 2 IF STATEMENTS TOGETHER, I'M NOT SURE HOW TO GO ABOUT DOING THIS, PLEASE HELP! THANKS!&lt;/P&gt;&lt;P&gt;I'VE ADDED THE QLIKVIEW FILE INSIDE AS WELL.&lt;/P&gt;&lt;P&gt;THANK YOU! =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2011 03:46:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-15T03:46:41Z</dc:date>
    <item>
      <title>Adding Two Statements Together! (HELP)</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-Statements-Together-HELP/m-p/217347#M70559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI GUYS, THIS IS BASICALLY ADDING 2 IF STATEMENTS TOGETHER, I'M NOT SURE HOW TO GO ABOUT DOING THIS, PLEASE HELP! THANKS!&lt;/P&gt;&lt;P&gt;I'VE ADDED THE QLIKVIEW FILE INSIDE AS WELL.&lt;/P&gt;&lt;P&gt;THANK YOU! =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 03:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-Statements-Together-HELP/m-p/217347#M70559</guid>
      <dc:creator />
      <dc:date>2011-04-15T03:46:41Z</dc:date>
    </item>
    <item>
      <title>Adding Two Statements Together! (HELP)</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-Two-Statements-Together-HELP/m-p/217348#M70560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just replaced Duty and Tax by your if statements.&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;if(match(Seg,'BP'),money(sum(Ceil(([Price(Euros)]*if([PRODUCT_TYPE]&amp;lt;&amp;gt;'TwinCAT', Tax,1)*if([PRODUCT_TYPE]&amp;lt;&amp;gt;'TwinCAT', Duty,1)*TRANSPORT*Rate)/BP,0.5)),CurrencyFormat),&lt;BR /&gt;money(sum(Ceil((PRICE*EURO*DISCOUNT_FACTOR*1)/SUB*if([PRODUCT_TYPE]&amp;lt;&amp;gt;'TwinCAT', Tax,1)*if([PRODUCT_TYPE]&amp;lt;&amp;gt;'TwinCAT', Duty,1)*TRANSPORT*Rate/Markup,0.5)),CurrencyFormat))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;Instead of Duty, you can use if( field='Value', 1, Duty)&lt;/P&gt;&lt;P&gt;in an expression:&lt;/P&gt;&lt;P&gt;1 * Duty * 150&lt;/P&gt;&lt;P&gt;became&lt;/P&gt;&lt;P&gt;1 * if( field='Value', 1, Duty) * 150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 05:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-Two-Statements-Together-HELP/m-p/217348#M70560</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-15T05:14:01Z</dc:date>
    </item>
  </channel>
</rss>

