<?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 Year To Date Calculation with missing Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693218#M726882</link>
    <description>&lt;P&gt;Hello Qlikview Community.&lt;/P&gt;&lt;P&gt;I have a pivot table with the following three columns (+ 3 example values):&lt;/P&gt;&lt;P&gt;[yearmonth]&amp;nbsp;&lt;/P&gt;&lt;P&gt;201807&lt;/P&gt;&lt;P&gt;201808&lt;/P&gt;&lt;P&gt;201811&lt;/P&gt;&lt;P&gt;[Sales]&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;[YTD Sales]&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;The [YTD Sales] values are obviously wrong.&lt;/P&gt;&lt;P&gt;For [Sales] I used the expression:&amp;nbsp;=COUNT(DISTINCT [Sales])&lt;/P&gt;&lt;P&gt;For [YTD Sales] I used the expression:&amp;nbsp;= RANGESUM(Above(Count(DISTINCT [Sales]),0,Num(RIGHT([yearmonth],2))))&lt;/P&gt;&lt;P&gt;The YTD Expression is working on another Pivot Table where I have an entry for every [yearmonth]. Is there a way to show every [yearmonth]? Or do you have an alternative solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Curiosity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:50:58 GMT</pubDate>
    <dc:creator>Curiosity</dc:creator>
    <dc:date>2024-11-16T00:50:58Z</dc:date>
    <item>
      <title>Year To Date Calculation with missing Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693218#M726882</link>
      <description>&lt;P&gt;Hello Qlikview Community.&lt;/P&gt;&lt;P&gt;I have a pivot table with the following three columns (+ 3 example values):&lt;/P&gt;&lt;P&gt;[yearmonth]&amp;nbsp;&lt;/P&gt;&lt;P&gt;201807&lt;/P&gt;&lt;P&gt;201808&lt;/P&gt;&lt;P&gt;201811&lt;/P&gt;&lt;P&gt;[Sales]&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;[YTD Sales]&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;The [YTD Sales] values are obviously wrong.&lt;/P&gt;&lt;P&gt;For [Sales] I used the expression:&amp;nbsp;=COUNT(DISTINCT [Sales])&lt;/P&gt;&lt;P&gt;For [YTD Sales] I used the expression:&amp;nbsp;= RANGESUM(Above(Count(DISTINCT [Sales]),0,Num(RIGHT([yearmonth],2))))&lt;/P&gt;&lt;P&gt;The YTD Expression is working on another Pivot Table where I have an entry for every [yearmonth]. Is there a way to show every [yearmonth]? Or do you have an alternative solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for the support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Curiosity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693218#M726882</guid>
      <dc:creator>Curiosity</dc:creator>
      <dc:date>2024-11-16T00:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Calculation with missing Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693559#M726883</link>
      <description>&lt;P&gt;Nobody an idea? Is the question not clear enough? Would be happy for any response&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Curiosity&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 07:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693559#M726883</guid>
      <dc:creator>Curiosity</dc:creator>
      <dc:date>2020-04-15T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Calculation with missing Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693561#M726884</link>
      <description>&lt;P&gt;Can you explain with required output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 07:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693561#M726884</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2020-04-15T07:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Calculation with missing Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693633#M726885</link>
      <description>&lt;P&gt;Hi PrashantSangle,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your response!&lt;/P&gt;&lt;P&gt;Yes, the required Output would be:&lt;/P&gt;&lt;P&gt;[YTD Sales]&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;I have multiple Years so if its the same year (here 2018) you accumulate the numbers and next year you should start with the first entry from next year.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Curiosity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 11:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1693633#M726885</guid>
      <dc:creator>Curiosity</dc:creator>
      <dc:date>2020-04-15T11:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Year To Date Calculation with missing Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1701754#M726886</link>
      <description>&lt;P&gt;Have a look at the following Design Blog posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Year-over-Year-Comparisons/ba-p/1462927&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Dates-in-Set-Analysis/ba-p/1472511&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I believe those should be of some help.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 20:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-To-Date-Calculation-with-missing-Dates/m-p/1701754#M726886</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-13T20:10:09Z</dc:date>
    </item>
  </channel>
</rss>

