<?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 Need help with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250799#M1192134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandy,&lt;/P&gt;&lt;P&gt;Might be easier if you recreate this in another qvw and upload it, or just post the one you're working on.&amp;nbsp; As you have explained it, it's tough to tell exactly what you're going for.&amp;nbsp; There may be a better way to achieve your solution than you have considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 18:20:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-04T18:20:11Z</dc:date>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250797#M1192132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New to Qlik view.Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need to find increase/drop in sales between 2 dates selected from 2 different list boxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(salesnew-salesold)/salesold&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 17:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250797#M1192132</guid>
      <dc:creator />
      <dc:date>2011-08-04T17:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250798#M1192133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be i did not explained it enough&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user can pick 2 diff. dates from 2 diff list box and the result should be the drop/increase in sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(salesWeek1-salesweek2)/salesweek1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: sandeepteotia&amp;nbsp;&amp;nbsp; File is attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250798#M1192133</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:10:28Z</dc:date>
    </item>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250799#M1192134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sandy,&lt;/P&gt;&lt;P&gt;Might be easier if you recreate this in another qvw and upload it, or just post the one you're working on.&amp;nbsp; As you have explained it, it's tough to tell exactly what you're going for.&amp;nbsp; There may be a better way to achieve your solution than you have considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250799#M1192134</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:20:11Z</dc:date>
    </item>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250800#M1192135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandy, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i understand you correctly, i use a similar function in our main application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We did not link the calendar dimension table to facts table. We use two variables holding the selected min and max date from the calendar listbox (only 1 calendar is used, and with min and max user selections of more than 2 values are compensated)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your needed expression would then look like &lt;/P&gt;&lt;P&gt;sum({$&amp;lt; factsdate = {'=$(varDate1)'} &amp;gt;} sales) - sum({$&amp;lt; factsdate = {'=$(varDate2)'} &amp;gt;} sales) / sum({$&amp;lt; factsdate = {'=$(varDate1)'} &amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression should work (except syntax errors) as long as you don't put a date(part) in the dimension&lt;/P&gt;&lt;P&gt;As i actually don't have access to a designer, i cannot test it &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250800#M1192135</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:39:35Z</dc:date>
    </item>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250801#M1192136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noster,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thank yu Noster.You mean the user need to select 2 dates from the same calendar listbox and then save them in 2 diff. variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250801#M1192136</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:59:37Z</dc:date>
    </item>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250802#M1192137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Noster,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; its picking the max and min weekend but the sales is picked as same amount.so the resultset is 0.&lt;/P&gt;&lt;P&gt;Am i missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt; Weekend = {'=$(vWeekend1)'} &amp;gt;} Amount)-sum({$&amp;lt; Weekend = {'=$(vWeekend2)'} &amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 20:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250802#M1192137</guid>
      <dc:creator />
      <dc:date>2011-08-04T20:22:19Z</dc:date>
    </item>
    <item>
      <title>Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250803#M1192138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put the Set Analysis expressions in separate columns to locate errors&lt;/P&gt;&lt;P&gt;Week1 : sum({$&amp;lt; Weekend = {'=$(vWeekend1)'} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;Week2: sum({$&amp;lt; Weekend = {'=$(vWeekend2)'} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check if their results are correct. Perhaps it's justed caused by missing brackets or the like&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 20:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250803#M1192138</guid>
      <dc:creator />
      <dc:date>2011-08-04T20:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250804#M1192139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nostor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File is attached. I&amp;nbsp; tried doing that.I missed something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 21:25:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250804#M1192139</guid>
      <dc:creator />
      <dc:date>2011-08-04T21:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250805#M1192140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can find the right syntax in the attachement.&lt;/P&gt;&lt;P&gt;There was just one waste equals sign in the expression, the correct expression should be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt; Weekend1 = {"$(vWeekend1)"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greets, &lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 07:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250805#M1192140</guid>
      <dc:creator />
      <dc:date>2011-08-05T07:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250806#M1192141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it works. thanks Max!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 14:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-with-set-analysis/m-p/250806#M1192141</guid>
      <dc:creator />
      <dc:date>2011-08-05T14:04:49Z</dc:date>
    </item>
  </channel>
</rss>

