<?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: Need some help (SetAnalysis) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334422#M123307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldnt it be a -1 somewhere to? (i am sorry but my set analysis isnt good at all need to study more)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Mar 2012 19:32:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-03T19:32:12Z</dc:date>
    <item>
      <title>Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334418#M123303</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 need som help, I'm working on a document which should show the Sales Amount and Sales Total for Week1. of the period selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example. If I choose the dates February 6th to February 26th it should show me the figures for week1 (6th till 12th) etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried like this: &lt;/P&gt;&lt;P class="p1"&gt;Sum({$&amp;lt;Week={"&amp;gt;=$(=max(Week),-1)) &amp;lt;=$(=(max(Week)))"}&amp;gt;} PRICEOUT) &lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;but that gives me the summary of the last week choosen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 15:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334418#M123303</guid>
      <dc:creator />
      <dc:date>2012-03-02T15:48:07Z</dc:date>
    </item>
    <item>
      <title>Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334419#M123304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want the lowest week of the period so you should use min() instead of max().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;P&gt;Martin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 23:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334419#M123304</guid>
      <dc:creator />
      <dc:date>2012-03-02T23:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334420#M123305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried with Sum({$&amp;lt;Week={"&amp;gt;=$(=min(Week),-1)) &amp;lt;=$(=(min(Week)))"}&amp;gt;} PRICEOUT) &lt;/P&gt;&lt;P&gt;But the result is ju the summary of all the weeks before the one i choosen and the only thing i want is the last week not all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 18:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334420#M123305</guid>
      <dc:creator />
      <dc:date>2012-03-03T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334421#M123306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it depends on how you calendar is set up but you should only need to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Week={"$(=min(Week))"}&amp;gt;} PRICEOUT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 19:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334421#M123306</guid>
      <dc:creator />
      <dc:date>2012-03-03T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334422#M123307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shouldnt it be a -1 somewhere to? (i am sorry but my set analysis isnt good at all need to study more)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 19:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334422#M123307</guid>
      <dc:creator />
      <dc:date>2012-03-03T19:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334423#M123308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well that really depends how your calendar is set up. But if you are selecting dates and you want the week's data that the earliest date falls within then that should work perfectly assuming your weeks are numbers. Adding -1 would give you the week before the earliest date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the 7 days starting at the earliest date then you would need to do this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date={"&amp;gt;=$(=min(Date)) &amp;lt;=$(=min(Date)+6)"}&amp;gt;} PRICEOUT)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd need to see the calendar in order to be sure though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 19:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334423#M123308</guid>
      <dc:creator />
      <dc:date>2012-03-03T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334424#M123309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice! it seems to work! need to test it out some though, thank you very much! I'll tell you later how it went &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;One more thing, if i would like to also show the second week this would do it wouldnt it?&lt;/P&gt;&lt;P&gt;(Sum({$&amp;lt;Date={"&amp;gt;=$(=min(Date)) &amp;lt;=$(=min(Date)+13)"}&amp;gt;} PRICEOUT))-(Column(17))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(it is working but i just want to check that this is no major fault to do)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Column17 is the one for the first week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//BR&lt;BR /&gt;Patrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 20:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334424#M123309</guid>
      <dc:creator />
      <dc:date>2012-03-03T20:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334425#M123310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup that would work or you could add 7 days to the start date rather than subtracting Column(17) like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Date={"&amp;gt;=$(=min(Date)+7) &amp;lt;=$(=min(Date)+13)"}&amp;gt;} PRICEOUT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 20:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334425#M123310</guid>
      <dc:creator />
      <dc:date>2012-03-03T20:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334426#M123311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! smart! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I'll do that! it looks cleaner!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 20:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334426#M123311</guid>
      <dc:creator />
      <dc:date>2012-03-03T20:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334427#M123312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked! Don't forget to mark the solution to your question so that others with similar problems can find the answer easier. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 20:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334427#M123312</guid>
      <dc:creator />
      <dc:date>2012-03-03T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help (SetAnalysis)</title>
      <link>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334428#M123313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will do! I'll just need to test it some more!&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 20:42:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-some-help-SetAnalysis/m-p/334428#M123313</guid>
      <dc:creator />
      <dc:date>2012-03-03T20:42:49Z</dc:date>
    </item>
  </channel>
</rss>

