<?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: Percentage calculation using variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964764#M952244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil, i am getting a blank with your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 15:52:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-23T15:52:13Z</dc:date>
    <item>
      <title>Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964755#M952222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following two variables with the values tested in text boxes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="106460" alt="Screen Shot 2015-11-23 at 17.16.13.png" class="jive-image image-1" src="/legacyfs/online/106460_Screen Shot 2015-11-23 at 17.16.13.png" style="height: auto;" /&gt;&lt;IMG __jive_id="106461" alt="Screen Shot 2015-11-23 at 17.15.57.png" class="jive-image image-2" src="/legacyfs/online/106461_Screen Shot 2015-11-23 at 17.15.57.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get the % change from current versus the previous as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx) - 1 and formatted as a percentage in number tab option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should give -1.56% but i am getting a different value (-.99999).&amp;nbsp; My expression above should be the problem.&amp;nbsp; Kindly assist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Christopher Chitemerere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964755#M952222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964756#M952223</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;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=NUM($(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx) *- 1,'&lt;SPAN style="font-size: 13.3333px;"&gt;#,##0.00&lt;/SPAN&gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:27:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964756#M952223</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-23T15:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964757#M952225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;if your variable are holding numbers i.e they variable expression starts with '=' sign &lt;/P&gt;&lt;P&gt;you might want to try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(vSetCurrentAvRevRx/vSetPreviousAvRevRx - 1 ,'##0.00%')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964757#M952225</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2015-11-23T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964758#M952230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark for your contribution. The expression gives a blank result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964758#M952230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964759#M952233</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;Could be like Liron has suggested, try the below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964759#M952233</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-23T15:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964760#M952235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Liron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your suggestion gives a blank.&amp;nbsp; The expressions are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Current&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[MedAid Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;)) + Num(Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: maroon;"&gt;[Shortfall]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;)), '$##,##0.00')/Num(Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;&amp;gt;}Rx), '#,##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; Previous&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: Arial; color: black;"&gt;Num((Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[MedAid Amount])) + Num(Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[Shortfall])), '$##,##0.00')/Num(Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}Rx), '#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964760#M952235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964761#M952238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(($(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx))-1,'# ##0,00 %') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;With your expressions, it should be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;Num(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: blue; font-family: Arial; font-size: 9pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial; font-size: 9pt;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: Arial; font-size: 9pt;"&gt;[MedAid Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;) +Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial; font-size: 9pt;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: maroon; font-family: Arial; font-size: 9pt;"&gt;[Shortfall]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;))/Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="color: gray; font-family: Arial; font-size: 9pt;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;&amp;gt;}Rx))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;((Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[MedAid Amount]) + Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[Shortfall]))/Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}Rx)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;'# ##0,00 %')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;Or maybe &lt;SPAN lang="EN-US" style="color: black; font-family: Arial; font-size: 9pt;"&gt;'# ##0.00 %'&lt;/SPAN&gt; it depends on your number format&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964761#M952238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964762#M952240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;=($(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx) )- 1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964762#M952240</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-23T15:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964763#M952242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, this does not seem to work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964763#M952242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964764#M952244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil, i am getting a blank with your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964764#M952244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T15:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964765#M952245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Chirstopher, Add equal sign like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=($(=vSetCurrentAvRevRx)/$(=vSetPreviousAvRevRx) )- 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or you can prefix equal sign (=) before num syntax in your both current and previous expressions and try below&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=($(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx) )- 1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 15:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964765#M952245</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-23T15:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964766#M952247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are your sure that your variables are correct.&lt;/P&gt;&lt;P&gt;Test them in case of&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964766#M952247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T16:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964767#M952248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christopher&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here a qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;chrisitan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964767#M952248</guid>
      <dc:creator />
      <dc:date>2015-11-23T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964768#M952249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil, i get an error:&amp;nbsp; Error in expression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964768#M952249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T16:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964769#M952250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values returned by the variables are give in the textboxes posted in my initial post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964769#M952250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T16:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964770#M952251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, you are on the right track you missed the -1 and should be as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;Num(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #6d6d6d;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #6b0001;"&gt;[MedAid Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;) +Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #6d6d6d;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #6b0001;"&gt;[Shortfall]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;))/Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #6d6d6d;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;&amp;gt;}Rx))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 13.0pt; font-family: 'Helvetica Neue'; color: #2e2e2e;"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;((Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[MedAid Amount]) + Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[Shortfall]))/Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}Rx)) - 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;'# ##0,00 %')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12.0pt; font-family: Arial; color: #2e2e2e;"&gt;This give the correct value as posted in my initial post.&amp;nbsp; I am however looking as using the variables.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="#" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964770#M952251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T16:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964771#M952252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok.Did you try the second solution. Go to variable window and add equal sign in your expressions like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: blue;"&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;Num&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[MedAid Amount]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;)) + Num(Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: maroon;"&gt;[Shortfall]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;)), '$##,##0.00')/Num(Sum({$&amp;lt;&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN lang="EN-US" style="font-weight: inherit; font-style: inherit; font-size: 9pt; font-family: Arial; color: gray;"&gt;$(vSetMTD)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;&amp;gt;}Rx), '#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Previous&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;Num((Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[MedAid Amount])) + Num(Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}[Shortfall])), '$##,##0.00')/Num(Sum({$&amp;lt;$(vSetPreviousMonth)&amp;gt;}Rx), '#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 9pt; font-family: Arial; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: black; font-style: inherit; font-size: 10pt; font-family: Arial;"&gt;And try&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN lang="EN-US" style="font-style: inherit; font-size: 10pt; font-family: Arial; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=($(vSetCurrentAvRevRx)/$(vSetPreviousAvRevRx) )- 1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 16:28:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964771#M952252</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-23T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964772#M952253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Christian, i will look at the qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 17:20:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964772#M952253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T17:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Percentage calculation using variables</title>
      <link>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964773#M952254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tamil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried the second option above and gives a blank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 18:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Percentage-calculation-using-variables/m-p/964773#M952254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-23T18:42:42Z</dc:date>
    </item>
  </channel>
</rss>

