<?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 Include 0 value dates between min and max days - Continued in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Include-0-value-dates-between-min-and-max-days-Continued/m-p/1255617#M25407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already posted about this, but since my last post, for some reason the solution has stopped working.&amp;nbsp; A link to my first post is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/249535"&gt;Include 0 value dates between min and max days&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem I am having is that I want to show on my bar chart all days/year-months that have zero open sales orders so as to have a good visual timeline of when these orders will go out.&amp;nbsp; So the final expression that was derived from the first post is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum ({$&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;}SalesTopLine)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum ({$&amp;lt;OrderRequiredDateKey={"&amp;gt;=$(=date(Min({&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;} OrderRequiredDateKey)))&amp;lt;=$(=date(Max({&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;} OrderRequiredDateKey)))"}&amp;gt;}0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;This works perfectly when I have not made any selections (see picture below with zero $ months):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="good.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157034_good.jpg" style="height: 137px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I make a selection, it all goes away (see picture below, not zero $ months are showing):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bad.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/157035_bad.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 01:40:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-22T01:40:17Z</dc:date>
    <item>
      <title>Include 0 value dates between min and max days - Continued</title>
      <link>https://community.qlik.com/t5/App-Development/Include-0-value-dates-between-min-and-max-days-Continued/m-p/1255617#M25407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already posted about this, but since my last post, for some reason the solution has stopped working.&amp;nbsp; A link to my first post is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/249535"&gt;Include 0 value dates between min and max days&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem I am having is that I want to show on my bar chart all days/year-months that have zero open sales orders so as to have a good visual timeline of when these orders will go out.&amp;nbsp; So the final expression that was derived from the first post is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum ({$&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;}SalesTopLine)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum ({$&amp;lt;OrderRequiredDateKey={"&amp;gt;=$(=date(Min({&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;} OrderRequiredDateKey)))&amp;lt;=$(=date(Max({&amp;lt;SalesTransactionType = {'Open Order'}&amp;gt;} OrderRequiredDateKey)))"}&amp;gt;}0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;This works perfectly when I have not made any selections (see picture below with zero $ months):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="good.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/157034_good.jpg" style="height: 137px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I make a selection, it all goes away (see picture below, not zero $ months are showing):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bad.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/157035_bad.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 01:40:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Include-0-value-dates-between-min-and-max-days-Continued/m-p/1255617#M25407</guid>
      <dc:creator />
      <dc:date>2017-03-22T01:40:17Z</dc:date>
    </item>
  </channel>
</rss>

