<?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: Error with the result of IF() used in script. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387107#M31819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it...it was silly on my part to post it here&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;The difference in result of excel file and that of qlik was because in excel the value of x,y and z were rounded-off.&lt;/P&gt;&lt;P&gt;And that resulted in different results!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 11:12:09 GMT</pubDate>
    <dc:creator>Neymar_Jr</dc:creator>
    <dc:date>2017-09-11T11:12:09Z</dc:date>
    <item>
      <title>Error with the result of IF() used in script.</title>
      <link>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387105#M31817</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;I am using an if statement in statement which shows the wrong result.&lt;/P&gt;&lt;P&gt;The if statement that i have used is as follows - &lt;/P&gt;&lt;P&gt;if(x&amp;lt;z or y&amp;lt;z,'x or y&amp;lt; z',&lt;/P&gt;&lt;P&gt;if(x&amp;gt;z or y&amp;gt;z,'x or y&amp;gt; z','x or y = z'&lt;SPAN style="font-size: 10pt;"&gt;)) as "xyzpap".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But when i use it to create a pie-chart -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;1) "xyzpap" as Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) Sum(values).&lt;/P&gt;&lt;P&gt;It gives wrong values for 'x or y&amp;lt;z', 'x or y &amp;gt;z' and 'x or y = z'.&lt;/P&gt;&lt;P&gt;How&amp;nbsp; do i tweak the expression to get the correct result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 05:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387105#M31817</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2017-09-11T05:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error with the result of IF() used in script.</title>
      <link>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387106#M31818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't seem any issue with expression you have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible share screenshots of what you have done or Sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 08:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387106#M31818</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-09-11T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error with the result of IF() used in script.</title>
      <link>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387107#M31819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it...it was silly on my part to post it here&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;The difference in result of excel file and that of qlik was because in excel the value of x,y and z were rounded-off.&lt;/P&gt;&lt;P&gt;And that resulted in different results!&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387107#M31819</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2017-09-11T11:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error with the result of IF() used in script.</title>
      <link>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387108#M31820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's Good!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-with-the-result-of-IF-used-in-script/m-p/1387108#M31820</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-09-11T11:14:39Z</dc:date>
    </item>
  </channel>
</rss>

