<?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: Help needed with evaluating Count expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472729#M176507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your request correctly, I would do this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RecNo() as RecID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Task ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transition In], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transition Out], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; AutoNumber(RecNo(), [Task ID] &amp;amp; [Transition In]) &lt;/STRONG&gt;as Count&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/80218?tstart=0"&gt;http://community.qlik.com/thread/80218?tstart=0&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 20 Apr 2013 10:06:21 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-04-20T10:06:21Z</dc:date>
    <item>
      <title>Help needed with evaluating Count expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472728#M176506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please find the following desired output as a table object in my report. I am stuck with the expression for calculating the count(Here count is the calculated column). What needs to be done at the report level itself if i want to have an extra column "Count" which increments itself when a task visits the same transition again, please find the following Table :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="608"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border: 0px solid black;" width="178"&gt;Task ID&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="138"&gt;Transition In&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="109"&gt;Task&lt;/TD&gt;&lt;TD class="xl63" style="border: 0px solid black; border-left: none;" width="119"&gt;Transition Out&lt;/TD&gt;&lt;TD class="xl65" style="border: 0px solid black; border-left: none;" width="64"&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Hold&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Hold&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Hold&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Hold&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10557115&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Hold&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;10653829&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;11562281&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;11562281&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;11562281&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;12594118&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Proof&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;EB&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border: 0px solid black; border-top: none;"&gt;15423802&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Review&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;R&amp;amp;D&lt;/TD&gt;&lt;TD class="xl64" style="border: 0px solid black; border-top: none; border-left: none;"&gt;Build&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should this be achieved at script level/report level, if so can you guys help me with the expression. &lt;/P&gt;&lt;P&gt;I think we should write and iteration statement if we have to handle this at script level. Any help in this regard is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Abhinay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2013 09:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472728#M176506</guid>
      <dc:creator />
      <dc:date>2013-04-20T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with evaluating Count expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472729#M176507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood your request correctly, I would do this in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RecNo() as RecID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Task ID], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transition In], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Transition Out], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; AutoNumber(RecNo(), [Task ID] &amp;amp; [Transition In]) &lt;/STRONG&gt;as Count&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/thread/80218?tstart=0"&gt;http://community.qlik.com/thread/80218?tstart=0&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Apr 2013 10:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472729#M176507</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-04-20T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with evaluating Count expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472730#M176508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. Could you help me with the expression if i would like to accomplish the same at the report level using Table object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhinay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 09:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472730#M176508</guid>
      <dc:creator />
      <dc:date>2013-04-21T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with evaluating Count expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472731#M176509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(isnull(above( RecID)),1,rangesum(above("ExpCount"),1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[where I used ExpCount as expression label]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a close look at the dimensions I used (TaskID, Transition In, RecID), and that I hided RecID dimension, but sorted after that field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 17:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-evaluating-Count-expression/m-p/472731#M176509</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-04-21T17:08:57Z</dc:date>
    </item>
  </channel>
</rss>

