<?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 Substrin a Date field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Substrin-a-Date-field/m-p/196217#M56390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question 1.: How do you substring out a date files so each of it's components can be used in list boxes to control the drill down. I have a single date files 12/31/2010. I want to be able to select based on Year, Month or day from a list box&lt;/P&gt;&lt;P&gt;Question 2. Using a calendar, how can you select data within a date range? For example I want to look at revenue between 12/1/2010 and 12/15/2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Feb 2011 18:12:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-01T18:12:33Z</dc:date>
    <item>
      <title>Substrin a Date field</title>
      <link>https://community.qlik.com/t5/QlikView/Substrin-a-Date-field/m-p/196217#M56390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Question 1.: How do you substring out a date files so each of it's components can be used in list boxes to control the drill down. I have a single date files 12/31/2010. I want to be able to select based on Year, Month or day from a list box&lt;/P&gt;&lt;P&gt;Question 2. Using a calendar, how can you select data within a date range? For example I want to look at revenue between 12/1/2010 and 12/15/2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 18:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substrin-a-Date-field/m-p/196217#M56390</guid>
      <dc:creator />
      <dc:date>2011-02-01T18:12:33Z</dc:date>
    </item>
    <item>
      <title>Substrin a Date field</title>
      <link>https://community.qlik.com/t5/QlikView/Substrin-a-Date-field/m-p/196218#M56391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Try: =month(Date_Field) or =month(Date_Field) or =monthname(Date_Field) or day(Date_Field). Have a look under the 'Date &amp;amp; Time' functions of the expression window.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;A little trickier. My version is: create 2 variables (vStartDate and vEndDate) create 2 calendar objects each linked to a variable. In your chart the expression would be something along the lines of: =sum(if(Date_Field&amp;gt;=vStartDate and Date_Field &amp;lt;=vEndDate,Sales)) - that's un-checked syntax but should work.&lt;/P&gt;&lt;P&gt;It's a bit tricky setting the calendar scales but I usually just add =min(Date_Field) as the min and =max(Date_Field) as the max...so no that tricky at all really!?&lt;/P&gt;&lt;P&gt;This can also be achieved with Set Analysis and simple input boxes instead of calendar objects.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 18:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Substrin-a-Date-field/m-p/196218#M56391</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-02-01T18:21:21Z</dc:date>
    </item>
  </channel>
</rss>

