<?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: If condition not working correctly for all data in data load editor in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1905294#M74641</link>
    <description>&lt;P&gt;Thanks Marcowedel.&lt;/P&gt;
&lt;P&gt;How we can verify QVD data. Because the sample data i have shared fetched from app only(QVD).&lt;/P&gt;
&lt;P&gt;In DB one column is varchar and others are number. Because of varchar column QVD is behaving like this. For some rows it is satisfying condition and some for some rows not working?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 11:31:04 GMT</pubDate>
    <dc:creator>Amita</dc:creator>
    <dc:date>2022-03-15T11:31:04Z</dc:date>
    <item>
      <title>If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904463#M74578</link>
      <description>&lt;P&gt;In data load editor while loading data created calculated column with if condition. It is a bulk data. When condition is executing for similar data some are satisfied and some are moving in default else condition. For some rows of data it is working properly.&lt;/P&gt;
&lt;P&gt;is this a Qlik issue or need to change something in data load editor?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 06:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904463#M74578</guid>
      <dc:creator>Amita</dc:creator>
      <dc:date>2022-03-14T06:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904497#M74580</link>
      <description>&lt;P&gt;if possible can u share the if logic what u r using- with some sample data&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 07:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904497#M74580</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-03-14T07:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904682#M74595</link>
      <description>&lt;P&gt;Hi Anat,&amp;nbsp; My if logic is like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;[A],&lt;BR /&gt;[B],&lt;BR /&gt;[C],&lt;BR /&gt;[D],&lt;BR /&gt;[E],&lt;BR /&gt;[F] ,&lt;BR /&gt;if(B &amp;gt;= C and C &amp;lt;= D,'No Issues',&lt;BR /&gt;if(C &amp;gt; B and C &amp;lt;= D,'Req S',&lt;BR /&gt;if(B = D and C &amp;gt; D,'Req C',&lt;BR /&gt;if(B &amp;lt; D and C &amp;gt; D,'S+C','Others')))) as STATUS,&lt;BR /&gt;if(C &amp;gt; B ,'E') as HEADLINE&lt;BR /&gt;&lt;BR /&gt;FROM [lib://QVD/xyz.qvd](qvd)&lt;BR /&gt;where not isnull(XDate) ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And attached&amp;nbsp; sample data with STATUS column calculated . You can remove that run the logic.&lt;/P&gt;
&lt;P&gt;1st row is satisfying condition "No issues" but still going in others.&lt;/P&gt;
&lt;P&gt;I want to create a donut chart so for dimension i am creating a column STATUS in data load editor.&lt;/P&gt;
&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 12:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904682#M74595</guid>
      <dc:creator>Amita</dc:creator>
      <dc:date>2022-03-14T12:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904960#M74617</link>
      <description>&lt;P&gt;Your expression does not reproduce this behaviour loading your sample data, so I guess the issue lies rather with your qvd data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1647286640339.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74435i5168A1D5CE4268B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_0-1647286640339.png" alt="MarcoWedel_0-1647286640339.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;table1:
LOAD
	[A],
	[B],
	[C],
	[D],
	[E],
    If(B &amp;gt;= C and C &amp;lt;= D,'No Issues',
    If(C &amp;gt; B and C &amp;lt;= D,'Req S',
    If(B = D and C &amp;gt; D,'Req C',
    If(B &amp;lt; D and C &amp;gt; D,'S+C','Others')))) as STATUS
 FROM [lib://DataFiles/Qlik_Com_Sample_DATA.xlsx] (ooxml, embedded labels, table is Sheet2);
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 14 Mar 2022 19:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1904960#M74617</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-03-14T19:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1905294#M74641</link>
      <description>&lt;P&gt;Thanks Marcowedel.&lt;/P&gt;
&lt;P&gt;How we can verify QVD data. Because the sample data i have shared fetched from app only(QVD).&lt;/P&gt;
&lt;P&gt;In DB one column is varchar and others are number. Because of varchar column QVD is behaving like this. For some rows it is satisfying condition and some for some rows not working?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 11:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1905294#M74641</guid>
      <dc:creator>Amita</dc:creator>
      <dc:date>2022-03-15T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: If condition not working correctly for all data in data load editor</title>
      <link>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1906327#M74710</link>
      <description>&lt;P&gt;I have resolved the issue by change varchar to num in Load statement. Now it is satisfying condition properly .&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 06:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-condition-not-working-correctly-for-all-data-in-data-load/m-p/1906327#M74710</guid>
      <dc:creator>Amita</dc:creator>
      <dc:date>2022-03-17T06:04:20Z</dc:date>
    </item>
  </channel>
</rss>

