<?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 Condition Not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029607#M936115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m writing very simple if condition and strange its not working,,pls suggest&lt;/P&gt;&lt;P&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), Cost_Center=19001,0) as TestCenter;&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;/P&gt;&lt;P&gt;i want where &lt;SPAN style="font-size: 13.3333px;"&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), will true cost centre will feed as 19001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;when i m doing below for testing its working means giving output 1 but in above giving output 0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), 1,0) as TestCenter;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pls suggest&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 13:09:13 GMT</pubDate>
    <dc:creator>abhaysingh</dc:creator>
    <dc:date>2016-02-25T13:09:13Z</dc:date>
    <item>
      <title>Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029607#M936115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I m writing very simple if condition and strange its not working,,pls suggest&lt;/P&gt;&lt;P&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), Cost_Center=19001,0) as TestCenter;&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;/P&gt;&lt;P&gt;i want where &lt;SPAN style="font-size: 13.3333px;"&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), will true cost centre will feed as 19001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;when i m doing below for testing its working means giving output 1 but in above giving output 0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if((GL_CC_Flag=1 and&amp;nbsp; (Cost_Center)= 'NA'&amp;nbsp; ), 1,0) as TestCenter;&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;pls suggest&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029607#M936115</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-02-25T13:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029608#M936116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;If(GL_CC_Flag = 1 and&amp;nbsp; Cost_Center = 'NA', '19001,0', Cost_Center) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cost_Center&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029608#M936116</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T13:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029609#M936117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can you assign &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Cost_Center=19001? Will this work?&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(GL_CC_Flag=1 and&amp;nbsp; Cost_Center= 'NA' ), 19001,Cost_Center) as &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cost_Center&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029609#M936117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029610#M936118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;even not working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029610#M936118</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-02-25T13:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029611#M936119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what error you are getting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029611#M936119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T13:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029612#M936120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The conditions are diferents;&lt;/P&gt;&lt;P&gt;Tell us what do you want to do?&lt;/P&gt;&lt;P&gt;It is a very thin error. Asing:: &lt;STRONG&gt;Cost_Center=19001, &lt;/STRONG&gt;in fact, it could be on another script, &lt;STRONG&gt;Cost_Center=0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is true?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029612#M936120</guid>
      <dc:creator />
      <dc:date>2016-02-25T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029613#M936121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No error still getting NA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029613#M936121</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-02-25T13:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029614#M936122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Do you want to assign 190001 to TestCenter when both conditions are true? If yes, then I think below should work.&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;&lt;BR /&gt;&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;if(GL_CC_Flag=1 and&amp;nbsp; Cost_Center= 'NA',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;19001&lt;/SPAN&gt;,0) as TestCenter&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029614#M936122</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-02-25T13:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029615#M936123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try this?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;GL_CC_Flag=1 ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Cost_Center= 'NA', '19001')) as &lt;STRONG style="font-style: inherit;"&gt;Cost_Center&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029615#M936123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029616#M936124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you are sure that the condition are true? Is it fullied?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 14:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029616#M936124</guid>
      <dc:creator />
      <dc:date>2016-02-25T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Not working</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029617#M936125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly share your sample data as the condition can be make properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 06:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-Not-working/m-p/1029617#M936125</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-02-26T06:57:13Z</dc:date>
    </item>
  </channel>
</rss>

