<?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: Cum count error in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371085#M30935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mark a reaction to your own topic as the correct answer (marking removed). You received help from others; they gave you the correct and helpful answers. Be so kind to give credit where credit is due.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2017 07:20:30 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2017-06-02T07:20:30Z</dc:date>
    <item>
      <title>Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371076#M30926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this situation, I have a qvd in which each month has the accumulated records of the previous month, so I would only have to count them, for example for 2016 the value to show is from Dec 2016, for Q1 is from March 2016 , Q2 is June 2016, this I should see it in a pivot table but I could not do it, and tried to use the formula Count({Periodo = {'$(=MonthName(Max(Periodo))'}Recurso) but this is only me Shows the data of the last period of all data, and when using &lt;/P&gt;&lt;P&gt;Count({&amp;lt;Periodo={'=Monthname(Max(Periodo))'}&amp;gt;}Periodo) shows the calculation for the whole year and not a particular period, my goal is to show for example for the year 2016 the count of December 2016, for Q2 of 2016 the count of June 2016, thanks to who can help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 01:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371076#M30926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T01:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371077#M30927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's will be ok for you to use pivot table like &lt;IMG __jive_id="165491" alt="2017-06-01 12_36_49-Qlik Sense Desktop.png" class="jive-image image-1" src="/legacyfs/online/165491_2017-06-01 12_36_49-Qlik Sense Desktop.png" style="height: 291px; width: 620px;" /&gt;this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 09:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371077#M30927</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-01T09:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371078#M30928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasily&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to achieve this result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Año.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165524_Año.png" style="height: 97px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Quarter.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/165525_Quarter.png" style="height: 106px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Mes.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/165526_Mes.png" style="height: 165px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 13:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371078#M30928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T13:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371079#M30929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Id_Recurso) as Id_Recurso,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Log_Periodo as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Log_Periodo) as Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Log_Periodo) as Mes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Num(Month(Log_Periodo))/3) as Quarter&lt;/P&gt;&lt;P&gt;FROM [lib://Acumulado/Log_Acumulado.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join &lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Id_Recurso&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Max(Month(Log_Periodo)) as MaxMonth&lt;/P&gt;&lt;P&gt;Resident Log&lt;/P&gt;&lt;P&gt;group by Año;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 13:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371079#M30929</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-01T13:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371080#M30930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 10pt; font-family: arial, sans-serif;"&gt;I try this way&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Id_Recurso) as Id_Recurso,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Log_Periodo) as Periodo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Log_Periodo) as #Periodo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Log_Periodo) as Año,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Log_Periodo) as Mes,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Num(Month(Log_Periodo))/3) as Quarter&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM [lib://Acumulado/Log_Acumulado.qvd]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Left Join(Log)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Periodo) as Periodo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as BanderaAño&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident Log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Group by Año;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Left Join(Log)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Periodo) as Periodo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as BanderaQuarter&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident Log&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Group by Año,Quarter;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 29px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 29px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;I can get the last month of the year and the quarter, but I would not know how to show both,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;IMG alt="left.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165533_left.png" style="height: 97px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 29px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 13:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371080#M30930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371081#M30931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add max(quarter)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 14:01:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371081#M30931</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-01T14:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371082#M30932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you try to agregate counts into years but u want to do it not by the years, but by max(Month).&lt;/P&gt;&lt;P&gt;It looks like you need to do synthetic dimension with text of years: 2007, 2008, 2009, and calculate there count by max(Month/Quarter).&lt;/P&gt;&lt;P&gt;Read about ValueList and how it works. It helps me sometimes in not standart situations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 14:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371082#M30932</guid>
      <dc:creator>Vasiliy_Beshentsev</dc:creator>
      <dc:date>2017-06-01T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371083#M30933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I understand, thank you so much for your time Vasily, I'll read about it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 14:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371083#M30933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T14:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371084#M30934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Arrive to the desired result, thanks to the tips of &lt;A href="https://community.qlik.com/qlik-users/234918"&gt;vasiliy_beshentsev&lt;/A&gt;, this was my solution&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Id_Recurso) as Id_Recurso,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Log_Periodo) as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Log_Periodo) as #Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Log_Periodo) as Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Log_Periodo) as Mes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Num(Month(Log_Periodo))/3) as Quarter&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM [lib://Acumulado/Log_Acumulado.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Log)&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Periodo) as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as BanderaAño&lt;/P&gt;&lt;P&gt;Resident Log&lt;/P&gt;&lt;P&gt;Group by Año;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Log)&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Periodo) as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as BanderaQuarter&lt;/P&gt;&lt;P&gt;Resident Log&lt;/P&gt;&lt;P&gt;Group by Año,Quarter;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([BanderaAño]=1,Count({&amp;lt;[BanderaAño]={1}&amp;gt;}Id_Recurso),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(BanderaQuarter=1,Count({&amp;lt;[BanderaQuarter]={1}&amp;gt;}Id_Recurso),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Id_Recurso)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 15:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371084#M30934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T15:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cum count error</title>
      <link>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371085#M30935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mark a reaction to your own topic as the correct answer (marking removed). You received help from others; they gave you the correct and helpful answers. Be so kind to give credit where credit is due.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 07:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Cum-count-error/m-p/1371085#M30935</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2017-06-02T07:20:30Z</dc:date>
    </item>
  </channel>
</rss>

