<?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: Reference a dimension value in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reference-a-dimension-value-in-set-analysis/m-p/448668#M167441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not possible with set analysis, which is calculated once for the entire chart and does not take dimensions into accounts. To conduct a check on dimensions, you will need to use straight conditional logic (IF or PICK or something).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 21:06:59 GMT</pubDate>
    <dc:creator>vgutkovsky</dc:creator>
    <dc:date>2012-12-18T21:06:59Z</dc:date>
    <item>
      <title>Reference a dimension value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-a-dimension-value-in-set-analysis/m-p/448667#M167440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to pull specific ranks from an aggregation of values. Currently, I'm using this expression:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;IDKey={"=aggr(nodistinct rank(Sum(Losses),4,1),Year)=1"}&amp;gt;}Our_Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5 times, with different equals values (let's say =1, =2, =3, =4, and =5).&lt;/P&gt;&lt;P&gt;If I set a dimension with values 1, 2, 3, 4, 5, is there a way to reference the dimension in the expression? I created a new table with the values, called NumList, and tried this:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;IDKey={"=aggr(nodistinct rank(Sum(Losses),4,1),NumList,Year)=NumList"}&amp;gt;}Our_Loss)&lt;/P&gt;&lt;P&gt;but it didn't work.&lt;/P&gt;&lt;P&gt;Any ideas on how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 18:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-a-dimension-value-in-set-analysis/m-p/448667#M167440</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-12-18T18:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reference a dimension value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-a-dimension-value-in-set-analysis/m-p/448668#M167441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not possible with set analysis, which is calculated once for the entire chart and does not take dimensions into accounts. To conduct a check on dimensions, you will need to use straight conditional logic (IF or PICK or something).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 21:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-a-dimension-value-in-set-analysis/m-p/448668#M167441</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-18T21:06:59Z</dc:date>
    </item>
  </channel>
</rss>

