<?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 Help - Set-analysis and $ sign expansion. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130552#M371649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a challenge. I want to compare a selected period with the same period a year ago. In this case all the dates (Datum) between Jan2016 and May 2016 compared to &lt;SPAN style="font-size: 13.3333px;"&gt;Jan2015 and May 2015.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta Volume: sum(Volume)-&lt;STRONG&gt;Sum({$&amp;lt;Year=, Month=, Boekingsdatum=, Week=, MonthYear=, Datum={"&amp;gt;=$(=AddMonths(monthstart( Min(Datum)),-12))&amp;lt;=$(=AddMonths( Max(Datum),-12))"}&amp;gt;} Volume)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Note: The same logic is applied to different expressions, but the set analysis is the same.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125509_Picture1.jpg" style="height: 304px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The formula works perfectly until i make a selection in a field where there's only sales in april... &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125516_Picture2.jpg" style="height: 272px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the period evaluated is reduced by the selection, but i still want to compare Jan16-May 2016 to jan15-may16.&lt;/P&gt;&lt;P&gt;What is wrong in my formula? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 06:45:30 GMT</pubDate>
    <dc:creator>joris_lansdaal</dc:creator>
    <dc:date>2016-05-24T06:45:30Z</dc:date>
    <item>
      <title>Help - Set-analysis and $ sign expansion.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130552#M371649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a challenge. I want to compare a selected period with the same period a year ago. In this case all the dates (Datum) between Jan2016 and May 2016 compared to &lt;SPAN style="font-size: 13.3333px;"&gt;Jan2015 and May 2015.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta Volume: sum(Volume)-&lt;STRONG&gt;Sum({$&amp;lt;Year=, Month=, Boekingsdatum=, Week=, MonthYear=, Datum={"&amp;gt;=$(=AddMonths(monthstart( Min(Datum)),-12))&amp;lt;=$(=AddMonths( Max(Datum),-12))"}&amp;gt;} Volume)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Note: The same logic is applied to different expressions, but the set analysis is the same.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125509_Picture1.jpg" style="height: 304px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;The formula works perfectly until i make a selection in a field where there's only sales in april... &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Picture2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/125516_Picture2.jpg" style="height: 272px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the period evaluated is reduced by the selection, but i still want to compare Jan16-May 2016 to jan15-may16.&lt;/P&gt;&lt;P&gt;What is wrong in my formula? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 06:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130552#M371649</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-05-24T06:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Set-analysis and $ sign expansion.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130553#M371650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;at first I tought why is nobody able to help me out. I now release that I could have done a better job in describing my challenge. I&lt;SPAN style="font-size: 13.3333px;"&gt;'ve found a solution! &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 20:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130553#M371650</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-05-26T20:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Set-analysis and $ sign expansion.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130554#M371651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share what the solution was? Might be helpful for others in the future + I am curious what caused it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 20:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130554#M371651</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T20:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Set-analysis and $ sign expansion.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130555#M371652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first I used the field MonthYear to have the user select a certain period to analyse and compare to the same period last year. Selections can be made in other fields Like Channel ABND and BQS. &lt;/P&gt;&lt;P&gt;The challenge I faced was that certain combinations in Channel and BQS didn't have sales in all months. Like in the example only in sales in april16 occured. And instead of&amp;nbsp; comparing the sales for this combination in the period&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; Jan16-May 2016 compared to jan15-may16, now Apr16 is compared to apr15.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;I looked for an answer in GetSelectedField(MonthYear) but finaly made an alternative List Box MonthYear_Select and used below expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;((Sum({&amp;lt;Year=, Month=, Week=, Datum=, MonthYear=,Datum={"&amp;gt;=$(=AddMonths(Monthstart(Min(MonthYear_Select)),0))&amp;lt;=$(=AddMonths(MonthEnd(Max(MonthYear_Select)),0))"}&amp;gt;} Volume))/1000*VarFactor&lt;/P&gt;&lt;P&gt;-(Sum({&amp;lt;Year=, Month=, Week=, Datum=, MonthYear=,Datum={"&amp;gt;=$(=AddMonths(Monthstart(Min(MonthYear_Select)),-12))&amp;lt;=$(=AddMonths(MonthEnd(Max(MonthYear_Select)),-12))"}&amp;gt;} Volume))/1000*VarFactor)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Knipsel1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125937_Knipsel1.PNG" style="height: 241px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 21:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130555#M371652</guid>
      <dc:creator>joris_lansdaal</dc:creator>
      <dc:date>2016-05-26T21:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help - Set-analysis and $ sign expansion.</title>
      <link>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130556#M371653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing this with all of us &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 22:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-Set-analysis-and-sign-expansion/m-p/1130556#M371653</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-26T22:29:16Z</dc:date>
    </item>
  </channel>
</rss>

