<?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: Convert this into (working) set analysis please (I R FAIL) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509793#M190510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;sum ({&amp;lt;[DateFieldA]= {"&amp;lt;=$(=date(FixedDate))&amp;gt;=$(=date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ADDMONTHS(FixedDateField,-12)&lt;/SPAN&gt;))"},&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(DateFieldB)= {"&amp;lt;=$(=date(FixedDate)) " } &amp;gt;} MyValue)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 12:38:13 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2013-11-29T12:38:13Z</dc:date>
    <item>
      <title>Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509792#M190509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Calculate the sum of MyValue where the following conditions are met:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;DatefieldA is greater than or equal to ADDMONTHS(FixedDateField,-12)&lt;/LI&gt;&lt;LI&gt;DatefieldA is less than FixedDateField&lt;/LI&gt;&lt;LI&gt;Min(DateFieldB) is less than FixedDateField&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to get the expression correct I'm afraid &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 12:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509792#M190509</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2013-11-29T12:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509793#M190510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;sum ({&amp;lt;[DateFieldA]= {"&amp;lt;=$(=date(FixedDate))&amp;gt;=$(=date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ADDMONTHS(FixedDateField,-12)&lt;/SPAN&gt;))"},&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Min(DateFieldB)= {"&amp;lt;=$(=date(FixedDate)) " } &amp;gt;} MyValue)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 12:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509793#M190510</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-29T12:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509794#M190511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rechard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Check this out bro..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;DatefieldA = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;" &amp;gt;=$(=addmonths(FixedDateField,-12)) &amp;lt;$(=FixedDateField)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} ,FixedDateField = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;$(=min(DatefieldA))"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;} &amp;gt;} Myvalue ) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;other wise If u want small expression then &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;take variables&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;v1 =addmonths(FixedDateField,-12)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;v2 =FixedDateField&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;v3 =min(DatefieldA)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;represent same expression like this&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;sum&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;DatefieldA = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;" &amp;gt;=$(v1)&amp;lt;$(v2)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} ,FixedDateField = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;$(v3)"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;} &amp;gt;} Myvalue ) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;koti&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 12:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509794#M190511</guid>
      <dc:creator />
      <dc:date>2013-11-29T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509795#M190512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That doesn't seem to work in situ (probably due to me not applying the code correctly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to measure the performance of a catalogue of items against a basket of 3 months of sales. I am failing to generate the "MatchedValue" correct on the attached app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will continue to investigate but I always struggle with set analysis that is this complicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 13:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509795#M190512</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2013-11-29T13:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509796#M190513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Koti I can certainly see how/why that should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it isn't working in the table because there are more factors involved than I have explained - completely my bad... I'm going to keep trying things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 13:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509796#M190513</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2013-11-29T13:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509797#M190514</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;The error comes in the Min(DateFieldB) - which is Min(AddedToCart).&lt;/P&gt;&lt;P&gt;It seems not to be possible to use it in Set Analysis. So we need to set a Min(AddedToCat) in every ItemId.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing the min, it works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sum ({&amp;lt;[Period]= {"&amp;lt;=$(=date(DateIsland))&amp;gt;=$(=date(ADDMONTHS(DateIsland,-3)))"}, AddedToCat= {"&amp;lt;=$(=date(DateIsland)) " } &amp;gt;} SalesVol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you need a date selected in date island field, otherwise it will always return 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 13:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509797#M190514</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-29T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert this into (working) set analysis please (I R FAIL)</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509798#M190515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does help thanks Salto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that on the live app there will be multiple AddToCat dates for different qualities of item and the end user needs to be able to make selections in Quality. So I need to be able to show the lowest AddedToCat for the selection across multiple qualities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking that it's probably something I'll have to try to resolve in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 14:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-this-into-working-set-analysis-please-I-R-FAIL/m-p/509798#M190515</guid>
      <dc:creator>felix18807</dc:creator>
      <dc:date>2013-11-29T14:09:14Z</dc:date>
    </item>
  </channel>
</rss>

