<?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 Show a regressive count on chart/table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702701#M725606</link>
    <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I'm using the following expression to count the number of VDAA between two dates:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=count({&amp;lt;PERI={"&amp;gt;=$(=addyears(FirstSortedValue(TOTAL PERI, LOPP), -1))&amp;lt;=$(=max(PERI))"}&amp;gt;} VDAA)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;But this expression is working perfectly just in case of using it on a TextField.&lt;BR /&gt;When using it on a chart or table I'm getting numbers os 1 and 0, and basically the system is summing the values...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Check the pictures below:&lt;BR /&gt;&lt;/STRONG&gt;As you can see below, at the column TESTE I'm getting values of 1 or 0 (you can't see it, sorry... )&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teste 3.png" style="width: 597px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33747iDF5F6442ED1FE01D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teste 3.png" alt="Teste 3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, I would like to get values as you can see below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teste 4.png" style="width: 576px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33746iCA8667557535078B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teste 4.png" alt="Teste 4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do?&lt;BR /&gt;Thank you so much!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Show a regressive count on chart/table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702701#M725606</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I'm using the following expression to count the number of VDAA between two dates:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=count({&amp;lt;PERI={"&amp;gt;=$(=addyears(FirstSortedValue(TOTAL PERI, LOPP), -1))&amp;lt;=$(=max(PERI))"}&amp;gt;} VDAA)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;But this expression is working perfectly just in case of using it on a TextField.&lt;BR /&gt;When using it on a chart or table I'm getting numbers os 1 and 0, and basically the system is summing the values...&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Check the pictures below:&lt;BR /&gt;&lt;/STRONG&gt;As you can see below, at the column TESTE I'm getting values of 1 or 0 (you can't see it, sorry... )&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teste 3.png" style="width: 597px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33747iDF5F6442ED1FE01D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teste 3.png" alt="Teste 3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But, I would like to get values as you can see below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teste 4.png" style="width: 576px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33746iCA8667557535078B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teste 4.png" alt="Teste 4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do?&lt;BR /&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702701#M725606</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show a regressive count on chart/table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702736#M725607</link>
      <description>&lt;P&gt;Any suggestion people?&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 00:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702736#M725607</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-17T00:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Show a regressive count on chart/table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702740#M725608</link>
      <description>&lt;P&gt;can you share a sample data or qvw file ?&lt;/P&gt;&lt;P&gt;I'm not sure if I understood correctly the goal&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 00:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702740#M725608</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-17T00:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Show a regressive count on chart/table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702742#M725609</link>
      <description>&lt;P&gt;Yes...&lt;/P&gt;&lt;P&gt;Take a look at my project!&lt;/P&gt;&lt;P&gt;As you can see on my project, the column TESTE is showing 1 or 0, but I would like to show the how many PERI we have from that day and =addyears(FirstSortedValue(PERI, LOPP), -1)...&lt;BR /&gt;&lt;BR /&gt;In other words, I would like to show the number of items in column PERI between the PERI's Date and the&amp;nbsp;expression =addyears(FirstSortedValue(PERI, LOPP), -1)&lt;/P&gt;&lt;P&gt;So, I'm expecting something like this:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teste 4.png" style="width: 576px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33757iFC3BAD5A4327A957/image-size/large?v=v2&amp;amp;px=999" role="button" title="Teste 4.png" alt="Teste 4.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Could you please help me providing the expression or script?&lt;BR /&gt;Once I'm using a Personal Edition I can not open your file...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 00:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702742#M725609</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-05-17T00:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show a regressive count on chart/table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702745#M725610</link>
      <description>&lt;P&gt;if I understand correctly.&lt;/P&gt;&lt;P&gt;and since PERI is a date +1 (sequence)&lt;/P&gt;&lt;P&gt;maye be :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;=count({&amp;lt;PERI={"&amp;gt;=$(=addyears(FirstSortedValue(TOTAL PERI, LOPP), -1))&amp;lt;=$(=max(PERI))"}&amp;gt;} total VDAA)-rowno()+1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 824px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33758i8A62F1AB112588C7/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>Sun, 17 May 2020 01:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-a-regressive-count-on-chart-table/m-p/1702745#M725610</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-05-17T01:13:13Z</dc:date>
    </item>
  </channel>
</rss>

