<?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: Sense: Set Analysis with variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250569#M395869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below expressions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;HrAPKO={ 'A' },Boekjaar={'=Boekjaar=$(vLastYear)'}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({$&amp;lt;HrAPKO={ 'A' },Boekjaar={'=Boekjaar=$(vYear)'}&amp;gt;}Bedrag)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2017 12:48:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-03-21T12:48:36Z</dc:date>
    <item>
      <title>Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250563#M395863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp; new to Sense. And I wan't to use set analysis with a variable in a pivot table.&lt;/P&gt;&lt;P&gt;I've created a pivot table with 2 measures. Onde with the data of this year and one withe the data of last year.&lt;/P&gt;&lt;P&gt;Now I get in both columns the same value.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="variable2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/156960_variable2.JPG" style="height: 324px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created 2 variables. like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="variable.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156959_variable.JPG" style="height: 443px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the pivot table I created 2 measures:&lt;/P&gt;&lt;P&gt;For last year:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="variable3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/156961_variable3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;expression : sum({ $ &amp;lt;HrAPKO={ 'A' }, Boekjaar = {'(=$(vLastYear))'}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this year&lt;/P&gt;&lt;P&gt;&lt;IMG alt="variable4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/156971_variable4.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;expression sum({ $ &amp;lt;HrAPKO={ 'A' }&amp;gt;}Bedrag).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does the year selection not work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250563#M395863</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2017-03-21T12:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250564#M395864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to include the current year within the set analysis, too like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({ $ &amp;lt;HrAPKO={ 'A' }, Boekjaar = {'(=$(vYear))'}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250564#M395864</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-21T12:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250565#M395865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may forget to add this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({ $ &amp;lt;HrAPKO={ 'A' }, &lt;SPAN style="color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Boekjaar = {'(=$(vYear))'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Bedrag)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250565#M395865</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-21T12:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250566#M395866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, I've added the set analysis instruction to the measure for this year.&lt;/P&gt;&lt;P&gt;But I had selected 2017 so this data was correct.&lt;/P&gt;&lt;P&gt;I only see the data for 2017 in the column of last year (2016) an the column of this year (2017)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250566#M395866</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2017-03-21T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250567#M395867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a change by the variable-call like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({ $ &amp;lt;HrAPKO={ 'A' }, Boekjaar = {$(vYear)}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;sum({ $ &amp;lt;HrAPKO={ 'A' }, Boekjaar = {$(vLastYear)}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250567#M395867</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-21T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250568#M395868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks marcus.&lt;/P&gt;&lt;P&gt;This works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250568#M395868</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2017-03-21T12:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sense: Set Analysis with variable</title>
      <link>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250569#M395869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below expressions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;HrAPKO={ 'A' },Boekjaar={'=Boekjaar=$(vLastYear)'}&amp;gt;}Bedrag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({$&amp;lt;HrAPKO={ 'A' },Boekjaar={'=Boekjaar=$(vYear)'}&amp;gt;}Bedrag)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 12:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sense-Set-Analysis-with-variable/m-p/1250569#M395869</guid>
      <dc:creator />
      <dc:date>2017-03-21T12:48:36Z</dc:date>
    </item>
  </channel>
</rss>

