<?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 Re: Why one condition work when add one more condition it return wrong value ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2586#M608827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 03:13:43 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2018-01-18T03:13:43Z</dc:date>
    <item>
      <title>Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2585#M608826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hi All&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My expression below work fine :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(if([Sales Stage]='Sales_Fulfillment',(Amount)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But when i want to add one more condition , it does not give the correct result :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(if([Sales Stage]='Closed_Won' or 'Sales_Fulfillment',(Amount)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if i use and , it does not display any value. ( below expression is wrong , so cannot use and )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum(if([Sales Stage]='Closed_Won' and 'Sales_Fulfillment',(Amount)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;May i know where go wrong ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Paul Yeo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2585#M608826</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2018-01-18T03:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2586#M608827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2586#M608827</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2018-01-18T03:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2587#M608828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Sales Stage] ={'Closed_Won','Sales_Fulfillment'} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;An Pham&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2587#M608828</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2018-01-18T03:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2588#M608829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi An Pham &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it is possible to use if instead of SET ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2588#M608829</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2018-01-18T03:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2589#M608830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;P&gt;you can using If statement instead SET&lt;/P&gt;&lt;P&gt;sum(if([Sales Stage]='Closed_Won' or [Sales Stage] ='Sales_Fulfillment',(Amount)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;An Pham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2589#M608830</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2018-01-18T03:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why one condition work when add one more condition it return wrong value ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2590#M608831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much , now i know where i make the mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 03:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-one-condition-work-when-add-one-more-condition-it-return/m-p/2590#M608831</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2018-01-18T03:57:54Z</dc:date>
    </item>
  </channel>
</rss>

