<?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: How to use Set Analysis in above case in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326418#M120189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your set analysis expression you are doing the date manipulation directly and this could cause issues at times. so, try creating a variable as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTomorrow = date([Date Retrait]+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this variable in the set analysis as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$ &amp;lt; [Heure De Retrait] ={'&amp;gt;= 13'} &amp;gt;} [No Commande]) + count({&amp;lt;[Heure De Retrait] ={'&amp;lt;= 12'}, [Date Retrait]={"=$(=Date($(vTomorrow)))"}&amp;gt;}[No Commande])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2011 11:19:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-28T11:19:11Z</dc:date>
    <item>
      <title>How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326415#M120186</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;How to do this example ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 09:08:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326415#M120186</guid>
      <dc:creator />
      <dc:date>2011-12-28T09:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326416#M120187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the date as a dimension in the chart and create a variable to get tomorrow's date ('vTormorrow' in the example expression) and use the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(PM) + SUM({&amp;lt;[date]={"=$(=Date($(vTomorrow)))"}&amp;gt;}AM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 10:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326416#M120187</guid>
      <dc:creator />
      <dc:date>2011-12-28T10:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326417#M120188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank haneesh!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$ &amp;lt; [Heure De Retrait] ={'&amp;gt;= 13'} &amp;gt;} [No Commande]) + count({&amp;lt;[Heure De Retrait] ={'&amp;lt;= 12'}, [Date Retrait]={$(= date([Date Retrait]+1, 'DD/MM/YYYY'))}&amp;gt;}[No Commande])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see an error ?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 11:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326417#M120188</guid>
      <dc:creator />
      <dc:date>2011-12-28T11:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326418#M120189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your set analysis expression you are doing the date manipulation directly and this could cause issues at times. so, try creating a variable as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTomorrow = date([Date Retrait]+1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use this variable in the set analysis as follows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$ &amp;lt; [Heure De Retrait] ={'&amp;gt;= 13'} &amp;gt;} [No Commande]) + count({&amp;lt;[Heure De Retrait] ={'&amp;lt;= 12'}, [Date Retrait]={"=$(=Date($(vTomorrow)))"}&amp;gt;}[No Commande])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 11:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326418#M120189</guid>
      <dc:creator />
      <dc:date>2011-12-28T11:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326419#M120190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used vTomorrow&lt;/P&gt;&lt;P&gt;but this part " &lt;EM&gt;count({&amp;lt;[Heure De Retrait] ={'&amp;lt;= 12'}, [Date Retrait]={"=$(=Date($(vTomorrow)))"}&amp;gt;}[No Commande])&lt;/EM&gt; "&lt;/P&gt;&lt;P&gt;is always =0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 11:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326419#M120190</guid>
      <dc:creator />
      <dc:date>2011-12-28T11:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326420#M120191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the expression used to define 'vTomorrow'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 12:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326420#M120191</guid>
      <dc:creator />
      <dc:date>2011-12-28T12:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326421#M120192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Try changing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Date Retrait]={"=$(=Date($(vTomorrow)))"}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;to&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Date Retrait]={"$(=Date([Date Retrait] + 1))"}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have run into wierd problems using a date variable in a set analysis expression before, because QV evaluated the date as a division - e.g. 28/12/11 was being interpreted as 28 divided by 12 divided by 11. This might be happening to you too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 12:05:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326421#M120192</guid>
      <dc:creator />
      <dc:date>2011-12-28T12:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326422#M120193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vTomorrow = date([Date Retrait]+1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 12:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326422#M120193</guid>
      <dc:creator />
      <dc:date>2011-12-28T12:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326423#M120194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;[Date Retrait]={"=$(=Date($(vTomorrow)))"}&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&lt;EM style="font-size: 12px;"&gt; &lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;to&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&lt;EM style="font-size: 12px;"&gt; &lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;[Date Retrait]={"$(=Date([Date Retrait] + 1))"}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's always = 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 13:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326423#M120194</guid>
      <dc:creator />
      <dc:date>2011-12-28T13:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326424#M120195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Date Retrait]={"=$(=Date($(vTomorrow)))"}&amp;gt;}[No Commande]) : Not OK&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Date Retrait]={$(=Date($(vTomorrow)))}&amp;gt;}[No Commande]) : Not OK&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Date Retrait]={"$(=Date([Date Retrait] + 1))"}&amp;gt;}[No Commande]) : Not OK&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Date Retrait]={$(=Date([Date Retrait]+1))}&amp;gt;}[No Commande]) : Not OK&lt;/P&gt;&lt;P&gt;count({&amp;lt;[Date Retrait]={"29/12/2011"}&amp;gt;}[No Commande]) : OK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 13:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326424#M120195</guid>
      <dc:creator />
      <dc:date>2011-12-28T13:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326425#M120196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternative ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 14:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326425#M120196</guid>
      <dc:creator />
      <dc:date>2011-12-28T14:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326426#M120197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would transpose the data into daily rows. Then you can just summarize it with previous( ) function (order by date desc)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 14:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326426#M120197</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-12-28T14:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326427#M120198</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;I updated the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 08:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326427#M120198</guid>
      <dc:creator />
      <dc:date>2011-12-29T08:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326428#M120199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression for tomorrow is: below(count(NoCommande))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To ensure the right figures the sort of DateCommande should set to Ascending.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 10:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326428#M120199</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-12-29T10:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326429#M120200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Ralf !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use it for example2.qvw ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326429#M120200</guid>
      <dc:creator />
      <dc:date>2011-12-29T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326430#M120201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see what is wrong with it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 11:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326430#M120201</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-12-29T11:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326431#M120202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you try the rangecount function.&amp;nbsp; Since I'm not quite sure what the expected end result should be, I would encourage you to read the Help topic for the range functions used in conjunction with the above, below, before and after functions.&amp;nbsp; The form of the expression will be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;rangecount (below(count({SET ANALYSIS stuff} yourfieldname),yourstartingrow,yourinterval))&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis can be applied to the count function and make sure to study the effect of the TOTAL keyword in these functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Dec 2011 17:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326431#M120202</guid>
      <dc:creator />
      <dc:date>2011-12-29T17:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Set Analysis in above case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326432#M120203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 08:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Set-Analysis-in-above-case/m-p/326432#M120203</guid>
      <dc:creator />
      <dc:date>2011-12-30T08:56:29Z</dc:date>
    </item>
  </channel>
</rss>

