<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/1803973#M1211945</link>
    <description>&lt;P&gt;If you can modify the load script, you can use a&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/preceding-load.htm" target="_self"&gt;Preceding Load &lt;/A&gt;&amp;nbsp;statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If (x&amp;lt;.5Y,Y+0.2Y) as Z;&lt;/P&gt;&lt;P&gt;load Sum(X),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum(Y)&lt;/P&gt;&lt;P&gt;From SomeTable;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 19:50:40 GMT</pubDate>
    <dc:creator>jwjackso</dc:creator>
    <dc:date>2021-04-29T19:50:40Z</dc:date>
    <item>
      <title>If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/1803766#M1211927</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I've a problem with a condition that I need to insert in a table already created.&lt;/P&gt;&lt;P&gt;I'll explain in practical terms, I've two values aggr (sum) in the table (we'll call them value X and Y) and I need to create a Z value like this:&lt;/P&gt;&lt;P&gt;If X&amp;lt;(0.5Y) then Z=Y+0.2Y ;&lt;/P&gt;&lt;P&gt;Can someone help me please?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 10:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/1803766#M1211927</guid>
      <dc:creator>gab_cerelli</dc:creator>
      <dc:date>2021-04-29T10:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: If condition</title>
      <link>https://community.qlik.com/t5/QlikView/If-condition/m-p/1803973#M1211945</link>
      <description>&lt;P&gt;If you can modify the load script, you can use a&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/preceding-load.htm" target="_self"&gt;Preceding Load &lt;/A&gt;&amp;nbsp;statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If (x&amp;lt;.5Y,Y+0.2Y) as Z;&lt;/P&gt;&lt;P&gt;load Sum(X),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum(Y)&lt;/P&gt;&lt;P&gt;From SomeTable;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 19:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-condition/m-p/1803973#M1211945</guid>
      <dc:creator>jwjackso</dc:creator>
      <dc:date>2021-04-29T19:50:40Z</dc:date>
    </item>
  </channel>
</rss>

