<?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 Selected Date Period in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Selected-Date-Period/m-p/1793229#M62099</link>
    <description>&lt;P&gt;My Problem is as follows:&lt;/P&gt;&lt;P&gt;I have a table where I want to show sales. It should be possible to show the sales by picking a specific year or by picking a time period. Furthermore there should be the possibility to select a certain customer. And there is the main problem: a specific customer is not buying products everyday. For example:&lt;BR /&gt;Customer A buys goods on the 5th and on the 12th of September 2020.&lt;BR /&gt;If I pick the daterange of the 1st to 30th September of 2020, Qlik only shows the range from the 5th to the 12th. Because - obviously - the customer only bought goods on these two days. Then the header of the column is 'Sales from the 05.09.2020 to the 12.09.2020'.&lt;/P&gt;&lt;P&gt;(Variables are vDateMin=min(Calendar.Date) and vDateMax=max(Calendar.Date))&lt;/P&gt;&lt;P&gt;My intention is that the header shows the selected time period -&amp;gt; 'Sales from the 01.09.2020 to the 30.09.2020'&lt;/P&gt;&lt;P&gt;So, in the background Qlik selects only the days where sales have taken place, but on the surface one should see the originally selected time period.&lt;/P&gt;&lt;P&gt;Is there a way to solve my problem via Variables?&lt;BR /&gt;I tried several options of getselectedcount or other getselected field functions. But none of them worked.&lt;/P&gt;&lt;P&gt;I hope anyone can help me.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 21:02:46 GMT</pubDate>
    <dc:creator>Slindheim</dc:creator>
    <dc:date>2021-12-20T21:02:46Z</dc:date>
    <item>
      <title>Selected Date Period</title>
      <link>https://community.qlik.com/t5/App-Development/Selected-Date-Period/m-p/1793229#M62099</link>
      <description>&lt;P&gt;My Problem is as follows:&lt;/P&gt;&lt;P&gt;I have a table where I want to show sales. It should be possible to show the sales by picking a specific year or by picking a time period. Furthermore there should be the possibility to select a certain customer. And there is the main problem: a specific customer is not buying products everyday. For example:&lt;BR /&gt;Customer A buys goods on the 5th and on the 12th of September 2020.&lt;BR /&gt;If I pick the daterange of the 1st to 30th September of 2020, Qlik only shows the range from the 5th to the 12th. Because - obviously - the customer only bought goods on these two days. Then the header of the column is 'Sales from the 05.09.2020 to the 12.09.2020'.&lt;/P&gt;&lt;P&gt;(Variables are vDateMin=min(Calendar.Date) and vDateMax=max(Calendar.Date))&lt;/P&gt;&lt;P&gt;My intention is that the header shows the selected time period -&amp;gt; 'Sales from the 01.09.2020 to the 30.09.2020'&lt;/P&gt;&lt;P&gt;So, in the background Qlik selects only the days where sales have taken place, but on the surface one should see the originally selected time period.&lt;/P&gt;&lt;P&gt;Is there a way to solve my problem via Variables?&lt;BR /&gt;I tried several options of getselectedcount or other getselected field functions. But none of them worked.&lt;/P&gt;&lt;P&gt;I hope anyone can help me.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selected-Date-Period/m-p/1793229#M62099</guid>
      <dc:creator>Slindheim</dc:creator>
      <dc:date>2021-12-20T21:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selected Date Period</title>
      <link>https://community.qlik.com/t5/App-Development/Selected-Date-Period/m-p/1793278#M62104</link>
      <description>&lt;P&gt;If I understand your question correctly, I think you need to use the 1 identifier to ignore all selection and then include Calendar.Date in the set analysis to apply any selections made on Calendar.Date (or whatever date field you are using in your filter.&lt;/P&gt;&lt;P&gt;vDateMin =&amp;nbsp;min({1&amp;lt;Calendar.Date=$::Calendar.Date&amp;gt;} Calendar.Date)&lt;/P&gt;&lt;P&gt;vDateMax =&amp;nbsp;max({1&amp;lt;Calendar.Date=$::Calendar.Date&amp;gt;} Calendar.Date)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 10:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selected-Date-Period/m-p/1793278#M62104</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-03-22T10:03:45Z</dc:date>
    </item>
  </channel>
</rss>

