<?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 issue in QV pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709094#M725335</link>
    <description>&lt;P&gt;Thanks Sunny for your response but issue still exists in pivot table.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 16:13:49 GMT</pubDate>
    <dc:creator>vamshi_1241</dc:creator>
    <dc:date>2020-06-08T16:13:49Z</dc:date>
    <item>
      <title>Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1708286#M725331</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;I am facing one issue while cumulating data in Qlikview Pivot table -&lt;/P&gt;&lt;P&gt;Issue - I added week and date are columns in the pivot table.&amp;nbsp;Cumulation is working well and showing the correct numbers at the day level. If we don't drill down weeks into dates, it is showing the correct numbers at the week levels as well. If you expand any week, all other weeks are showing zeros instead of cumulative numbers.&lt;/P&gt;&lt;P&gt;Business wants to see cumulative data at week level by default and if they want they can drill down to day level. I have created a week (MON-SUN) based on the date field and added both week and date in a pivot table with a plan, org, and item as dimensions and added below expression to see cumulative data.&lt;/P&gt;&lt;P&gt;Rangesum(before(TOTAL sum(QTY), 0, columnno(TOTAL)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;Rangesum(before(TOTAL sum(QTY), 0, noofcolumns(TOTAL))).&lt;/P&gt;&lt;P&gt;I tried with the above expressions but not working well for this situation. Attaching sample data and tested qvw for reference.&lt;/P&gt;&lt;P&gt;Could you please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Vamshi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1708286#M725331</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2024-11-16T00:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1708288#M725332</link>
      <description>&lt;P&gt;I used the aboved attached qvw as binary in the Qliksense app and created a pivot table with same attributes and expression,&amp;nbsp; which is showing correctly with the above two expressions. I am facing the issue with the QV pivot table. (Business wants this report in QV only). Is there any difference between QV Pivot and QS Pivot?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12989"&gt;@Michael_Tarallo&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 08:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1708288#M725332</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-08T08:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709029#M725334</link>
      <description>&lt;P&gt;You can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(Aggr(
	RangeSum(Above(
		Sum(QTY)
	, 0, RowNo()))
, [Plan ID], [Org id], [Item Id], Date))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 08 Jun 2020 13:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709029#M725334</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-08T13:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709094#M725335</link>
      <description>&lt;P&gt;Thanks Sunny for your response but issue still exists in pivot table.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 16:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709094#M725335</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-08T16:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709102#M725336</link>
      <description>&lt;P&gt;Can you point out the issue in the image below?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35148i4B70855E9C3FC3D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 16:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709102#M725336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-08T16:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709271#M725338</link>
      <description>&lt;P&gt;Hi Sunny,&amp;nbsp;&lt;/P&gt;&lt;P&gt;data is showing wrong with the expression. The source file has data for Item - A200, Org - 100, and plan- 1 only on 6/19/2019 which week1 (6/17/2019). With the cumulative logic, it should display 2 for other dates too but with this expression, it is showing 10 for 1st week and 14 for next week. Here is the expected&amp;nbsp;output -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamshi_1241_0-1591683718880.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35188i3075DC2F04527B25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamshi_1241_0-1591683718880.png" alt="vamshi_1241_0-1591683718880.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when drilling down to day level - all other weeks are showing 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vamshi_1241_1-1591683765418.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35189i72777445BCC76C14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vamshi_1241_1-1591683765418.png" alt="vamshi_1241_1-1591683765418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 06:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709271#M725338</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-09T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709344#M725339</link>
      <description>&lt;P&gt;Is this from the qvw that I have shared? I am seeing this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35197iC76FCEB0969F4F88/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I see 6/24/2019 to show 14 even when week of 06/17/2019 is expanded....&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 11:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709344#M725339</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-09T11:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709432#M725340</link>
      <description>&lt;P&gt;If you see week 6/24,&amp;nbsp; 7/1, and so on, there is no data for those dates so it should be 2 instead of 14 for those weeks too&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 14:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709432#M725340</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-09T14:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709448#M725341</link>
      <description>&lt;P&gt;To see 2 for those, you need to expand those weeks my friend&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/35224i238A2E2CC80B71D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation.png" alt="Annotation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Sum of 7 2s across all days of 6/24/2020 adds up to 14. I guess you would want to see sum, right? or am I missing something?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 15:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709448#M725341</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-09T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709611#M725342</link>
      <description>&lt;P&gt;I am looking for cumulative data. Since we don't have after 6/19, 2 should be displayed for other dates.&lt;/P&gt;&lt;P&gt;Interestingly, I don't see any issues in Qliksense if we use this qvw as binary and using below expression pivot table.&lt;/P&gt;&lt;P&gt;Rangesum(before(TOTAL sum(QTY), 0, noofcolumn(TOTAL))&lt;/P&gt;&lt;P&gt;Not sure why this is not working in Qlikview&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 06:13:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709611#M725342</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-10T06:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709707#M725343</link>
      <description>&lt;P&gt;Now that makes sense.... try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=If(SecondaryDimensionality() = 2,

Sum(Aggr(
	RangeSum(Above(
		Sum(QTY)
	, 0, RowNo()))
, [Plan ID], [Org id], [Item Id], Date)),

Sum(Aggr(
	RangeSum(Above(
		Sum(QTY)
	, 0, RowNo()))
, [Plan ID], [Org id], [Item Id], Week))
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 10 Jun 2020 11:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1709707#M725343</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-10T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum issue in QV pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1718196#M725344</link>
      <description>&lt;P&gt;Thanks Sunny. This is working fine&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 08:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-issue-in-QV-pivot-table/m-p/1718196#M725344</guid>
      <dc:creator>vamshi_1241</dc:creator>
      <dc:date>2020-06-12T08:13:46Z</dc:date>
    </item>
  </channel>
</rss>

