<?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 How will you calculate Date range from start date to end date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202803#M60376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;using this i got .....&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;first find the date differnce... from that we calculate remaining easily...&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;sub ed_final&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;set sd=ActiveDocument.Variables("sd")&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox("StartDate"&amp;amp;sd.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;set ed=ActiveDocument.Variables("ed")&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox("EndDate"&amp;amp;ed.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;edate=CDate(ed.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;sdate=CDate(sd.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;endate=DateDiff("d",sdate,edate)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox(endate)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;ActiveDocument.Fields("ncolum").select sdate+1&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;for i=2 to endate&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;ActiveDocument.Fields("ncolum").ToggleSelect sdate+i&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;next&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Apr 2010 09:09:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-06T09:09:38Z</dc:date>
    <item>
      <title>How will you calculate Date range from start date to end date</title>
      <link>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202802#M60375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How will you calculate Date range from start date to end date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;set sd=ActiveDocument.Variables("sd")&lt;BR /&gt;msgbox("StartDate"&amp;amp;sd.GetContent.String)&lt;/P&gt;&lt;P&gt;set ed=ActiveDocument.Variables("ed")&lt;BR /&gt;msgbox("EndDate"&amp;amp;ed.GetContent.String)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;edate=CDate(ed.GetContent.String)&lt;BR /&gt;sdate=CDate(sd.GetContent.String)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;set endate=CDate(edate-sdate)&lt;/P&gt;&lt;P&gt;for i=0 to endate.count -1&lt;/P&gt;&lt;P&gt;msgbox("New Date:"&amp;amp;endate.item(i).text)&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 08:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202802#M60375</guid>
      <dc:creator />
      <dc:date>2010-04-06T08:51:13Z</dc:date>
    </item>
    <item>
      <title>How will you calculate Date range from start date to end date</title>
      <link>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202803#M60376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;using this i got .....&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;first find the date differnce... from that we calculate remaining easily...&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;sub ed_final&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;set sd=ActiveDocument.Variables("sd")&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox("StartDate"&amp;amp;sd.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;set ed=ActiveDocument.Variables("ed")&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox("EndDate"&amp;amp;ed.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;edate=CDate(ed.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;sdate=CDate(sd.GetContent.String)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;endate=DateDiff("d",sdate,edate)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;'msgbox(endate)&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;ActiveDocument.Fields("ncolum").select sdate+1&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;for i=2 to endate&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;ActiveDocument.Fields("ncolum").ToggleSelect sdate+i&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;next&lt;/P&gt;&lt;P style="margin:0in 0in 10pt;"&gt;end sub&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 09:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202803#M60376</guid>
      <dc:creator />
      <dc:date>2010-04-06T09:09:38Z</dc:date>
    </item>
    <item>
      <title>How will you calculate Date range from start date to end date</title>
      <link>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202804#M60377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am not too sure whether it helps you or not. But it is related to date range only. You can look into it!&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/31125.aspx"&gt;http://community.qlik.com/forums/t/31125.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 05:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-will-you-calculate-Date-range-from-start-date-to-end-date/m-p/202804#M60377</guid>
      <dc:creator />
      <dc:date>2010-07-27T05:50:45Z</dc:date>
    </item>
  </channel>
</rss>

