<?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: Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626259#M446142</link>
    <description>&lt;P&gt;Would you be able to share a sample so that we can see the issue?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 11:42:19 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-09-20T11:42:19Z</dc:date>
    <item>
      <title>Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1625638#M446138</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have created a calculated Dimension with following command in my pivot table&lt;/P&gt;&lt;P&gt;=If(Aggr(Rank(Sum({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}CLMPCNT)/sUM({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}POLNos))&amp;gt;5, [MAKE])&amp;lt;=10, [MAKE], 'Others')&lt;/P&gt;&lt;P&gt;But It does no work properly.&lt;/P&gt;&lt;P&gt;My requirement is to Show 10 records of Vehicle Make where the value of the&amp;nbsp; following condition is more than 5&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}CLMPCNT)/sUM({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}POLNos))&amp;gt;5&lt;/P&gt;&lt;P&gt;Kindly help me to get the correct syntax please.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 09:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1625638#M446138</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-19T09:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1625690#M446139</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Aggr(
 If(
  Rank(
   Sum({&amp;lt;MAKE = {"=Sum({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}CLMPCNT)/Sum({&amp;lt;VEHICLE_TYPE = {'CAR/JEEP'}&amp;gt;} POLNos) &amp;gt; 5"}, VEHICLE_TYPE = {'CAR/JEEP'}&amp;gt;} CLMPCNT)
/
   Sum({&amp;lt;MAKE = {"=Sum({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}CLMPCNT)/Sum({&amp;lt;VEHICLE_TYPE = {'CAR/JEEP'}&amp;gt;} POLNos) &amp;gt; 5"}, VEHICLE_TYPE = {'CAR/JEEP'}&amp;gt;}POLNos)
  ) &amp;lt;= 10
 , [MAKE], 'Others')
, [MAKE])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 19 Sep 2019 11:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1625690#M446139</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-19T11:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626206#M446140</link>
      <description>&lt;P&gt;Thanks Sunny&lt;/P&gt;&lt;P&gt;I applied your syntax but it does not give required out put&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" width="681" height="334" /&gt;&lt;/P&gt;&lt;P&gt;What I want i some thing similar to below output&lt;/P&gt;&lt;P&gt;&lt;IMG src="blob:https://community.qlik.com/0ce48ab7-41df-48ab-8fd6-55ad09adcddf" border="0" width="705" height="339" /&gt;&lt;/P&gt;&lt;P&gt;Pls help&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 09:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626206#M446140</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-20T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626211#M446141</link>
      <description>&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19694iEF192565A3798EBF/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19695i8B0BF5A5E9A1C47A/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 10:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626211#M446141</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-20T10:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626259#M446142</link>
      <description>&lt;P&gt;Would you be able to share a sample so that we can see the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 11:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626259#M446142</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-20T11:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626450#M446143</link>
      <description>&lt;P&gt;Dear Sunny,&lt;/P&gt;&lt;P&gt;This is my sample&amp;nbsp; Appreciate your help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 16:20:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626450#M446143</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-20T16:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626461#M446144</link>
      <description>&lt;P&gt;It seems that your expression&amp;nbsp;=Sum({&amp;lt;VEHICLE_TYPE={'CAR/JEEP'}&amp;gt;}CLMPCNT)/Sum({&amp;lt;VEHICLE_TYPE = {'CAR/JEEP'}&amp;gt;} POLNos) never gets above 1... look at the image below&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19744i032334B2E10B758A/image-size/large?v=1.0&amp;amp;px=-1" border="0" width="736" height="277" title="image.png" alt="image.png" /&gt;&lt;/P&gt;&lt;P&gt;Now this might be just for the sample file you have shared. So, in order to make the condition meet, I changed the condition from &amp;gt;5 to &amp;gt; 0.5... and I see this&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19746i0E097D05515B99B8/image-size/large?v=1.0&amp;amp;px=-1" border="0" width="696" height="407" title="image.png" alt="image.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 16:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626461#M446144</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-20T16:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626470#M446145</link>
      <description>&lt;P&gt;Thanks sunny ,&lt;/P&gt;&lt;P&gt;But in my full data set scenario is as shown below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19750iE1863CCE66D8C732/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;&lt;P&gt;Pls suggest solution for it. I also want this to be sorted in descending&amp;nbsp; order with 'Others' shown as last item please&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 16:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626470#M446145</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-20T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626478#M446146</link>
      <description>&lt;P&gt;Based on the data provided in the sample app... what is the expected output?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 17:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626478#M446146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-20T17:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626540#M446148</link>
      <description>&lt;P&gt;Expected out put&amp;nbsp; is there for the sample data&amp;nbsp; but it has to be sorted descending order. How ever when It applies my full data set&amp;nbsp; it wont work.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19763i4420CD5EA65291B0/image-size/medium?v=1.0&amp;amp;px=-1" border="0" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2019 00:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1626540#M446148</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-09-21T00:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1630162#M446400</link>
      <description>&lt;P&gt;Just kicking this back up in the list with a comment to see if Sunny or someone else has any other ideas on things.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 16:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension/m-p/1630162#M446400</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-01T16:23:35Z</dc:date>
    </item>
  </channel>
</rss>

