<?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 Best way to range date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355443#M493382</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;Can someone please advise on the best way to range a certain date?&lt;/P&gt;&lt;P&gt;Lets say I have a column with date from 01/01/205 to 01/01/2012. &lt;/P&gt;&lt;P&gt;Another column with Sales Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to range the sales from Fev/2009 to present month Mai/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to include month on the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2012 19:31:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-16T19:31:53Z</dc:date>
    <item>
      <title>Best way to range date</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355443#M493382</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;Can someone please advise on the best way to range a certain date?&lt;/P&gt;&lt;P&gt;Lets say I have a column with date from 01/01/205 to 01/01/2012. &lt;/P&gt;&lt;P&gt;Another column with Sales Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to range the sales from Fev/2009 to present month Mai/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also to include month on the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 19:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355443#M493382</guid>
      <dc:creator />
      <dc:date>2012-05-16T19:31:53Z</dc:date>
    </item>
    <item>
      <title>Best way to range date</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355444#M493383</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;See that you could create two new variables with the date´s values you want and replace those to StartDate and EndDate so I write both options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;gt;=$(=StartDate)'},Date={'&amp;lt;=$(=EndDate)'}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;gt;=$(=$(vStartDate))'},Date={'&amp;lt;=$(=$(vEndDate))'}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and tell me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Chema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 19:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355444#M493383</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-16T19:42:58Z</dc:date>
    </item>
    <item>
      <title>Best way to range date</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355445#M493384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks man,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first option worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when a select a diferent month, the date isn´t displayed. The sales amount is fixed to my variables values, do you know how can I leave more flexible? Is it what the second option does?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thks&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 20:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355445#M493384</guid>
      <dc:creator />
      <dc:date>2012-05-16T20:28:54Z</dc:date>
    </item>
    <item>
      <title>Best way to range date</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355446#M493385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the second option you could choose any dates you want. You need to create 2 entry box where you can write the MinDate and the MaxDate associated with the new variables, so you could use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;gt;=$(=$(vMinDate))'},Date={'&amp;lt;=$(=$(vMaxDate))'}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could do the same thing with months if you prefer but making a month selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={'&amp;gt;=$(=$(vMinMonth))'},Date={'&amp;lt;=$(=$(vMaxMonth))'}&amp;gt;}[Sales Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Si prefieres, para siguientes ocasiones usamos el español.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos, espero que te ayude.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 20:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-range-date/m-p/355446#M493385</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-16T20:39:08Z</dc:date>
    </item>
  </channel>
</rss>

