<?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 Dimension in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1634234#M446682</link>
    <description>&lt;P&gt;Year is one of my dimensions.&lt;BR /&gt;I cannot get the year in the set analysis expression.&lt;BR /&gt;For the time being I have solved it this way:&lt;/P&gt;&lt;P&gt;if(Year=2018,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2018'}&amp;gt;} rate),&lt;BR /&gt;if(Year=2017,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2017'}&amp;gt;} rate),&lt;BR /&gt;if(Year=2016,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2016'}&amp;gt;} rate)&lt;/P&gt;&lt;P&gt;I am sure there must be a more efficient way.&lt;/P&gt;&lt;P&gt;Who can help ?&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 12:03:05 GMT</pubDate>
    <dc:creator>hansrokers</dc:creator>
    <dc:date>2019-10-11T12:03:05Z</dc:date>
    <item>
      <title>Dimension in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1634234#M446682</link>
      <description>&lt;P&gt;Year is one of my dimensions.&lt;BR /&gt;I cannot get the year in the set analysis expression.&lt;BR /&gt;For the time being I have solved it this way:&lt;/P&gt;&lt;P&gt;if(Year=2018,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2018'}&amp;gt;} rate),&lt;BR /&gt;if(Year=2017,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2017'}&amp;gt;} rate),&lt;BR /&gt;if(Year=2016,sum(amount) * max({$ &amp;lt;[date-cur] = {'31-12-2016'}&amp;gt;} rate)&lt;/P&gt;&lt;P&gt;I am sure there must be a more efficient way.&lt;/P&gt;&lt;P&gt;Who can help ?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 12:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1634234#M446682</guid>
      <dc:creator>hansrokers</dc:creator>
      <dc:date>2019-10-11T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1634408#M446689</link>
      <description>i am assuming the year is not related to date-cur.&lt;BR /&gt;if not maybe you can try associating them.</description>
      <pubDate>Fri, 11 Oct 2019 18:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1634408#M446689</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-10-11T18:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1636181#M446801</link>
      <description>&lt;P&gt;Below is Design Blog post on Set Analysis, and there are 4 other links at the bottom of the post pointing to other related posts that may be of some help here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want to search the Design Blog area yourself, here is the base URL:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 15:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-in-set-analysis/m-p/1636181#M446801</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-16T15:07:53Z</dc:date>
    </item>
  </channel>
</rss>

