<?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 OR AND statements in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931726#M76775</link>
    <description>&lt;P&gt;Ohh Thank you a lot !&amp;nbsp;&lt;BR /&gt;I was trying to do this in Data Manager, so this pretty much explains the problem&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 12:18:37 GMT</pubDate>
    <dc:creator>ena1309</dc:creator>
    <dc:date>2022-05-17T12:18:37Z</dc:date>
    <item>
      <title>IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931719#M76771</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;BR /&gt;i am having trouble to create this Tableau expression in Qlik&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;IF SUM([Field1])=0 OR SUM([Field2])=0 THEN SUM([Adjustment Quantity])/1 ELSE SUM([Field1])/SUM([Field2]) END&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931719#M76771</guid>
      <dc:creator>ena1309</dc:creator>
      <dc:date>2022-05-17T12:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931720#M76772</link>
      <description>&lt;P&gt;Seems like a straightforward If() statement? See: &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/if.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ConditionalFunctions/if.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;IF(SUM([Field1])=0 OR SUM([Field2])=0 ,SUM([Adjustment Quantity]) ,SUM([Field1])/SUM([Field2]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931720#M76772</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-05-17T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931721#M76773</link>
      <description>&lt;P&gt;yeah, but i have issue with combining that with OR and AND&amp;nbsp; statements&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931721#M76773</guid>
      <dc:creator>ena1309</dc:creator>
      <dc:date>2022-05-17T12:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931723#M76774</link>
      <description>&lt;P&gt;Generally, if(Condition1 OR Condition2,When_True,When_False) is the syntax. This should work in both the Load Script Editor and in Qlik formulas (but not the Data Manager, for reasons known only to the fine folks at Qlik)&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931723#M76774</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-05-17T12:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931726#M76775</link>
      <description>&lt;P&gt;Ohh Thank you a lot !&amp;nbsp;&lt;BR /&gt;I was trying to do this in Data Manager, so this pretty much explains the problem&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931726#M76775</guid>
      <dc:creator>ena1309</dc:creator>
      <dc:date>2022-05-17T12:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: IF OR AND statements</title>
      <link>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931729#M76776</link>
      <description>&lt;P&gt;In that case, you'll need to work around the lack of AND/OR by nesting if() statements, or combine the conditions, e.g.&lt;/P&gt;
&lt;P&gt;If(Sum(Field1)*Sum(Field2) &amp;lt;&amp;gt; 0,Something, SomethingElse)&lt;/P&gt;
&lt;P&gt;might achieve the same purpose as checking each field for zero individually.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 12:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/IF-OR-AND-statements/m-p/1931729#M76776</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-05-17T12:23:42Z</dc:date>
    </item>
  </channel>
</rss>

