<?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 percentage variable based on two other variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694811#M1078208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand, Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 09:16:41 GMT</pubDate>
    <dc:creator>bashar_f</dc:creator>
    <dc:date>2014-07-17T09:16:41Z</dc:date>
    <item>
      <title>How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694806#M1078203</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;I have 2 variables, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vApplicationsCount&amp;nbsp; = Count(Apps)&lt;/P&gt;&lt;P&gt;vEnrolmentCount = Sum(Enrol_Status)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so basically in the end they are two numbers.&lt;/P&gt;&lt;P&gt;I need to create a new variable that is equal to the percentage of&amp;nbsp; enrolments over applications?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;% of Enr/Apps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would the definition be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694806#M1078203</guid>
      <dc:creator>bashar_f</dc:creator>
      <dc:date>2014-07-17T08:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694807#M1078204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vNewVar = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(Apps)&lt;/SPAN&gt;/&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(Enrol_Status)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vNewVar = $(&lt;/SPAN&gt;vApplicationsCount)&amp;nbsp; / $(vEnrolmentCount )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 08:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694807#M1078204</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-07-17T08:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694808#M1078205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just because of percentage&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vNewVar = NUM($(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vApplicationsCount)&amp;nbsp; / $(vEnrolmentCount ), '#,##0%' ) Or you can use formatting from Number tab in you chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694808#M1078205</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-07-17T09:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694809#M1078206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the definition of the new variable, it recognizes when I type vApplicationsCount, is it really necessary to put the dollar sign here? Cant I just put the definition like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vApplicationsCount / vEnrolmentCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;NUM(vApplicationsCount / vEnrolmentCount , '#,##0%' )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694809#M1078206</guid>
      <dc:creator>bashar_f</dc:creator>
      <dc:date>2014-07-17T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694810#M1078207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on your goal.&lt;/P&gt;&lt;P&gt;I usually use $-format&lt;/P&gt;&lt;P&gt;In case of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;vApplicationsCount you pass only text into the new variable. As I understand it will equal set &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;vApplicationsCount&lt;/SPAN&gt;='your text'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694810#M1078207</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-07-17T09:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a percentage variable based on two other variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694811#M1078208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand, Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-a-percentage-variable-based-on-two-other-variables/m-p/694811#M1078208</guid>
      <dc:creator>bashar_f</dc:creator>
      <dc:date>2014-07-17T09:16:41Z</dc:date>
    </item>
  </channel>
</rss>

