<?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 Calculated Field Variance in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculated-Field-Variance/m-p/1602822#M44622</link>
    <description>&lt;P&gt;Hi there, hope someone can help me. I am new to Qlik Sense and am learning what to do. So I have created a pivot table with 2 columns as can be seen below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Pivot.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15520i5E1DF5513EF9FC18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Pivot.JPG" alt="Qlik Pivot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have written an expression to give me the variance:&lt;/P&gt;&lt;P&gt;Sum([Sales (inc. VAT)])/Before(Sum({&amp;lt;[Fiscal Year]&amp;gt;}[Sales (inc. VAT)])) - 1&lt;/P&gt;&lt;P&gt;But it is also applying this to the Fiscal Year 2018/19 when I don't want it to.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 15:56:32 GMT</pubDate>
    <dc:creator>R_Mitchell</dc:creator>
    <dc:date>2019-07-16T15:56:32Z</dc:date>
    <item>
      <title>Calculated Field Variance</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Field-Variance/m-p/1602822#M44622</link>
      <description>&lt;P&gt;Hi there, hope someone can help me. I am new to Qlik Sense and am learning what to do. So I have created a pivot table with 2 columns as can be seen below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Pivot.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15520i5E1DF5513EF9FC18/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Pivot.JPG" alt="Qlik Pivot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have written an expression to give me the variance:&lt;/P&gt;&lt;P&gt;Sum([Sales (inc. VAT)])/Before(Sum({&amp;lt;[Fiscal Year]&amp;gt;}[Sales (inc. VAT)])) - 1&lt;/P&gt;&lt;P&gt;But it is also applying this to the Fiscal Year 2018/19 when I don't want it to.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Field-Variance/m-p/1602822#M44622</guid>
      <dc:creator>R_Mitchell</dc:creator>
      <dc:date>2019-07-16T15:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Field Variance</title>
      <link>https://community.qlik.com/t5/App-Development/Calculated-Field-Variance/m-p/1603048#M44631</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;As an update to my post yesterday I have entered the following code to turn my null values into zeros:&lt;/P&gt;&lt;P&gt;IF(IsNull(Sum([Sales (inc. VAT)])/Before(Sum({&amp;lt;[Fiscal Year]&amp;gt;}[Sales (inc. VAT)])) - 1),0,Sum([Sales (inc. VAT)])/Before(Sum({&amp;lt;[Fiscal Year]&amp;gt;}[Sales (inc. VAT)])) - 1)&lt;/P&gt;&lt;P&gt;Which has given me the following Pivot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qlik Pivot.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15556i8B7AF36B053B39F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Pivot.JPG" alt="Qlik Pivot.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;By doing this I assumed I would be able to then use the expression box&amp;nbsp;&lt;STRONG&gt;Show column if&lt;/STRONG&gt; and use something like 'Variance' &amp;lt;&amp;gt; 0, however this has no effect. Also in Add-ons and Data handling unticking the box Include zero values has no effect either. Any suggestions would be much appreciated?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 08:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculated-Field-Variance/m-p/1603048#M44631</guid>
      <dc:creator>R_Mitchell</dc:creator>
      <dc:date>2019-07-17T08:36:24Z</dc:date>
    </item>
  </channel>
</rss>

