<?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: Date range in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734069#M474162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have that range in a variable or you calculate it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 08:15:39 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-10-01T08:15:39Z</dc:date>
    <item>
      <title>Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734066#M474159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have here a table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dayendstart.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68059_dayendstart.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create an analysis, what is the total Qty of the Report Date with the specific date range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: For Report date 20-Sep-14, the range is &amp;gt;=14-SEp-14&amp;lt;=20-Sep-14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I include this in my set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 07:53:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734066#M474159</guid>
      <dc:creator />
      <dc:date>2014-10-01T07:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734067#M474160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum({&amp;lt;Report_Date={'&amp;gt;=$(=Max(DayStart)&amp;lt;=$(=Max(DayEnd)'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure Report_Date and Max(DayStart) are in same format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 07:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734067#M474160</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-01T07:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734068#M474161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, but that will only get the maximum dayend and daystart. i need to get per row&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734068#M474161</guid>
      <dc:creator />
      <dc:date>2014-10-01T08:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734069#M474162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have that range in a variable or you calculate it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734069#M474162</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-01T08:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734070#M474163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is calculated. Report Date - 6 days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734070#M474163</guid>
      <dc:creator />
      <dc:date>2014-10-01T08:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734071#M474164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lyn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do have a field which have Dtae=14 Sep 2014 and a Quentity associated with it?&lt;/P&gt;&lt;P&gt;Over gere i guess max(start date) is a calculated field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734071#M474164</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-01T08:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734072#M474165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Report_Date={'&amp;gt;=$(=date(Max(DayStart)-6))&amp;lt;=$(=Max(DayEnd))'}&amp;gt;}Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734072#M474165</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-01T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734073#M474166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Report date is associated with the Qty. Yes, for example I have to find the quantity between the dates given above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If report date is 20-Sep-14 then the date range should be from what is above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734073#M474166</guid>
      <dc:creator />
      <dc:date>2014-10-01T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734074#M474167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi doing this will only take the maximum of all..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so max(daystart) will not compute per row but will compute the total.. so max(daystart) in that set analysis will output = 19-sep-14&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734074#M474167</guid>
      <dc:creator />
      <dc:date>2014-10-01T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734075#M474168</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;then try your expression with if clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 09:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734075#M474168</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-10-01T09:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734076#M474169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Sum(If(Num(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report_Date&lt;/SPAN&gt;) &amp;gt;= (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report_Date&lt;/SPAN&gt;-6) And &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report_Date&lt;/SPAN&gt;&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Report_Date&lt;/SPAN&gt;,Qty))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 09:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734076#M474169</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-01T09:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734077#M474170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's a sample document you guys can check out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 09:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734077#M474170</guid>
      <dc:creator />
      <dc:date>2014-10-01T09:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734078#M474171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan mohan&lt;/A&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 10:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734078#M474171</guid>
      <dc:creator />
      <dc:date>2014-10-01T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734079#M474172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a sample qvw below &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 12:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734079#M474172</guid>
      <dc:creator />
      <dc:date>2014-10-01T12:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734080#M474173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bump&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 16:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734080#M474173</guid>
      <dc:creator />
      <dc:date>2014-10-01T16:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Date range in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734081#M474174</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;Qlikview calculations are done at table level not by row level, so it is not possible in front end, if you just want for one day then use below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;Report_Date={'&amp;gt;=$(=date(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Rpt Date]&lt;/SPAN&gt;)-6))&amp;lt;=$(=Date(Max([Rpt Date])))'}&amp;gt;}Qty)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you want for all the days then you have pre calculate in script by using Peek or Previous().&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 04:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-Set-Analysis/m-p/734081#M474174</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-07T04:58:13Z</dc:date>
    </item>
  </channel>
</rss>

