<?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: Qlik Sense Top N with drillable dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51771#M3463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As noted above, I can't share my app (because I am working in Enterprise).&amp;nbsp; However, my data is attached to my original posting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Mar 2018 18:01:07 GMT</pubDate>
    <dc:creator>skyline01</dc:creator>
    <dc:date>2018-03-05T18:01:07Z</dc:date>
    <item>
      <title>Qlik Sense Top N with drillable dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51769#M3461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working in Qlik Sense 3.2 Enterprise (hence, no qvf attached).&amp;nbsp; I have only one table in my data model.&amp;nbsp; The table's columns are:&lt;/P&gt;&lt;P&gt;TransactionID&lt;/P&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;P&gt;VendorID&lt;/P&gt;&lt;P&gt;VendorName&lt;/P&gt;&lt;P&gt;Manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have attached my data.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;All columns are populated for every row.&amp;nbsp; TransactionID is my primary key.&amp;nbsp; In general (though possibly not in my attached data), VendorID has a one-to-many relationship with VendorName, and VendorID has a many-to-many relationship with Manager.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a bar chart of Sum(Amount) versus a drillable dimension of VendorName \ Manager for the top ten vendors (by VendorID).&amp;nbsp; It is permissible to display a "random" VendorName for each of these ten vendors (e.g., display the first associated VendorName encountered for each VendorID).&amp;nbsp; I have created the given drillable dimension as a master dimension.&amp;nbsp; My measure definition is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aggr(Rank(Sum(Amount)), VendorID) &amp;lt;= 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Sum(Amount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Null()&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting two unexpected results / behavior.&amp;nbsp; One, instead of the top ten vendors, I only see nine vendors.&amp;nbsp; Two, when I drill the dimension, I am getting an incomplete set of Managers returned for each VendorName.&amp;nbsp; There are no ties in the data (i.e., there are unique sums of Amount for each VendorID), and there are more than ten vendors in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure what I'm doing wrong.&amp;nbsp; I suspect that it's being caused by the one-to-many and many-to-many relationships in my data.&amp;nbsp; How can I resolve these two issues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51769#M3461</guid>
      <dc:creator>skyline01</dc:creator>
      <dc:date>2018-03-05T17:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Top N with drillable dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51770#M3462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share your data or app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51770#M3462</guid>
      <dc:creator>isingh30</dc:creator>
      <dc:date>2018-03-05T17:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Top N with drillable dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51771#M3463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As noted above, I can't share my app (because I am working in Enterprise).&amp;nbsp; However, my data is attached to my original posting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51771#M3463</guid>
      <dc:creator>skyline01</dc:creator>
      <dc:date>2018-03-05T18:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Top N with drillable dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51772#M3464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi casey,&lt;/P&gt;&lt;P&gt;You are getting only top 9 because 'other' is enabled . Disable it. Please Check my attached application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51772#M3464</guid>
      <dc:creator>jerryyang756</dc:creator>
      <dc:date>2018-03-05T18:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Top N with drillable dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51773#M3465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pritam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not identifying my top 10 vendors the same as you.&amp;nbsp; As noted above, there is a one-to-many relationship between VendorID and VendorName.&amp;nbsp; So, the top 10 identification has to be done by VendorID, not by VendorName.&amp;nbsp; Hence, I am not able to implement the top 10 identification in the chart simply by the 'Limitation' option for the drill-down dimension.&amp;nbsp; As far as I know, it has to be done in the measure definition.&amp;nbsp; Still, though, VendorName is what needs to appear at the top tier of the drill-down dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Top-N-with-drillable-dimension/m-p/51773#M3465</guid>
      <dc:creator>skyline01</dc:creator>
      <dc:date>2018-03-05T18:41:19Z</dc:date>
    </item>
  </channel>
</rss>

