<?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: How to create a cumulative percentage by month ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726587#M475148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example with the correct formula if someone need it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 15:40:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-06T15:40:34Z</dc:date>
    <item>
      <title>How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726583#M475144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first post on the qlik community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to have the percentage of buyers of a product vs a set of product (&lt;EM&gt;{&amp;lt;Product=p(ProductParent)&amp;gt;}&lt;/EM&gt;) cumulative by month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it was not cumulative, i could use this function. : &lt;SPAN style="color: #008000;"&gt;=sum(buyer)/sum({&amp;lt;Product=p(ProductParent)&amp;gt;}buyer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemple with only 2 Months&lt;/P&gt;&lt;P&gt;January : 3 buyers vs 5 in total&lt;/P&gt;&lt;P&gt;February : 7 buyers vs 15 in total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would like to have a table with&lt;/P&gt;&lt;P&gt;January 60% (3/5)&lt;/P&gt;&lt;P&gt;February 50% ((3+7)/(5+15))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end, i should be able to select any range of Months. &lt;/P&gt;&lt;P&gt;Do you have an Idea how to proceed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For information:&lt;/P&gt;&lt;P&gt;I put Month variable in Dimension of my table but i don't think is a good idea.&lt;/P&gt;&lt;P&gt;I try to modify SetExpression but it seems it applies to all the table and not just on the Month category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't create all possibilitites of cumulative Months&lt;/P&gt;&lt;P&gt;But maybe can I create a calculated dimension which represents cumulative Month ? ==&amp;gt; but i don't know how to proceed &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answers. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726583#M475144</guid>
      <dc:creator />
      <dc:date>2014-08-06T15:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726584#M475145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried with Total in your expression ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726584#M475145</guid>
      <dc:creator>neo_lee</dc:creator>
      <dc:date>2014-08-06T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726585#M475146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide sample data or apps please...!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726585#M475146</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-06T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726586#M475147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I tried, but if i do that i will have the same result for both month which is &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;January &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;50% ((3+7)/(5+15))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;February 50% ((3+7)/(5+15))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726586#M475147</guid>
      <dc:creator />
      <dc:date>2014-08-06T15:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726587#M475148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example with the correct formula if someone need it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726587#M475148</guid>
      <dc:creator />
      <dc:date>2014-08-06T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726588#M475149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea, waiting for it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 15:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726588#M475149</guid>
      <dc:creator>neo_lee</dc:creator>
      <dc:date>2014-08-06T15:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726589#M475150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benjamin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can Achieve this result using something like this in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;Num(Num(BuyersSum)/Num(TotalSum),'#,##0%') AS Percentage;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Buyers,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;Total,&lt;/P&gt;&lt;P&gt;alt(peek(BuyersSum),0) +Buyers as BuyersSum,&lt;/P&gt;&lt;P&gt;alt(peek(TotalSum),0) +Total as TotalSum;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Month, Buyers, Total&lt;/P&gt;&lt;P&gt;January, 3, 5&lt;/P&gt;&lt;P&gt;February, 7, 15&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy the Script in your Edit Script and Run it. See the Result. It should be same as below. Also, see the Attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cumulative Sum1.bmp" class="jive-image" src="/legacyfs/online/63861_Cumulative Sum1.bmp" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726589#M475150</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-08-06T16:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726590#M475151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it's a good idea.&lt;/P&gt;&lt;P&gt;But the problem is that the user shoud be able to select other range of date&lt;/P&gt;&lt;P&gt;Example : November 2013 to March 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i don't think it could be implemented.&lt;/P&gt;&lt;P&gt;Thanks for Helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 16:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726590#M475151</guid>
      <dc:creator />
      <dc:date>2014-08-06T16:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726591#M475152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Dimension &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Month&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Expression as Below&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RangeSum(Above(COUNT(Product),0,RowNo()))/RangeSum(Above(COUNT({&amp;lt;Product = , Month = {'&amp;gt;=$(=Min(Month))&amp;lt;=$(=Max(Month))'}&amp;gt;}Product),0,RowNo()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 18:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726591#M475152</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-06T18:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726592#M475153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it look like &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;it is working fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I try to figure how it work exactly and i see if it apllies to my study.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing some tests and it seems this part of the formula is not useful :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt; , Month = {'&amp;gt;=$(=Min(Month))&amp;lt;=$(=Max(Month))'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and i think is normal, it will always return the same thing.&lt;/P&gt;&lt;P&gt;And why using this it the division and not in the numerator ?&lt;/P&gt;&lt;P&gt;Am i wrong ? is this part is mandatory ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still triyng to undersand the rest of the formula &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 07:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726592#M475153</guid>
      <dc:creator />
      <dc:date>2014-08-07T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726593#M475154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Working, still helpful ? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 08:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726593#M475154</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-08-07T08:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to create a cumulative percentage by month ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726594#M475155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, &lt;STRONG style="font-size: 14pt;"&gt;Above&lt;/STRONG&gt; function is just what I needed &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thank you a lot for you quick answer and have a nice day &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 08:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-cumulative-percentage-by-month/m-p/726594#M475155</guid>
      <dc:creator />
      <dc:date>2014-08-07T08:25:17Z</dc:date>
    </item>
  </channel>
</rss>

