<?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: rangesum above in a pivot with gaps in the data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/rangesum-above-in-a-pivot-with-gaps-in-the-data/m-p/1778301#M60450</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use Alt() like below&lt;/P&gt;&lt;P&gt;=Alt(Expression, 'Value If expression returns null')&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;=Alt(100/0, '0')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or try this link for more&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/Convert-Null-to-zero-in-Aggr-when-all-the-rows-has-been-excluded/td-p/128086" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/Convert-Null-to-zero-in-Aggr-when-all-the-rows-has-been-excluded/td-p/128086&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 03:14:44 GMT</pubDate>
    <dc:creator>Ksrinivasan</dc:creator>
    <dc:date>2021-01-29T03:14:44Z</dc:date>
    <item>
      <title>rangesum above in a pivot with gaps in the data</title>
      <link>https://community.qlik.com/t5/App-Development/rangesum-above-in-a-pivot-with-gaps-in-the-data/m-p/1778298#M60448</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to do a 3 month range sum in a pivot table using rangesum before -&amp;nbsp;&lt;/P&gt;&lt;P&gt;(rangesum(Before(total sum({&amp;lt;[PO Month Value]=&amp;gt;}[Total OT]),0,3)))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="suneethi_1-1611887690088.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/47962i8AFD017A7FE7F4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="suneethi_1-1611887690088.png" alt="suneethi_1-1611887690088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There are gaps in the data. Is there anyway, in case of a null measure, I can have the rangesum of the previous 2 measures and put in the place of null and also the next one to consider the 2 months where the measures were not null?&lt;/P&gt;&lt;P&gt;For example in the screen shot - first row, Jun-20 is no value. I would like to have Apr-20+May-20 (+jun-20 which is null) to be there for Jun-20, and then have may-20+jul-20 (since Jun-20 is null) for jul-20 values?&lt;/P&gt;&lt;P&gt;So basically put 0s for the gaps (jun-20) without changing in the underlying data tables.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/rangesum-above-in-a-pivot-with-gaps-in-the-data/m-p/1778298#M60448</guid>
      <dc:creator>suneethi</dc:creator>
      <dc:date>2024-11-16T17:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: rangesum above in a pivot with gaps in the data</title>
      <link>https://community.qlik.com/t5/App-Development/rangesum-above-in-a-pivot-with-gaps-in-the-data/m-p/1778301#M60450</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use Alt() like below&lt;/P&gt;&lt;P&gt;=Alt(Expression, 'Value If expression returns null')&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;=Alt(100/0, '0')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or try this link for more&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Sense-App-Development/Convert-Null-to-zero-in-Aggr-when-all-the-rows-has-been-excluded/td-p/128086" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Sense-App-Development/Convert-Null-to-zero-in-Aggr-when-all-the-rows-has-been-excluded/td-p/128086&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;ksrinivasan&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 03:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/rangesum-above-in-a-pivot-with-gaps-in-the-data/m-p/1778301#M60450</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-01-29T03:14:44Z</dc:date>
    </item>
  </channel>
</rss>

