<?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 Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156153#M713959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have one quick question:I would have to add one date for startdate and one date for end date.This would be possible if I have 2 date fields but I have only one date field in my table.When I rename that only field with start date and end date I am getting he same date range as its only one date field.I have seen teh master calendar example posted on this forum but taht might not work as this table is joined with other tables using dat_key instead of date filed.Pls find the enclosed qvw for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 21:04:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-22T21:04:11Z</dc:date>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156153#M713959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have one quick question:I would have to add one date for startdate and one date for end date.This would be possible if I have 2 date fields but I have only one date field in my table.When I rename that only field with start date and end date I am getting he same date range as its only one date field.I have seen teh master calendar example posted on this forum but taht might not work as this table is joined with other tables using dat_key instead of date filed.Pls find the enclosed qvw for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156153#M713959</guid>
      <dc:creator />
      <dc:date>2010-10-22T21:04:11Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156154#M713961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swetha,&lt;/P&gt;&lt;P&gt;Please check attached example.&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156154#M713961</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-22T21:28:18Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156155#M713963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel for your quick response.As I mentioned above I came thru this kind of approach from forums.Now my problem how to link this kind of approach with my datamodel.I have enclosed the qv for refrence.Please review.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156155#M713963</guid>
      <dc:creator />
      <dc:date>2010-10-22T21:39:05Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156156#M713965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you choose the data island, which is correct as well, first you'd need to create a end calendar date with at least the same dates you have in your master calendar, since the starting date must never be previous to the end date, I may be missing something though.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 21:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156156#M713965</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-22T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156157#M713967</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;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I choose it as data Island, the dates am selecting in the calendar object are not in correspondent to the report data.Pls view the attached doc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 22:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156157#M713967</guid>
      <dc:creator />
      <dc:date>2010-10-22T22:03:45Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156158#M713970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swetha,&lt;/P&gt;&lt;P&gt;You will always need a conditional or set analysis to force the expression to return values between two dates, in your case, startdate and enddate. It's ok if you prefer to select the date from one table instead of a variable, but anyway your main fact table date has to be between two dates. So your expression may look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum({$&amp;lt;GC_BUY_OR_REDEEM={'B'},GC_ACTIVATION_TYPE={'G'}, CALENDAR_DATE = {'&amp;gt;=$(=Date(startdate))&amp;lt;=$(=Date(enddate))'}&amp;gt;} GC_BALANCE)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;or something similar, having that both startdate and enddate are formated alike, which they seem they aren't.&lt;/P&gt;&lt;P&gt;If you want a chart where CALENDAR_DATE is between two dates, I'd try to adapt the variable solution to your model.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 22:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156158#M713970</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-22T22:13:14Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156159#M713971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Many thanks for the reply.&lt;/P&gt;&lt;P&gt;I have varables only in my report and when I substituted the above formula with variable names I have used am getting the result as 0.Not sure why am getting zero.&lt;/P&gt;&lt;P&gt;Here is the formula I used:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;GC_BUY_OR_REDEEM={'B'},GC_ACTIVATION_TYPE={'G'}, CALENDAR_DATE = {'&amp;gt;=$(=Date(VstartDate))&amp;lt;=$(=Date(VEnddate))'}&amp;gt;}&lt;BR /&gt;GC_BALANCE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156159#M713971</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156160#M713972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i had the same query, here are the answers i was given...&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/32557.aspx"&gt;http://community.qlik.com/forums/t/32557.aspx&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156160#M713972</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2010-10-25T14:41:39Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156161#M713973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got it ! thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156161#M713973</guid>
      <dc:creator />
      <dc:date>2010-10-25T15:07:55Z</dc:date>
    </item>
    <item>
      <title>Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Dates/m-p/156162#M713974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swetha,&lt;/P&gt;&lt;P&gt;Just a quick question. Check if both variables and CALENDAR_DATE have the same format. If they do, then we'll have to check the expression. If they don't, then use Date() format to normalize them.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates/m-p/156162#M713974</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-25T15:09:55Z</dc:date>
    </item>
  </channel>
</rss>

