<?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: Keeping selection list even if no values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994212#M959362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work, can you share the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 03:06:46 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-11-02T03:06:46Z</dc:date>
    <item>
      <title>Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994206#M959356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;Best regards&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt; I have a situation in which I as a graphic filter a list box type date. Also I have another list box to Town. When you select a date range for a given city, it makes me o one graphic without problem. When I select another city maintaining the same date range graphics draw another curve deselected date range. This is logical because no data for that city at that date range. In any way I require that the graph is maintained for the same date range placing 0 in each of the selected days.&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt; If the city has data&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;IMG alt="caso 1.JPG" class="jive-image image-1" src="/legacyfs/online/103533_caso 1.JPG" style="height: 322px; width: 620px;" /&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;If the city has no data: Graph with another date range where he found data (required to maintain the same level of previous dates)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;IMG alt="caso 2.JPG" class="jive-image image-2" src="/legacyfs/online/103534_caso 2.JPG" style="height: 326px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin: 0 0 1.35em; color: #000000; font-family: Tahoma; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px; font-family: Tahoma;"&gt;Thanks in advance and sorry if the question is elementary.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994206#M959356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T20:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994207#M959357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try to Lock the List Box after selected the Date Range&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;You can use the date range in your expression using the Set analysis&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;DateField={"&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can set the Start Date and EndDate value using the Variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 01:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994207#M959357</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-10-30T01:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994208#M959358</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 unchecking Supress zero values and Supress Missing options in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart Properties -&amp;gt; Presentation Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even it is not working, then you have insert 0 values records for that city and that date then only you can display 0 for those missing dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 02:16:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994208#M959358</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-10-30T02:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994209#M959359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. &lt;/P&gt;&lt;P&gt;Could you please tell me how to set the variables?. I´m just a end user and I do not know so much about programming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 13:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994209#M959359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T13:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994210#M959360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan, thank you very much for your answer. I tried it and it continues the same.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 13:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994210#M959360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T13:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994211#M959361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you said, it's QV standard associative DB behaviour what you've observed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you absolutely want to keep the dates, I think you need to uncouple the dates selection from your city selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can do this using variables as suggested, another option might be alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attached sample, I created an alternate state in document properties, set the list box for date selection to that state (and added some stuff to give the users hints if the dates are available in current city selections or not, but without changing the date selection state, so it's not necessary for the demo).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;City list box is in default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart is also set to alternate state, Date is used as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then one expression:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Date= p({AS}) &amp;gt;} Value) +sum(0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A little bit complex, but your request is outside QV default behaviour, hence the extra-work.&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>Fri, 30 Oct 2015 16:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994211#M959361</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-30T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994212#M959362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work, can you share the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 03:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994212#M959362</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-11-02T03:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994213#M959363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;swuehl, thanks for your answer.&lt;/P&gt;&lt;P&gt;I do not really know how to set a variable and did not received any attached example. Anyway I have a personal licence so I could not open any .qwv file from anotther person. &lt;/P&gt;&lt;P&gt;I just applied the expression you suggested to me and it works that I need it even without setting any parameters in document properties and list box !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 13:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994213#M959363</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-03T13:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Keeping selection list even if no values</title>
      <link>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994214#M959364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello jagan.&lt;/P&gt;&lt;P&gt;Thank you very much for your interest and help. &lt;/P&gt;&lt;P&gt;I could get the solution from swuehl suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 13:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Keeping-selection-list-even-if-no-values/m-p/994214#M959364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-03T13:42:11Z</dc:date>
    </item>
  </channel>
</rss>

