<?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: Get total over Calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831500#M531540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT [subject id])/Count(DISTINCT TOTAL &amp;lt;charge&amp;gt; [subject id])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88439_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2015 20:42:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-06-04T20:42:55Z</dc:date>
    <item>
      <title>Get total over Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831497#M531537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I create a calculated dimension like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(charge&amp;lt;15000, 'Low charge', if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;charge&amp;lt;50000, 'High charge', 'Med Charge')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;and had 2nd dimension age_grp, which from load data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Now, I want to compute the % of age_grp within charge level like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;count(distinct subject_id)/count(total &lt;STRONG style="color: #ff0000;"&gt;&amp;lt;calculated charge level&amp;gt;&lt;/STRONG&gt; distinct visit_key )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;My question is how to add the calculated dimension in the count function. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831497#M531537</guid>
      <dc:creator />
      <dc:date>2015-06-04T19:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get total over Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831498#M531538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831498#M531538</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-04T19:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Get total over Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831499#M531539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create a simple example to show my question as below&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831499#M531539</guid>
      <dc:creator />
      <dc:date>2015-06-04T20:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get total over Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831500#M531540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT [subject id])/Count(DISTINCT TOTAL &amp;lt;charge&amp;gt; [subject id])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88439_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831500#M531540</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-04T20:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get total over Calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831501#M531541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;brilliant!!!!!!!!!!!!!11&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 02:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-total-over-Calculated-dimension/m-p/831501#M531541</guid>
      <dc:creator />
      <dc:date>2015-06-05T02:16:45Z</dc:date>
    </item>
  </channel>
</rss>

