<?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: Using If Condition, the set analysis expression is not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481255#M179850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your&amp;nbsp; full expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Title='Nb_Ship',Count([TransNo)) only means,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;You didn't closed the if condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Title='Nb_Ship',Count([TransNo)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2013 13:26:30 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2013-08-09T13:26:30Z</dc:date>
    <item>
      <title>Using If Condition, the set analysis expression is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481253#M179848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below expression is not working because of exclution of -=, could you please any one suggest where its wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),&lt;/P&gt;&lt;P&gt;If(Title='Nb_Ship',Count([TransNo))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481253#M179848</guid>
      <dc:creator />
      <dc:date>2013-08-09T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using If Condition, the set analysis expression is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481254#M179849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a final ) at the end of your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),If(Title='Nb_Ship',Count([TransNo))&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression editor has a bug so -= will show a red underline. But the syntax is correct. If the expression doesn't calculate the correct result it's not because [Status]-={'A'} isn't the right syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481254#M179849</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-09T13:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using If Condition, the set analysis expression is not working</title>
      <link>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481255#M179850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your&amp;nbsp; full expression is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Title='Nb_Ship',Count([TransNo)) only means,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;You didn't closed the if condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;=If(Title='Nb_Invo',Count({$&amp;lt;[Year]={$(PY)}, [Status]-={'A'}&amp;gt;}DISTINCT [Invoice Number]),&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If(Title='Nb_Ship',Count([TransNo)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2013 13:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-If-Condition-the-set-analysis-expression-is-not-working/m-p/481255#M179850</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-08-09T13:26:30Z</dc:date>
    </item>
  </channel>
</rss>

