<?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 Evaluating the same column and overwriting if condition holds in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662183#M49723</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have a column named Qty. what i want to do is check the values in that column and overwrite it with new values based on a condition. To further explain my issue:&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col1 as Qty; //lets call this 1st iteration&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0) // here i am checking the previously set values (1st Iteration) of Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col2 as Qty; //lets call this 2nd iteration&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0)// here i am checking the previously set values (2nd Iteration) of Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col3 as Qty;&amp;nbsp;//lets call this 3rd iteration&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this possible to do in Qlik?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:21:54 GMT</pubDate>
    <dc:creator>waleeed_mahmood</dc:creator>
    <dc:date>2024-11-16T19:21:54Z</dc:date>
    <item>
      <title>Evaluating the same column and overwriting if condition holds</title>
      <link>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662183#M49723</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I have a column named Qty. what i want to do is check the values in that column and overwrite it with new values based on a condition. To further explain my issue:&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col1 as Qty; //lets call this 1st iteration&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0) // here i am checking the previously set values (1st Iteration) of Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col2 as Qty; //lets call this 2nd iteration&lt;/P&gt;&lt;P&gt;if (Len(Qty) = 0 OR Qty &amp;lt;= 0)// here i am checking the previously set values (2nd Iteration) of Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Col3 as Qty;&amp;nbsp;//lets call this 3rd iteration&lt;/P&gt;&lt;P&gt;and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this possible to do in Qlik?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662183#M49723</guid>
      <dc:creator>waleeed_mahmood</dc:creator>
      <dc:date>2024-11-16T19:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating the same column and overwriting if condition holds</title>
      <link>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662222#M49724</link>
      <description>&lt;P&gt;Not sure I understand correctly but you can some how achieve it by checking condition in multiple load&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LOAD *,
if (Len(Col2Qty) = 0 OR Col2Qty &amp;lt;= 0,Col3) as Col3Qty;
LOAD *,
if (Len(Col1Qty) = 0 OR Col1Qty &amp;lt;= 0,Col2) as Col2Qty;
LOAD *,
if (Len(Qty) = 0 OR Qty &amp;lt;= 0,Col1) as Col1Qty
FROM Table;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 02 Jan 2020 18:49:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662222#M49724</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-02T18:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating the same column and overwriting if condition holds</title>
      <link>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662224#M49725</link>
      <description>&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;I see you are making additional columns. Is it possible to assign values to the same column or maybe combine Col1Qty,&amp;nbsp;Col2Qty and&amp;nbsp;Col3Qty into Qty after calculating them?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 18:55:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662224#M49725</guid>
      <dc:creator>waleeed_mahmood</dc:creator>
      <dc:date>2020-01-02T18:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating the same column and overwriting if condition holds</title>
      <link>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662229#M49727</link>
      <description>&lt;P&gt;Technically yes. You need to concatenate all load statement of your Data keeping same Column name. But it will be better if you can post some sample data with expected output then you will get a better solution.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 19:09:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Evaluating-the-same-column-and-overwriting-if-condition-holds/m-p/1662229#M49727</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-02T19:09:52Z</dc:date>
    </item>
  </channel>
</rss>

