<?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 the first occurrences using set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751566#M57863</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Thank you so much!!!&lt;/P&gt;</description>
    <pubDate>Mon, 12 Oct 2020 11:49:37 GMT</pubDate>
    <dc:creator>Micki</dc:creator>
    <dc:date>2020-10-12T11:49:37Z</dc:date>
    <item>
      <title>Count the first occurrences using set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751535#M57857</link>
      <description>&lt;P&gt;Hi folks, have a table&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="Micki_0-1602500384264.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42088i6D574DBC0236102B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Micki_0-1602500384264.png" alt="Micki_0-1602500384264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count(
	aggr(
	if(	{&amp;lt;
		[State] ={'Closed', 'Resolved'},		
		&amp;gt;} FirstSortedValue([Id], -[Week]), 1,0), [Id]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it's not working what i want to count 1 in&lt;STRONG&gt; 21-Sep-2020&lt;/STRONG&gt; and that it, Could you please help ?&lt;/P&gt;&lt;P&gt;thank you in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751535#M57857</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2024-11-16T01:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count the first occurrences using set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751548#M57858</link>
      <description>&lt;P&gt;Your SET modifier is misplaced outside of the aggregation function.&lt;/P&gt;&lt;P&gt;Try it like this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count(
	aggr(
	if(	FirstSortedValue({&amp;lt;
		[State] ={'Closed', 'Resolved'},		
		&amp;gt;} [Id], -[Week]), 1,0), [Id]))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751548#M57858</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-10-12T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Count the first occurrences using set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751556#M57860</link>
      <description>&lt;P&gt;not working:(&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Micki_0-1602501926249.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/42092i98FE6E282A55A1C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Micki_0-1602501926249.png" alt="Micki_0-1602501926249.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751556#M57860</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-10-12T11:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Count the first occurrences using set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751560#M57862</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/124906"&gt;@Micki&lt;/a&gt;&amp;nbsp;May be try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(Aggr(

    If(Week = Min({&amp;lt;State = {'Closed', 'Resolved'}&amp;gt;}TOTAL &amp;lt;Id&amp;gt; Week), 1, 0)

, Id, Week))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751560#M57862</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-12T11:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count the first occurrences using set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751566#M57863</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 11:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Count-the-first-occurrences-using-set-analysis/m-p/1751566#M57863</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-10-12T11:49:37Z</dc:date>
    </item>
  </channel>
</rss>

