<?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: Document status (Count function) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861463#M71092</link>
    <description>&lt;P&gt;I want to count how many numpratica are in the status "80". I have 1.200 numpratica in different status. I want to know how many of theese are in that status.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 13:16:36 GMT</pubDate>
    <dc:creator>danimarc12</dc:creator>
    <dc:date>2021-11-19T13:16:36Z</dc:date>
    <item>
      <title>Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861421#M71087</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;
&lt;P&gt;I have an issue with a &lt;STRONG&gt;Count()&lt;/STRONG&gt; expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 668px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67031i6522F6E9AF6ACF19/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this image you can see a Document which has different status. Basically I want to count how many documents are in status &lt;STRONG&gt;idstep=80&lt;/STRONG&gt; but if I write&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Count( {&amp;lt; idstep={80} &amp;gt;} numpratica)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;it will display all the documents that had this status ("&lt;EM&gt;numpratica&lt;/EM&gt;" is the ID of the document).&lt;/P&gt;
&lt;P&gt;I think I have to add also the condition&amp;nbsp;&lt;STRONG&gt;UltimaModifica={$=(Max(UltimaModifica))}&amp;nbsp;&lt;/STRONG&gt;but it doesn't work.&lt;/P&gt;
&lt;P&gt;Maybe that's not correct as well.&lt;/P&gt;
&lt;P&gt;Could anyone help me please?&lt;/P&gt;
&lt;P&gt;Thank you all!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861421#M71087</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2024-11-15T23:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861461#M71091</link>
      <description>&lt;P&gt;Do you want the max/last UltimaModifica for each numpratica?&amp;nbsp; or the max/last UltimaModifica for the entire data set?&lt;/P&gt;
&lt;P&gt;I don't 100% follow with the language difference...&lt;/P&gt;
&lt;P&gt;if it's max value for entire set:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Count( {&amp;lt; idstep={80},&amp;nbsp;UltimaModifica={"$(=date(Max(UltimaModifica)))"}&amp;nbsp; &amp;gt;} numpratica)&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;if it's for each numpratica, it's:&lt;/P&gt;
&lt;P&gt;=&lt;EM&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;/EM&gt;(aggr(if(&lt;EM&gt;&lt;STRONG&gt;date(Max(total&amp;lt;nupmractica&amp;gt; UltimaModifica)))&lt;/STRONG&gt;&lt;/EM&gt; = &lt;EM&gt;&lt;STRONG&gt;UltimaModifica&lt;/STRONG&gt;&lt;/EM&gt;, &lt;EM&gt;&lt;STRONG&gt;numpratica&lt;/STRONG&gt;&lt;/EM&gt;), &lt;EM&gt;&lt;STRONG&gt;numpratica&lt;/STRONG&gt;&lt;/EM&gt;, &lt;EM&gt;&lt;STRONG&gt;UltimaModifica&lt;/STRONG&gt;&lt;/EM&gt;))&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861461#M71091</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-19T13:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861463#M71092</link>
      <description>&lt;P&gt;I want to count how many numpratica are in the status "80". I have 1.200 numpratica in different status. I want to know how many of theese are in that status.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861463#M71092</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2021-11-19T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861465#M71093</link>
      <description>&lt;P&gt;Ok, try this.&lt;/P&gt;
&lt;P&gt;=sum(aggr(if(date(Max(total&amp;lt;nupmractica&amp;gt; UltimaModifica)))&amp;nbsp;=&amp;nbsp;UltimaModifica,&amp;nbsp;count(&amp;nbsp;{&amp;lt; idstep={80} &amp;gt;}&amp;nbsp;1)),&amp;nbsp;numpratica,&amp;nbsp;UltimaModifica))&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 13:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861465#M71093</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-19T13:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861490#M71097</link>
      <description>&lt;P&gt;it's not correct &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 14:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861490#M71097</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2021-11-19T14:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Document status (Count function)</title>
      <link>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861510#M71099</link>
      <description>&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="b84c1e19-17c7-4145-b9ed-cdd53bf8bd20.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67041iC2BBEA9E607142DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="b84c1e19-17c7-4145-b9ed-cdd53bf8bd20.png" alt="b84c1e19-17c7-4145-b9ed-cdd53bf8bd20.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cattura.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67042i996DC33B7D5AE544/image-size/large?v=v2&amp;amp;px=999" role="button" title="Cattura.PNG" alt="Cattura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi must see "2" in my KPI&amp;nbsp; Verifica Preventivo".&lt;/P&gt;
&lt;P&gt;In the straight table I've used "FirstSortedValue" function to show "Ultimo Step".&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(NomeStep, -UltimaModifica)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 14:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Document-status-Count-function/m-p/1861510#M71099</guid>
      <dc:creator>danimarc12</dc:creator>
      <dc:date>2021-11-19T14:34:13Z</dc:date>
    </item>
  </channel>
</rss>

