<?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: Get data between two calendars used for min and max dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-data-between-two-calendars-used-for-min-and-max-dates/m-p/1534514#M439044</link>
    <description>&lt;P&gt;I managed to create two variables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; vStartDateNumber : AGGR(MIN(Full_Date), Number)&lt;/P&gt;&lt;P&gt;2. &lt;SPAN&gt;vEndDateNumber&amp;nbsp;:&amp;nbsp;&lt;/SPAN&gt;AGGR(MAX(Full_Date), Number)&lt;/P&gt;&lt;P&gt;This is done in order to have the min and max date for a Number.&lt;/P&gt;&lt;P&gt;In the left calendar I put in Data, Variable(s)&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;SPAN&gt;vStartDateNumber&amp;nbsp; and in the right calendar&amp;nbsp;vEndDateNumber&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After some data selection these are turned into numbers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions are :&lt;BR /&gt;Do I need to apply some formatting of the date (which is currently like 5/1/2016&amp;nbsp; 12:00:00 AM) in order&amp;nbsp;to have normal dates instead of numbers?&lt;BR /&gt;How can I have the selected time range in a X -axis of a chart? I created a cyclic group (Full_Date_Day, Full_Date_Week, Full_Date_Month, Full_Date_Year) with the date like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;YEAR(Full_Date) AS Full_Date_Year,&lt;BR /&gt;MONTH(Full_Date) AS Full_Date_Month,&lt;BR /&gt;WEEK(Full_Date) AS Full_Date_Week,&lt;BR /&gt;DAY(Full_Date) AS Full_Date_Day,&lt;BR /&gt;DATE#(MonthStart(Full_Date),'M/D/YYYY') AS StartMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the chart these are always weeks from 1 to 53 no matter that years from 2016 to 2021 are selected, similar with the months I always have 12 no matter than 5 years are selected in the calendar...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;D. Petrov&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 14:22:57 GMT</pubDate>
    <dc:creator>d_petrov</dc:creator>
    <dc:date>2019-01-24T14:22:57Z</dc:date>
    <item>
      <title>Get data between two calendars used for min and max dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-two-calendars-used-for-min-and-max-dates/m-p/1534439#M439038</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two calendars, on the left is used for get the lower date and to the right another one used to get upper date.&lt;/P&gt;&lt;P&gt;I need to reload the table below with the data , which is enclosed between the selected two dates from both calendars.&lt;/P&gt;&lt;P&gt;If I reload one calendar, the other is reloaded too.&lt;/P&gt;&lt;P&gt;Here is a sample attached.&lt;/P&gt;&lt;P&gt;Is it possible also, when I change a value from the filter to receive the dates in calendar , which are connected with this value?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 12:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-two-calendars-used-for-min-and-max-dates/m-p/1534439#M439038</guid>
      <dc:creator>d_petrov</dc:creator>
      <dc:date>2019-01-24T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get data between two calendars used for min and max dates</title>
      <link>https://community.qlik.com/t5/QlikView/Get-data-between-two-calendars-used-for-min-and-max-dates/m-p/1534514#M439044</link>
      <description>&lt;P&gt;I managed to create two variables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; vStartDateNumber : AGGR(MIN(Full_Date), Number)&lt;/P&gt;&lt;P&gt;2. &lt;SPAN&gt;vEndDateNumber&amp;nbsp;:&amp;nbsp;&lt;/SPAN&gt;AGGR(MAX(Full_Date), Number)&lt;/P&gt;&lt;P&gt;This is done in order to have the min and max date for a Number.&lt;/P&gt;&lt;P&gt;In the left calendar I put in Data, Variable(s)&amp;nbsp; -&amp;gt;&amp;nbsp;&lt;SPAN&gt;vStartDateNumber&amp;nbsp; and in the right calendar&amp;nbsp;vEndDateNumber&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After some data selection these are turned into numbers. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My questions are :&lt;BR /&gt;Do I need to apply some formatting of the date (which is currently like 5/1/2016&amp;nbsp; 12:00:00 AM) in order&amp;nbsp;to have normal dates instead of numbers?&lt;BR /&gt;How can I have the selected time range in a X -axis of a chart? I created a cyclic group (Full_Date_Day, Full_Date_Week, Full_Date_Month, Full_Date_Year) with the date like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;YEAR(Full_Date) AS Full_Date_Year,&lt;BR /&gt;MONTH(Full_Date) AS Full_Date_Month,&lt;BR /&gt;WEEK(Full_Date) AS Full_Date_Week,&lt;BR /&gt;DAY(Full_Date) AS Full_Date_Day,&lt;BR /&gt;DATE#(MonthStart(Full_Date),'M/D/YYYY') AS StartMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the chart these are always weeks from 1 to 53 no matter that years from 2016 to 2021 are selected, similar with the months I always have 12 no matter than 5 years are selected in the calendar...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;D. Petrov&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 14:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-data-between-two-calendars-used-for-min-and-max-dates/m-p/1534514#M439044</guid>
      <dc:creator>d_petrov</dc:creator>
      <dc:date>2019-01-24T14:22:57Z</dc:date>
    </item>
  </channel>
</rss>

