<?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: Issue with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372348#M138437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. However, I have already tried this and it does not work. Can you please attach an example of the working version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jul 2012 03:21:47 GMT</pubDate>
    <dc:creator>raajeshn</dc:creator>
    <dc:date>2012-07-28T03:21:47Z</dc:date>
    <item>
      <title>Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372344#M138433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running into an issue with respect to set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the scenario - I have a Sales Report where I am showing Sales (of a Product) with respect to&amp;nbsp; Dates (Dimension) - to be more specific 30 dates rolling from the selected date. One of the KPI is to show the Total Sales of the last 7 Days. Hence, my output will look like this (if 30-Jan-2012 is selected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" height="68" style="width: 389px; border: 1px solid rgb(0, 0, 0); height: 58px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Total Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Total Sales in Last 7 Days&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;01-Jan-2012&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02-Jan-2012&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;....&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;....&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;30-Jan-2012&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total sales condition works well if it is just one date (as I am showing things at row level. If I write a set expression to include last 7 days, it again get distributed. Is there a way - I can evalute each of the expression inside the cell? Appreciate your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 16:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372344#M138433</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-27T16:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372345#M138434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following will work but would give wrong answers to first 6 days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13434156975964809" jivemacro_uid="_13434156975964809"&gt;&lt;P&gt;RangeSum(Above(Sales,0,6))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To arrive at the desired results irrespective of the selections you need to do it at script. If the values are from database (for eg. Oracle) you can use sum function with partition by clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 19:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372345#M138434</guid>
      <dc:creator />
      <dc:date>2012-07-27T19:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372346#M138435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use your expression in dollar expansion like below&lt;/P&gt;&lt;P&gt;$(=Expression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 20:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372346#M138435</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-27T20:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372347#M138436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I tried your idea earlier and did not find it usefull. Can you please share an example on how to do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2012 03:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372347#M138436</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-28T03:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372348#M138437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Celambarasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. However, I have already tried this and it does not work. Can you please attach an example of the working version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raajesh N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2012 03:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-Set-Analysis/m-p/372348#M138437</guid>
      <dc:creator>raajeshn</dc:creator>
      <dc:date>2012-07-28T03:21:47Z</dc:date>
    </item>
  </channel>
</rss>

