<?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: different result when a specific date is selected in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1758534#M718614</link>
    <description>&lt;P&gt;What would be most helpful is if you can clarify exactly what it is you still need help with at this point, as I have no clue based upon your last two posts, and that is why I suspect others have not replied as well, you need to clarify what it is you need at this point to get further responses.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 16:32:53 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-11-04T16:32:53Z</dc:date>
    <item>
      <title>different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754039#M718608</link>
      <description>&lt;P&gt;i am calculating market share for all dates of current month but if a specific date is selected the table gives different result for the same date. as you can see in screenshot if I selected a specific Company and a date '02/10/2020' it' giving market share 0.56 in above table and in lower table it's 13.35 which is the correct market share for the date. I want to show correct figures for all the dates of the month in above table. I am not getting what is wrong because formula in both tables is same. I am attaching qvw file for reference.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sadiaasghar_0-1603190649207.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42638iB9B4375AF962820A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sadiaasghar_0-1603190649207.png" alt="sadiaasghar_0-1603190649207.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754039#M718608</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754045#M718609</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Please have a look&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 10:49:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754045#M718609</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-10-20T10:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754063#M718610</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/105825"&gt;@sadiaasghar&lt;/a&gt;&amp;nbsp; see the attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 11:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754063#M718610</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-20T11:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754074#M718611</link>
      <description>&lt;P&gt;Can you please explain what did you do in the attached solution except total&amp;lt;AppDate&amp;gt; in upper table?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 11:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754074#M718611</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-10-20T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754762#M718612</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;it didn't solve my problem.&lt;/P&gt;&lt;P&gt;Also I have to calculate cumulative sum&amp;nbsp;&lt;/P&gt;&lt;P&gt;Simple sum Expression is working&amp;nbsp; but when I apply rangesum formula to caculate Cumulative it's returning 0.&lt;/P&gt;&lt;P&gt;Sum Expression:&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Invoice Date_FKDAT]&amp;gt;aGGR(((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))}&lt;BR /&gt;&amp;gt;}[SalesMTon])))&lt;BR /&gt;-&lt;BR /&gt;((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))},&lt;BR /&gt;[Billing Type_FKART]={'S1','RE','ZRAX','ZREX','ZRFX','ZRFI','G2','ZRCO'}&amp;gt;}[SalesMTon]))))*2),[Invoice Date_FKDAT]))&lt;/P&gt;&lt;P&gt;Cumulative sum Expression:&lt;/P&gt;&lt;P&gt;=Rangesum(above(total&lt;BR /&gt;(fabs(Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))}&amp;gt;}[SalesMTon])))&lt;BR /&gt;-&lt;BR /&gt;(((fabs(Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))},[Billing Type_FKART]={'S1','RE','ZRAX','ZREX','ZRFX','ZRFI','G2','ZRCO'}&amp;gt;}[SalesMTon]))))*2),0,RowNo(total)))&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 04:00:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754762#M718612</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-10-22T04:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754795#M718613</link>
      <description>&lt;P&gt;I have updated my qlikview document. I have two measures in the same expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF(Company='ABC',&lt;BR /&gt;((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))}&lt;BR /&gt;,[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"}&amp;gt;}[SalesMTon])))&lt;BR /&gt;-&lt;BR /&gt;((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))},&lt;BR /&gt;[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"},[Billing Type_FKART]={'S1','RE','ZRAX','ZREX','ZRFX','ZRFI','G2','ZRCO'}&amp;gt;}[SalesMTon]))))*2)))&lt;BR /&gt;&lt;BR /&gt;/&lt;BR /&gt;(((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))}&lt;BR /&gt;,[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"}&amp;gt;}[SalesMTon])))&lt;BR /&gt;-&lt;BR /&gt;((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))},&lt;BR /&gt;[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"},[Billing Type_FKART]={'S1','RE','ZRAX','ZREX','ZRFX','ZRFI','G2','ZRCO'}&amp;gt;}[SalesMTon]))))*2)))&lt;BR /&gt;+&lt;BR /&gt;sum({&amp;lt;AppDate={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"},Company={'*'}&amp;gt;}TOTAL AppVolume))&lt;BR /&gt;,Sum({&amp;lt;AppDate={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"}&amp;gt;}AppVolume)&lt;BR /&gt;/&lt;BR /&gt;(((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))}&lt;BR /&gt;,[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"}&amp;gt;}[SalesMTon])))&lt;BR /&gt;-&lt;BR /&gt;((((Sum({&amp;lt;RecType={'Sales'},[Posting Status_RFBSK]={'C'},[FISCAL YEAR] = {$(=Max([FISCAL YEAR]))},[MonthNo] = {$(=Match(Month(Date(Max([Invoice Date_FKDAT]))), $(=chr(39) &amp;amp; Replace(MonthNames, ';', chr(39) &amp;amp; ',' &amp;amp; chr(39)) &amp;amp; chr(39))))},&lt;BR /&gt;[Invoice Date_FKDAT]={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"},[Billing Type_FKART]={'S1','RE','ZRAX','ZREX','ZRFX','ZRFI','G2','ZRCO'}&amp;gt;}[SalesMTon]))))*2)))&lt;BR /&gt;+&lt;BR /&gt;sum({&amp;lt;AppDate={"&amp;gt;=$(=Date(vMinDates,'DD/MM/YYYY'))&amp;lt;=$(=Date(vMaxDates,'DD/MM/YYYY'))"},Company={'*'}&amp;gt;}TOTAL AppVolume))&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 07:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1754795#M718613</guid>
      <dc:creator>sadiaasghar</dc:creator>
      <dc:date>2020-10-22T07:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: different result when a specific date is selected in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1758534#M718614</link>
      <description>&lt;P&gt;What would be most helpful is if you can clarify exactly what it is you still need help with at this point, as I have no clue based upon your last two posts, and that is why I suspect others have not replied as well, you need to clarify what it is you need at this point to get further responses.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 16:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/different-result-when-a-specific-date-is-selected-in-pivot-table/m-p/1758534#M718614</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-11-04T16:32:53Z</dc:date>
    </item>
  </channel>
</rss>

