<?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 Iterative Count(Distinct) in table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Iterative-Count-Distinct-in-table/m-p/1517535#M36939</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I've got one question on how to manage a specific case (I'm not asking for the entire solution, but I'm struggling with how to build the data model - so the basic steps / ideas are highly appreciated :))&lt;/P&gt;&lt;P&gt;I have a table - let's say with different people liking different kind of fruits:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;name&lt;/TD&gt;&lt;TD&gt;fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;apple&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;Banana&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Michael&lt;/TD&gt;&lt;TD&gt;Orange&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Michael&lt;/TD&gt;&lt;TD&gt;Banana&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;Strawberry&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact the list is much larger by the way...&lt;/P&gt;&lt;P&gt;What I want to know:&lt;/P&gt;&lt;P&gt;I want to create an iterative Top-List, that means in that example:&lt;/P&gt;&lt;P&gt;Top1: Stephan: 3 kind of fruits&lt;/P&gt;&lt;P&gt;Top2: Michael: 1 kind (because for the next one I only want to count the fruits - not included in Top1&lt;/P&gt;&lt;P&gt;I hope this is understandable...&lt;/P&gt;&lt;P&gt;My question is how to manage this - I played with quite a lot possibilities (variable, set expressions) but I can only get to the Top2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally I need the calculation within the app, as (e.g. in this example) I want to exclude banana and recalculate my Top-List.&lt;/P&gt;&lt;P&gt;Any ideas how the approach could be?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:45:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T21:45:59Z</dc:date>
    <item>
      <title>Iterative Count(Distinct) in table</title>
      <link>https://community.qlik.com/t5/App-Development/Iterative-Count-Distinct-in-table/m-p/1517535#M36939</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I've got one question on how to manage a specific case (I'm not asking for the entire solution, but I'm struggling with how to build the data model - so the basic steps / ideas are highly appreciated :))&lt;/P&gt;&lt;P&gt;I have a table - let's say with different people liking different kind of fruits:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;name&lt;/TD&gt;&lt;TD&gt;fruit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;apple&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;Banana&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Michael&lt;/TD&gt;&lt;TD&gt;Orange&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Michael&lt;/TD&gt;&lt;TD&gt;Banana&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Stephan&lt;/TD&gt;&lt;TD&gt;Strawberry&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In fact the list is much larger by the way...&lt;/P&gt;&lt;P&gt;What I want to know:&lt;/P&gt;&lt;P&gt;I want to create an iterative Top-List, that means in that example:&lt;/P&gt;&lt;P&gt;Top1: Stephan: 3 kind of fruits&lt;/P&gt;&lt;P&gt;Top2: Michael: 1 kind (because for the next one I only want to count the fruits - not included in Top1&lt;/P&gt;&lt;P&gt;I hope this is understandable...&lt;/P&gt;&lt;P&gt;My question is how to manage this - I played with quite a lot possibilities (variable, set expressions) but I can only get to the Top2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally I need the calculation within the app, as (e.g. in this example) I want to exclude banana and recalculate my Top-List.&lt;/P&gt;&lt;P&gt;Any ideas how the approach could be?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thorsten&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Iterative-Count-Distinct-in-table/m-p/1517535#M36939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T21:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Iterative Count(Distinct) in table</title>
      <link>https://community.qlik.com/t5/App-Development/Iterative-Count-Distinct-in-table/m-p/1517572#M36974</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I've got the first approach:&lt;/P&gt;&lt;P&gt;I select the top rank and put the identified fruits to an "array" by concating it.&lt;/P&gt;&lt;P&gt;Now I'm trying to use this "valuelist" to put it into an set analysis to identify top2.&lt;/P&gt;&lt;P&gt;Still not working, but at least I think it is a good idea.&lt;/P&gt;&lt;P&gt;Do you agree?&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 18:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Iterative-Count-Distinct-in-table/m-p/1517572#M36974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T18:29:26Z</dc:date>
    </item>
  </channel>
</rss>

