<?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 How to Combine 2 Expressions into One Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281929#M104825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain a little bit more what you mean by combine the expression&lt;/P&gt;&lt;P&gt;what the resault you are after?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 06:25:17 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2011-08-18T06:25:17Z</dc:date>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281928#M104824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;Hi Guys / QlikCommunity:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 11pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 11pt;"&gt;I have this Expression:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,Qty)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;And also this Expression:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to combine both Expressions into one Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to use Set Analysis for my Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone enlighten me how to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot guys…&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281928#M104824</guid>
      <dc:creator />
      <dc:date>2011-08-18T06:22:39Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281929#M104825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hei &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain a little bit more what you mean by combine the expression&lt;/P&gt;&lt;P&gt;what the resault you are after?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281929#M104825</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-08-18T06:25:17Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281930#M104826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Sorry guys:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forget to add this:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Qty in the first Expression is equal to the second Expression which is &lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;I need to combine both the Expression.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;Thanks Guys&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281930#M104826</guid>
      <dc:creator />
      <dc:date>2011-08-18T06:33:04Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281931#M104827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281931#M104827</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-18T06:37:55Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281932#M104828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; ok &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets give it a try &lt;/P&gt;&lt;P&gt;the first one is assuming currentDate is Varaible with the same value to all data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #5a005a; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;20,40},&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;transdate={"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;lt;$(=(#&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;2))"}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;)-&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="color: #5a005a; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;34,42},&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;transdate={"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;lt;$(=(#&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;2))"}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;the second for the case CurrentDate is a field with more then one value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #5a005a; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;20,40}&amp;gt;}if(&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;2,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;))-&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;SPAN style="color: #5a005a; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; ({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;34,42}&amp;gt;}if(&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #004d00; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="color: #4d0000; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;2,&lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: black; font-size: 9pt; font-family: &amp;amp;quot;"&gt;hope its helps you&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281932#M104828</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-08-18T06:41:17Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281933#M104829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;Hi &lt;A _jive_internal="true" href="https://community.qlik.com/people/gandalfgray"&gt;&lt;SPAN style="color: #555555;"&gt;GandalfGray&lt;/SPAN&gt;&lt;/A&gt; and Guys:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;Thanks you for your reply.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;I try your Expression &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 22px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 45px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 45px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 45px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) - &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 45px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;The result is Zero.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;No sure what happen.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;Hi &lt;A _jive_internal="true" href="https://community.qlik.com/people/roiuser"&gt;&lt;SPAN style="color: #555555;"&gt;liron baram&lt;/SPAN&gt;&lt;/A&gt;:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;I am not able to try your Expression because I am not able to use Set Analysis as I am using Qlikview 7.5.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;There must be something wrong somewhere that I just can not pin point it…&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;Could anyone please help?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt;Thanks a lot &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 45px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: Arial; color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 06:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281933#M104829</guid>
      <dc:creator />
      <dc:date>2011-08-19T06:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281934#M104830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure if this is wat you want.. but you can try this... &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(transdate &amp;lt; (CurrentDate -2), sum(Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if (invtype='20',sum(goodqty)) - if (invtype='34',sum(goodqty))) +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if (invtype='40',sum(goodqty)) - if (invtype='42',sum(goodqty)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;hope this helps... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 06:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281934#M104830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-19T06:55:05Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281935#M104831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi richardgan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you build the statement step by step and checks what part that makes you "lose" your expected data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting with:&lt;/P&gt;&lt;P style="background-color: white; padding-left: 22px;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: white; padding-left: 22px;"&gt;Make &lt;STRONG&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN lang="EN" style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;a dimension and check what you get for all invtypes&lt;/P&gt;&lt;P style="background-color: white; padding-left: 22px;"&gt;If you get zero for all invtypes from that but are expecting something else you got to find why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 07:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281935#M104831</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-19T07:09:33Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281936#M104832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi GandalfGray:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply I will try just that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi aadilmadarveet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know where the Qty come from?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;My First Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;transdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;CurrentDate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; -&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,Qty)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first Expression I have is that I need to change the Qty to the following Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: red; font-size: 9pt;"&gt;goodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;That is where I am trying to solve.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;Thank you all for your kind help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 08:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281936#M104832</guid>
      <dc:creator />
      <dc:date>2011-08-19T08:32:37Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281937#M104833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Think you can try this.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a variable for CurrentDate -2 and then use it in the expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;transdate={"&amp;lt;$(DateVariable)"}&amp;gt;} (&lt;/P&gt;&lt;P&gt;(sum (if (invtype='20',goodqty)) - sum (if (invtype='34',goodqty)))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;(sum (if (invtype='40',goodqty)) - sum (if (invtype='42',goodqty)))&lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope i understand your question and providing some valuable solution.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;aadil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281937#M104833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-22T07:39:09Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281938#M104834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;richardgan is using 7.5 and can't use set expr because of that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 07:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281938#M104834</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-08-22T07:51:04Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281939#M104835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; color: #333333;"&gt;Hi Guys and &lt;A _jive_internal="true" href="https://community.qlik.com/people/aadilmadarveet"&gt;aadilmadarveet&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; color: #333333;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; color: #333333;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/gandalfgray"&gt;GandalfGray&lt;/A&gt; is right I am not able to use Set Analysis as I am using Qlikview 7.5 and it does not support Set Analysis for that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I will need to change the Expression as it takes very long time to long and the data looks funny.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I have the answer to that I will post my scrip and Expression in this post so that others can have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you guys for the kind and great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281939#M104835</guid>
      <dc:creator />
      <dc:date>2011-08-22T08:24:51Z</dc:date>
    </item>
    <item>
      <title>How to Combine 2 Expressions into One Expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281940#M104836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys thanks you so much for your kind help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I decided to check the Expression to the following and it &lt;STRONG&gt;works&lt;/STRONG&gt; BUT there is one Big Problem.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&amp;lt;=(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;Inventorymonth1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'34'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryGoodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&amp;lt;=(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;Inventorymonth1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'20'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryGoodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'40'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;locid&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'0000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryGoodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryDate1&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #5a005a; font-size: 9pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;varcurrdate&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #00b400; font-size: 9pt; font-family: 'Courier New';"&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;invtype&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'42'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;locid&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #4d0000; font-size: 9pt;"&gt;'0000'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;InventoryGoodqty&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After checking the data. The Opening Balance should be the Closing month balance for the pervious month. The Above Expression is the Opening Balance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Closing Balance is as Follows:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;[Opening Bal]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; + &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #004d00; font-size: 9pt;"&gt;[MTD Variance] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to include the Expression for Closing Balance as the Opening Balance for the following month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any kind soul, please enlighten me.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks guys for your wonderful and helpful feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Combine-2-Expressions-into-One-Expression/m-p/281940#M104836</guid>
      <dc:creator />
      <dc:date>2011-08-22T08:36:19Z</dc:date>
    </item>
  </channel>
</rss>

