<?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: Multiple Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796150#M665392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 previous exp works, you can add another condition&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;sum({&amp;lt;Date={"&amp;gt;=$(=date(today()-31))&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;$(=date(today()-0))&lt;/STRONG&gt;&lt;/SPAN&gt;"},[Shift Source]={"Agency"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WorkedHours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;see attachment&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2014 15:52:30 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-12-08T15:52:30Z</dc:date>
    <item>
      <title>Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796146#M665388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am looking for a set analysis for a chart.&amp;nbsp; My criteria is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date within the last 31 days&lt;/P&gt;&lt;P&gt;Shift Source = 'Agency'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to sum 'WorkedHours')&lt;/P&gt;&lt;P&gt;Can anyone help, it is driving me insane???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796146#M665388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T15:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796147#M665389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;=$(=date(today()-31))"},[Shift Source]={"Agency"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WorkedHours)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796147#M665389</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-12-08T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796148#M665390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there are dates which are in the future, so this statement would include those dates.&amp;nbsp; This solution you gave will show anything greater than 31 days old.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it to only be for the last 31 days (not future dates)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796148#M665390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T15:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796149#M665391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no problem use this &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;Date={"&amp;gt;=$(=date(today()-31)) &amp;lt;=$(=date(today()))"},[Shift Source]={"Agency"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WorkedHours)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796149#M665391</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-12-08T15:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796150#M665392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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 previous exp works, you can add another condition&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;sum({&amp;lt;Date={"&amp;gt;=$(=date(today()-31))&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;$(=date(today()-0))&lt;/STRONG&gt;&lt;/SPAN&gt;"},[Shift Source]={"Agency"}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WorkedHours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;see attachment&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796150#M665392</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-12-08T15:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796151#M665393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Afraid Not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it like this based on my fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Roster_RosterDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=date(today()-31)) &amp;lt;=$(=date(today()))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Shift_Source]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'NHSP'}&amp;gt;} (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Roster_TargetHours&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/60)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have also set some variables in the script, I don't know if that is something I could try, I just seem to get lost in quotes, brackets, etc :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vdaysAgo31&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-31);&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vYesterday&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()-1); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 15:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796151#M665393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T15:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796152#M665394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just doesn't seem to want to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it may be something to do with the date format (or not) which is why I was thinking of using the variables, as they seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to use them in the statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796152#M665394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-08T16:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796153#M665395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all mentioned above looks right, but maybe instead of double quoted marks use ' ', but not sure if it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796153#M665395</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2014-12-08T16:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796154#M665396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, you can&lt;/P&gt;&lt;P&gt;I added an expression (last column) to my example&lt;/P&gt;&lt;P&gt;result is the same (with variable or with expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another help:if you remove the label of the expresssions (as in my .qvw) you can see the date used in set analysis&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" height="271" src="https://community.qlik.com/legacyfs/online/73010_1.png" style="width: 550px; height: 271.451612903226px;" width="550" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 16:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796154#M665396</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-12-08T16:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796155#M665397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, a bit starnge, but I created a new field Date(RosterDate) and then applied this to the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2014 07:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Set-analysis/m-p/796155#M665397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-09T07:53:35Z</dc:date>
    </item>
  </channel>
</rss>

