<?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 Qlik Sense - If Expression giving different results in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053485#M16645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension called VendorContactConflictFlag that only has the value 1 or is null.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;When using the expression below for records that do not have a value of 1 (i.e. null values), it gives the correct outcome of 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;IF(VendorContactConflictFlag=1,1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using the second expression for the same records, it does not evaluate correctly and gives a value of 'Yes'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(VendorContactConflictFlag=1,'Yes','No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any help on why this is happening!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Mar 2016 07:41:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-23T07:41:10Z</dc:date>
    <item>
      <title>Qlik Sense - If Expression giving different results</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053485#M16645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension called VendorContactConflictFlag that only has the value 1 or is null.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;When using the expression below for records that do not have a value of 1 (i.e. null values), it gives the correct outcome of 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-align: right; font-size: 10pt; line-height: 1.5em;"&gt;IF(VendorContactConflictFlag=1,1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using the second expression for the same records, it does not evaluate correctly and gives a value of 'Yes'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(VendorContactConflictFlag=1,'Yes','No')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate any help on why this is happening!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 07:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053485#M16645</guid>
      <dc:creator />
      <dc:date>2016-03-23T07:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - If Expression giving different results</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053486#M16646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u chk with the variable name alrdy declared?&amp;nbsp; twice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cntrl+Alt+V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 08:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053486#M16646</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-23T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - If Expression giving different results</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053487#M16647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you put them side by side in your application and check what you get?&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: 13.3333px; text-align: right;"&gt;&lt;STRONG&gt;IF(VendorContactConflictFlag=1,1,0) &amp;amp; ' ' &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;IF(VendorContactConflictFlag=1,'Yes','No')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you still get 0 Yes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 08:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053487#M16647</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-23T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - If Expression giving different results</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053488#M16648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the correct answer when I paste your formula in (0, No).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why this is the case - could you please enlighten me? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 03:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053488#M16648</guid>
      <dc:creator />
      <dc:date>2016-03-24T03:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense - If Expression giving different results</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053489#M16649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no idea, may be you had some not right? (Spelling mistake, Upper case/lower case issue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you now paste this -&amp;gt; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-align: right;"&gt;IF(VendorContactConflictFlag=1,'Yes','No')&lt;/STRONG&gt; it should give you no right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 10:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-If-Expression-giving-different-results/m-p/1053489#M16649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-24T10:15:53Z</dc:date>
    </item>
  </channel>
</rss>

