<?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: YTD percentage in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328326#M500262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your contribution, however, I need to work with the cumulated Tx amounts, in order to obtain a cumulative percentage on a per month basis (see the below Tx amounts for 2011). Hence my Month expression will be Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I would like to view all of the months of one year simultaneously, since I will be plotting this in a graph later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image001.png@01CC1BA7.9F496EE0"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 May 2011 11:22:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-26T11:22:28Z</dc:date>
    <item>
      <title>YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328319#M500255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate a year-to-date percentage, based on a number of value fields in my QV-model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 5 fields in my fact table T1WeightedTime through T5WeightedTime. In the below screenshot, you can see the export from my QlikView chart in the range A1:G5. The YTD values of T1 through T5 in B3:F5 are correct, so I would expect that, If I reuse these columns in my final column (col G in the below Excel sheet), the YTD percentage would be calculated correctly. However, that doesn't seem to be true: I have manually calculated the correct values in Excel in column H. For months 2 and 3 (and further if I'd show them as well, I suspect), the QlikView result does not match the manual result in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the Full Accumulation option for T1 through T5, but not for my percentage column (this would give 194.66 % for month 2 and 293.89 % for month 3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no clue on how to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image-thumbnail jive-image" height="185" onclick="" src="https://community.qlik.com/legacyfs/online/4737_Capture.JPG" style="width: 651px; height: 185.17333333333335px;" width="651" /&gt;&lt;/P&gt;&lt;P&gt;FYI; I have included the expressions for T1 through T5, and for the final column for the percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Fréderic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 06:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328319#M500255</guid>
      <dc:creator />
      <dc:date>2011-05-26T06:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328320#M500256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you Please upload the Qvw for more clearification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328320#M500256</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-26T07:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328321#M500257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qvw, as requested.&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328321#M500257</guid>
      <dc:creator />
      <dc:date>2011-05-26T07:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328322#M500258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There is no Year field in the QVW you uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please give a qvw with full data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 07:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328322#M500258</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-05-26T07:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328323#M500259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry ‘bout that. New file in attachment contains data for 2010 &amp;amp; 2011 (2 full years).&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 08:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328323#M500259</guid>
      <dc:creator />
      <dc:date>2011-05-26T08:01:48Z</dc:date>
    </item>
    <item>
      <title>YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328324#M500260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use this formula in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1 = sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {$(=max(Month))}&amp;gt;} T1WeightedTime)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2 = sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {$(=max(Month))}&amp;gt;} T2WeightedTime)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on and use these expressions to put a percentage as well.&amp;nbsp; Unfortunately I am not able to upload the modified qvw file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328324#M500260</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-05-26T11:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328325#M500261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find attached the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328325#M500261</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-05-26T11:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328326#M500262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your contribution, however, I need to work with the cumulated Tx amounts, in order to obtain a cumulative percentage on a per month basis (see the below Tx amounts for 2011). Hence my Month expression will be Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I would like to view all of the months of one year simultaneously, since I will be plotting this in a graph later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image001.png@01CC1BA7.9F496EE0"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 11:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328326#M500262</guid>
      <dc:creator />
      <dc:date>2011-05-26T11:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328327#M500263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone any thoughts?&lt;/P&gt;&lt;P&gt;F.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 08:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328327#M500263</guid>
      <dc:creator />
      <dc:date>2011-05-30T08:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD percentage</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328328#M500264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seem to have found the solution: one should use rangesums:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rangesum( sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T1WeightedTime) , Above(sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T1WeightedTime), 1, Month))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;rangesum( sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T2WeightedTime) , Above(sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T2WeightedTime), 1, Month)) -&lt;/P&gt;&lt;P&gt;rangesum( sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T3WeightedTime) , Above(sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T3WeightedTime), 1, Month)) -&lt;/P&gt;&lt;P&gt;rangesum( sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T4WeightedTime) , Above(sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T4WeightedTime), 1, Month)) -&lt;/P&gt;&lt;P&gt;rangesum( sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T5WeightedTime) , Above(sum({$&amp;lt;Year = {$(=max(Year))},&amp;nbsp; Month = {"&amp;lt;=$(=max({&amp;lt; Year={$( =max(Year) )} &amp;gt;} Month))"}&amp;gt;} T5WeightedTime), 1, Month))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 12:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-percentage/m-p/328328#M500264</guid>
      <dc:creator />
      <dc:date>2011-06-01T12:27:39Z</dc:date>
    </item>
  </channel>
</rss>

