<?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 Creating index values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-index-values/m-p/263776#M1205913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to write an expression that represents the index value for given fields.&lt;/P&gt;&lt;P&gt;Example - I want to display the index values of actives vs inactives broken out by an age range.&lt;/P&gt;&lt;P&gt;So for age 18-34, the % actives is the number of actives vs all ages 18-34. Inactives is the balance. To calculate the index I would divide that % of age 18-34 that are active by the overal % of actives, and multiply by 100.&lt;/P&gt;&lt;P&gt;I'm not sure how to write this expression and apply it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jun 2010 22:11:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-25T22:11:36Z</dc:date>
    <item>
      <title>Creating index values</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-index-values/m-p/263776#M1205913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to write an expression that represents the index value for given fields.&lt;/P&gt;&lt;P&gt;Example - I want to display the index values of actives vs inactives broken out by an age range.&lt;/P&gt;&lt;P&gt;So for age 18-34, the % actives is the number of actives vs all ages 18-34. Inactives is the balance. To calculate the index I would divide that % of age 18-34 that are active by the overal % of actives, and multiply by 100.&lt;/P&gt;&lt;P&gt;I'm not sure how to write this expression and apply it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 22:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-index-values/m-p/263776#M1205913</guid>
      <dc:creator />
      <dc:date>2010-06-25T22:11:36Z</dc:date>
    </item>
    <item>
      <title>Creating index values</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-index-values/m-p/263777#M1205914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this, maybe?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;(count({&amp;lt;Status={'Active'},AgeRange={'18-34'}&amp;gt;} distinct Person)&lt;BR /&gt; /count({&amp;lt; AgeRange={'18-34'}&amp;gt;} distinct Person))&lt;BR /&gt;/(count({&amp;lt;Status={'Active'}&amp;gt; } distinct Person)&lt;BR /&gt; /count( distinct Person))&lt;/P&gt;&lt;P&gt;You don't need to multiply by 100 because you can display fractions as a percentage.&lt;/P&gt;&lt;P&gt;I had a hard time following, but you can use the above syntax to count pretty much any group of people you want, and then it's just a matter of doing the right math with the right group counts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jun 2010 00:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-index-values/m-p/263777#M1205914</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-06-26T00:08:18Z</dc:date>
    </item>
  </channel>
</rss>

