<?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: creating an expression to sum two values together and return results greater than 1 only in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459905#M98752</link>
    <description>Thanks very much for your help Sayed! I also just had to add rangesum instead of adding the fields together:&lt;BR /&gt;&lt;BR /&gt;=if(sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE]))&amp;gt;1.5,sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE])))&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 06 Jun 2024 13:08:44 GMT</pubDate>
    <dc:creator>Mike75</dc:creator>
    <dc:date>2024-06-06T13:08:44Z</dc:date>
    <item>
      <title>creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459709#M98731</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;I'm trying to create an expression to sum two values together and return results greater than 1&lt;/P&gt;
&lt;P&gt;My expression works but it also returns null or missing values and suppressing them on the presentation tab doesn't work&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(sum([Overtime FTE])+sum([FTE])&amp;gt;1,sum([Overtime FTE])+sum([FTE]))&lt;/P&gt;
&lt;P&gt;My report also has 4 dimensions: Employee Code, Pay Period, Award Category and Hospital.&lt;/P&gt;
&lt;P&gt;The report is set up as a pivot table. It works ok as a straight table but I need to pivot by Pay Period.&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 05:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459709#M98731</guid>
      <dc:creator>Mike75</dc:creator>
      <dc:date>2024-06-06T05:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459840#M98743</link>
      <description>&lt;P&gt;Hi, try this&lt;/P&gt;
&lt;P&gt;=if(Sum({&amp;lt;PayPeriod&amp;gt;} [Overtime FTE] + [FTE]) &amp;gt; 1, Sum({&amp;lt;PayPeriod&amp;gt;} [Overtime FTE] + [FTE]))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here I use {&amp;lt;PayPeriod&amp;gt;} to apply the sum only within the selected pay period.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 09:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459840#M98743</guid>
      <dc:creator>Sayed_Mannan</dc:creator>
      <dc:date>2024-06-06T09:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459891#M98749</link>
      <description>&lt;P&gt;As far as the expression returned any valid result in regard to the vertical and horizontal dimension-values they will be displayed.&lt;/P&gt;
&lt;P&gt;Beside this - by using +- operators you will get NULL as result as far as any of the parts in NULL or not numeric. It may the intended behaviour in your case but if not you could avoid it by using something like:&lt;/P&gt;
&lt;P&gt;rangesum(Field1, Field2)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 12:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459891#M98749</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-06-06T12:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459894#M98750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/301780"&gt;@Mike75&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Check this expression :&lt;BR /&gt;&lt;BR /&gt;=If(Not IsNull(sum([Overtime FTE])) and Not IsNull(sum([FTE])) and sum([Overtime FTE]) + sum([FTE]) &amp;gt; 1, sum([Overtime FTE]) + sum([FTE]))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;***Hope this resolve your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the issue is solved please mark the answer with Accept as Solution &amp;amp; like it.***&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 12:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459894#M98750</guid>
      <dc:creator>TauseefKhan</dc:creator>
      <dc:date>2024-06-06T12:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459905#M98752</link>
      <description>Thanks very much for your help Sayed! I also just had to add rangesum instead of adding the fields together:&lt;BR /&gt;&lt;BR /&gt;=if(sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE]))&amp;gt;1.5,sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE])))&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459905#M98752</guid>
      <dc:creator>Mike75</dc:creator>
      <dc:date>2024-06-06T13:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459912#M98754</link>
      <description>&lt;P&gt;Thanks Tauseef! I'll try your method out as well but I reckon I'll need rangesum in there as in the solution below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=if(sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE]))&amp;gt;1.5,sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE])))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459912#M98754</guid>
      <dc:creator>Mike75</dc:creator>
      <dc:date>2024-06-06T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: creating an expression to sum two values together and return results greater than 1 only</title>
      <link>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459915#M98755</link>
      <description>&lt;P&gt;Thanks Marcus adding rangesum and the pay period dimension into the expression did the trick:&lt;/P&gt;
&lt;P&gt;=if(sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE]))&amp;gt;1.5,sum({&amp;lt;[PayPeriodFinYear]&amp;gt;}rangesum([Overtime FTE],[FTE])))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 13:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/creating-an-expression-to-sum-two-values-together-and-return/m-p/2459915#M98755</guid>
      <dc:creator>Mike75</dc:creator>
      <dc:date>2024-06-06T13:21:50Z</dc:date>
    </item>
  </channel>
</rss>

