<?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 date Dates with 0 value if data not available in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145247#M374850</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;I have two tables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Sales Amount,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created table daily sales, since sales amount is not there on few date, those data are not coming on my trend report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to show those dates with Zero values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest anyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 07:23:08 GMT</pubDate>
    <dc:creator>raju_salmon</dc:creator>
    <dc:date>2016-08-08T07:23:08Z</dc:date>
    <item>
      <title>Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145247#M374850</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;I have two tables;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Sales Amount,&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar:&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created table daily sales, since sales amount is not there on few date, those data are not coming on my trend report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to show those dates with Zero values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest anyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 07:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145247#M374850</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2016-08-08T07:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145248#M374851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview Can Show only available records it omits null records or where records are not there will not display in charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145248#M374851</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-08-08T08:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145249#M374852</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;Take a look at null as value function within the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145249#M374852</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-08-08T08:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145250#M374853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this option, but however even NULL values are not available on that particular date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145250#M374853</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2016-08-08T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145251#M374854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one help is there any way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145251#M374854</guid>
      <dc:creator>raju_salmon</dc:creator>
      <dc:date>2016-08-08T08:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145252#M374855</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;Yer you would need to populate them with values, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try a resident load after you have the calenday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something Like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;Resident Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (NewData)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;IF(LEN(Sales)=0, 0, Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Sales&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then drop your original.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 08:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145252#M374855</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2016-08-08T08:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145253#M374856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the functin (mentioned above by Mark Little) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;Resident Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (NewData)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;1:if(Isnull(Sales) 0, Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Sales&amp;nbsp; or&lt;/P&gt;&lt;P&gt;2: if len(trim(Sales)) =0, 0,Sales ) as Sales, or&lt;/P&gt;&lt;P&gt;3. Alt(Sales.0) as Sales&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can select only one from 3 Options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can try this way of proceeding :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script-Area:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NullASValue *;&lt;/P&gt;&lt;P&gt;Set NullValue = '-';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/P&gt;&lt;P&gt;Resident Calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (NewData)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;IF(LEN(Sales)='-', 0, Sales)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Sales&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 09:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145253#M374856</guid>
      <dc:creator>beck_bakytbek</dc:creator>
      <dc:date>2016-08-08T09:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show date Dates with 0 value if data not available</title>
      <link>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145254#M374857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try creating a mastercalendar and connect your table to it by a common field. then use this common field as a dimension in your chart/table.&lt;/P&gt;&lt;P&gt;this will populate the 0-values for the missing dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 09:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-date-Dates-with-0-value-if-data-not-available/m-p/1145254#M374857</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-08-08T09:27:29Z</dc:date>
    </item>
  </channel>
</rss>

