<?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: populate all dates in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054988#M353764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no easy way to show not existing data and each of them have disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you uncheck surpress zero and enabled show all dimension values (by your date) and used then a (more or less complex) condition then you comes near to your wanted results, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114987_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If this isn't sufficient for you you would need to create a carthesian product to create all your missing data either within the script (amounts of data could be very big) or with calculated dimensions and complex expression (performance could be very slow).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 15:54:01 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-17T15:54:01Z</dc:date>
    <item>
      <title>populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054980#M353756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;got 2 tables (transactions and master calendar)&lt;/P&gt;&lt;P&gt;both tables are linked by the date field&lt;/P&gt;&lt;P&gt;I have a pivot table with on dimension (date)&lt;/P&gt;&lt;P&gt;and 1 expression&lt;/P&gt;&lt;P&gt;what I want is the following &lt;/P&gt;&lt;P&gt;I select a range of dates say 1/1/2015 till 31/1/2015&lt;/P&gt;&lt;P&gt;now I have 2 transactions in 15/1/2015 and 17/1/2015&lt;/P&gt;&lt;P&gt;however I want the pivot table to display all the dates from 1/1/2015 till 31/1/2015 and so for the dates with no transactions I want to display zeros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054980#M353756</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-17T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054981#M353757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your Dimension Table has all dates need just uncheck "Supress Zero Values" at Presentation tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054981#M353757</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-02-17T15:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054982#M353758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN lang="en"&gt;When you create the master calendar problably you are inputing only dates in transaction table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Store the max data from transactions and min data from transactions&lt;/P&gt;&lt;P&gt;minMaxData:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(Daystart(Min(DataField))) AS minData, &lt;/P&gt;&lt;P&gt;&amp;nbsp; Num(Daystart(Max(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))) AS maxData&lt;/P&gt;&lt;P&gt;Resident &lt;/P&gt;&lt;P&gt;&amp;nbsp; TransactionsTable&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Put the values into two variables&lt;/P&gt;&lt;P&gt;minData = Num(peek('minData')); &lt;/P&gt;&lt;P&gt;maxData = Num(peek('maxData'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DROP TABLE minMaxData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Create Master Calendar with all values&lt;/P&gt;&lt;P&gt;AllData:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; $(minData) - 1 + rowno() AS DataField&lt;/P&gt;&lt;P&gt;AutoGenerate &lt;/P&gt;&lt;P&gt;&amp;nbsp; ($(maxData) - $(minData)) &lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//CALENDAR IS CREATED BASE ON DISTINCT DATA TO INCREASE PERFORMANCE&lt;/P&gt;&lt;P&gt;//CALENDAR DATE IS REGULAR CALENDAR&lt;/P&gt;&lt;P&gt;//FISCAL DATES ARE BASED ON CALENDAR STARTING ON 1ST OF APRIL&lt;/P&gt;&lt;P&gt;// 1/APR/2011 (REGULAR CALENDAR) = 1/01/2012 ON FISCAL CALENDAR&lt;/P&gt;&lt;P&gt;Time:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;DataField,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;) AS [Calendar Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp; ceil(MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/6) as [Calendar Semester], &lt;/P&gt;&lt;P&gt;&amp;nbsp; dual(YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;) &amp;amp; '-H' &amp;amp;&amp;nbsp; ceil(MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/6), YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)*10+ceil (MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/6)) as [Calendar SemesterYear] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ceil(MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/3) as [Calendar Quarter], &lt;/P&gt;&lt;P&gt;&amp;nbsp; dual(YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;) &amp;amp; '-Q' &amp;amp;&amp;nbsp; ceil (MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/3), YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)*10+ceil (MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)/3)) as [Calendar QuarterYear] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)) AS [Calendar nMonth],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(num(MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)&amp;nbsp; AS [Fiscal nMonth],&lt;/P&gt;&lt;P&gt;&amp;nbsp; ceil(if(num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/3)&amp;nbsp; as [Fiscal Quarter],&lt;/P&gt;&lt;P&gt;&amp;nbsp; ceil( if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/6)&amp;nbsp; as [Fiscal Semester],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dual(if(num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)+1, YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)) &amp;amp; '-H' &amp;amp; ceil( if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/6), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)+1, YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))*10+ceil( if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/6)) as [Fiscal SemesterYear] ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; dual(&amp;nbsp; if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,YEAR(DATA)+1, YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)) &amp;amp; '-Q' &amp;amp;&amp;nbsp; ceil( if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/3), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)+1, YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))*10+ceil( if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3, num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9)/3)) as [Fiscal QuarterYear] ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; NUM(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;) AS n&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;) AS [Calendar Year],&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)+1, YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)) as [Fiscal Year],&lt;/P&gt;&lt;P&gt;&amp;nbsp; MONTHSTART(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)&amp;nbsp; as [Calendar Period],&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))&amp;gt;3,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))-3,'00') &amp;amp; YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)+1, &lt;/P&gt;&lt;P&gt;&amp;nbsp; num(num( MONTH(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;))+9,'00') &amp;amp; YEAR(&lt;SPAN style="font-size: 13.3333px;"&gt;DataField&lt;/SPAN&gt;)) AS [Fiscal Period]&lt;/P&gt;&lt;P&gt;RESIDENT &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;AllData&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table &lt;SPAN style="font-size: 13.3333px;"&gt;AllData;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you need to enable the 'Show All Values' item on the Dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054982#M353758</guid>
      <dc:creator>eduardo_palacios</dc:creator>
      <dc:date>2016-02-17T15:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054983#M353759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali, in presentation tab, uncheck 'Supress zero values'. or upload a sample to check what other conditions are affecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a simple sample it works just with that, PFA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054983#M353759</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-02-17T15:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054984#M353760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did that but it is not working&lt;/P&gt;&lt;P&gt;in the calendar I have all dates &lt;/P&gt;&lt;P&gt;but in Trx not all dates have transactions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054984#M353760</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-17T15:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054985#M353761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look in the transactions table I have a field called flag&lt;/P&gt;&lt;P&gt;and in my expression I have put a condition on the flag&lt;/P&gt;&lt;P&gt;sum({&amp;lt;flag={1}&amp;gt;}sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054985#M353761</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-17T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054986#M353762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try?:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;flag={1}&amp;gt;} sales)+Sum(0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054986#M353762</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-02-17T15:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054987#M353763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you mind sharing a sample of your app?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:41:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054987#M353763</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-02-17T15:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054988#M353764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no easy way to show not existing data and each of them have disadvantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you uncheck surpress zero and enabled show all dimension values (by your date) and used then a (more or less complex) condition then you comes near to your wanted results, see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114987_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;If this isn't sufficient for you you would need to create a carthesian product to create all your missing data either within the script (amounts of data could be very big) or with calculated dimensions and complex expression (performance could be very slow).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054988#M353764</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-17T15:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054989#M353765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;doing this will display all days of calendar&lt;/P&gt;&lt;P&gt;while I only want to display dates that are within the bracket of dates i'm selecting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [MOVEMENT FLAG]={'00'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,FLAG={'RECEPTION'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,S2TCNT = {'P'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Year=&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Month=&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,Day=&lt;/P&gt;&lt;P&gt;// ,PeriodDate=&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,PeriodDate={"&amp;gt;= $(vFromDate) &amp;lt;=$(vToDate)"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }S2QCNT&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 18:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054989#M353765</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-17T18:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054990#M353766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;SUM (&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; &amp;lt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; [MOVEMENT FLAG]={'00'}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,FLAG={'RECEPTION'}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,S2TCNT = {'P'}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,Year=&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,Month=&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,Day=&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;// ,PeriodDate=&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; ,PeriodDate={"&amp;gt;= $(vFromDate) &amp;lt;=$(vToDate)"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; &amp;gt;&lt;SPAN style="line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; }S2QCNT&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;+ 1/10000000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 18:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054990#M353766</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-02-17T18:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054991#M353767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may you please send me a sample for the screen shot that you put?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 05:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054991#M353767</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-18T05:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054992#M353768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({&amp;lt;flag={1}&amp;gt;}sales) + (0 * Sum(Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 06:01:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054992#M353768</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-02-18T06:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054993#M353769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali, the option to simple add a +Sum(0) didn't worked?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 16:02:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054993#M353769</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-02-18T16:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054994#M353770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here an extend of the example-app from Ruben with a solution per conditions on the dimensions. But I must admit that I like more the solution from Ruben - you have now a choice and could check which solutions is in your real application more suitable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 08:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054994#M353770</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-19T08:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: populate all dates in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054995#M353771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 16:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/populate-all-dates-in-a-pivot-table/m-p/1054995#M353771</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-02-19T16:03:34Z</dc:date>
    </item>
  </channel>
</rss>

