<?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 [Load Script] If Field A is 0 then Field B is 0 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534264#M746323</link>
    <description>&lt;P&gt;Hi, I would like another field value to change to 0 based on the first field. Something like this&lt;/P&gt;&lt;P&gt;If amount due is less than 0 then field B will be 0 then with another if condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;if([A] &amp;lt; 0, [A]) as [B],&amp;nbsp;second condition&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:40:39 GMT</pubDate>
    <dc:creator>DestinedTale</dc:creator>
    <dc:date>2024-11-16T04:40:39Z</dc:date>
    <item>
      <title>[Load Script] If Field A is 0 then Field B is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534264#M746323</link>
      <description>&lt;P&gt;Hi, I would like another field value to change to 0 based on the first field. Something like this&lt;/P&gt;&lt;P&gt;If amount due is less than 0 then field B will be 0 then with another if condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;if([A] &amp;lt; 0, [A]) as [B],&amp;nbsp;second condition&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534264#M746323</guid>
      <dc:creator>DestinedTale</dc:creator>
      <dc:date>2024-11-16T04:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: [Load Script] If Field A is 0 then Field B is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534276#M746324</link>
      <description>&lt;P&gt;If([amount due] &amp;lt; 0, 0, If(A &amp;lt; 0, A, ':')) as B&lt;/P&gt;&lt;P&gt;This should do the job.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 07:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534276#M746324</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-24T07:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Load Script] If Field A is 0 then Field B is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534278#M746325</link>
      <description>if([A] &amp;lt; 0, [A], second condition) as [B]&lt;BR /&gt;should do</description>
      <pubDate>Thu, 24 Jan 2019 07:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534278#M746325</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2019-01-24T07:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: [Load Script] If Field A is 0 then Field B is 0</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534750#M746326</link>
      <description>&lt;P&gt;I think the below syntax might work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;if(A&amp;lt;0,0,if(A&amp;gt;0,Value/Field,DefaultValue)) as B&lt;/P&gt;&lt;P&gt;From xyz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do let me know if this answers your query?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 19:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script-If-Field-A-is-0-then-Field-B-is-0/m-p/1534750#M746326</guid>
      <dc:creator>nilaksh92</dc:creator>
      <dc:date>2019-01-24T19:44:46Z</dc:date>
    </item>
  </channel>
</rss>

