<?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: Count of Records Related in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547552#M39428</link>
    <description>&lt;P&gt;Another solution in UI chart expr try like&lt;/P&gt;&lt;P&gt;Using straight table add dims as&lt;BR /&gt;PersonKey, EventKey&lt;BR /&gt;3-Exprs&lt;BR /&gt;=Aggr(Rank(-PersonKey,4,1), EventKey, PersonKey) //Label this as Ranking&lt;BR /&gt;=Count(TOTAL &amp;lt;EventKey&amp;gt; EventKey) //Label this as Cnt&lt;BR /&gt;=Ranking &amp;amp; ' of '&amp;amp; Cnt //This will give you count of individuals&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 514px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6506iD7C7115A3EA92410/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2019 13:51:10 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2019-02-21T13:51:10Z</dc:date>
    <item>
      <title>Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547127#M39400</link>
      <description>&lt;P&gt;Good Afternoon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement on a table that I am having difficulty in fulfilling. I need a column that lists a count for the total number of users related to the same event. For instance, I have a single event record from the database that 5 people are associated with that event. I have a temp table that is calculating a count of the individuals per event. Where I am having trouble though is the customer wants to see 1 of 5, 2 of 5, 3 of 5, 4 of 5, and 5 of 5 in the table. Currently for each person associated with that event it displays the total 5, as that is the total for the event. I am trying to figure out if it is possible to do as described above? Any suggestions would greatly be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phil Radovich&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547127#M39400</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2024-11-16T06:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547131#M39401</link>
      <description>Can you share some sample data with expected output please? Will help to help you faster.</description>
      <pubDate>Wed, 20 Feb 2019 21:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547131#M39401</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2019-02-20T21:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547509#M39417</link>
      <description>&lt;P&gt;I am hoping for something like the attached screenshot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sampleset.PNG" style="width: 292px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6500i07685F67BEA594BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sampleset.PNG" alt="Sampleset.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 12:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547509#M39417</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2019-02-21T12:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547538#M39424</link>
      <description>This is the solution which is script based. Let me know if this helps&lt;BR /&gt;&lt;BR /&gt;T1:&lt;BR /&gt;LOAD *, AutoNumber(PersonKey, EventKey) AS Cnt Inline [&lt;BR /&gt;PersonKey, EventKey&lt;BR /&gt;1,1&lt;BR /&gt;2,1&lt;BR /&gt;3,1&lt;BR /&gt;4,1&lt;BR /&gt;5,1&lt;BR /&gt;6,2&lt;BR /&gt;7,2&lt;BR /&gt;8,2&lt;BR /&gt;9,2&lt;BR /&gt;10,3&lt;BR /&gt;11,3&lt;BR /&gt;12,3&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;LEFT JOIN(T1)&lt;BR /&gt;LOAD EventKey,&lt;BR /&gt;Count(PersonKey) AS RowCnt&lt;BR /&gt;Resident T1&lt;BR /&gt;Group By EventKey;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD *, Cnt&amp;amp;' Of '&amp;amp; RowCnt as CntIndividuals&lt;BR /&gt;Resident T1;&lt;BR /&gt;&lt;BR /&gt;Drop Table T1;</description>
      <pubDate>Thu, 21 Feb 2019 13:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547538#M39424</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2019-02-21T13:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547552#M39428</link>
      <description>&lt;P&gt;Another solution in UI chart expr try like&lt;/P&gt;&lt;P&gt;Using straight table add dims as&lt;BR /&gt;PersonKey, EventKey&lt;BR /&gt;3-Exprs&lt;BR /&gt;=Aggr(Rank(-PersonKey,4,1), EventKey, PersonKey) //Label this as Ranking&lt;BR /&gt;=Count(TOTAL &amp;lt;EventKey&amp;gt; EventKey) //Label this as Cnt&lt;BR /&gt;=Ranking &amp;amp; ' of '&amp;amp; Cnt //This will give you count of individuals&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 514px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/6506iD7C7115A3EA92410/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 13:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547552#M39428</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2019-02-21T13:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547695#M39438</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for the help. I was able to get this to work but is there any way to hide and or calculate this in the front end without displaying the ranking and cnt columns? I attempted the backend update but it is duplicating the total number of events across each person in the data set.&lt;BR /&gt;&lt;BR /&gt;Thank you so much!</description>
      <pubDate>Thu, 21 Feb 2019 18:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547695#M39438</guid>
      <dc:creator>philip_radovich</dc:creator>
      <dc:date>2019-02-21T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count of Records Related</title>
      <link>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547741#M39443</link>
      <description>Got to presentation tab of your straight table and check Ranking and Cnt fields and Check radio button that says Hide column.</description>
      <pubDate>Thu, 21 Feb 2019 21:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-of-Records-Related/m-p/1547741#M39443</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2019-02-21T21:12:37Z</dc:date>
    </item>
  </channel>
</rss>

