<?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 Exists function for charts? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369854#M137516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a comparable function that can be used in charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set which I want to filter using a dummy field for various reasons. I have 9 fields, but let's use one to start. Let's call it User. So I created another table with the field called User2 from the original set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my dimension and expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt; =pick(match(num(aggr(rank(sum({1}Loss),4,1),Year_Sequence)),&lt;/P&gt;&lt;P&gt;1000,500,200,100,40,20,10,1),'1/10','1/20','1/50','1/100','1/250','1/500','1/1000','1/10000',)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression: &lt;/STRONG&gt;sum({1}Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to be able to filter the data using the User2 field, not the original User field. I think an exists function would be good for this, but that's only for scripts, not objects, right?&lt;/P&gt;&lt;P&gt;Any ideas on how to do this? Please don't try and convince me to do it with the original field, I have reasons for not wanting to - it's just complicated to explain why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 13:42:44 GMT</pubDate>
    <dc:creator>danielact</dc:creator>
    <dc:date>2012-05-25T13:42:44Z</dc:date>
    <item>
      <title>Exists function for charts?</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369854#M137516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a comparable function that can be used in charts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set which I want to filter using a dummy field for various reasons. I have 9 fields, but let's use one to start. Let's call it User. So I created another table with the field called User2 from the original set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my dimension and expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt; =pick(match(num(aggr(rank(sum({1}Loss),4,1),Year_Sequence)),&lt;/P&gt;&lt;P&gt;1000,500,200,100,40,20,10,1),'1/10','1/20','1/50','1/100','1/250','1/500','1/1000','1/10000',)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression: &lt;/STRONG&gt;sum({1}Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to be able to filter the data using the User2 field, not the original User field. I think an exists function would be good for this, but that's only for scripts, not objects, right?&lt;/P&gt;&lt;P&gt;Any ideas on how to do this? Please don't try and convince me to do it with the original field, I have reasons for not wanting to - it's just complicated to explain why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 13:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369854#M137516</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-05-25T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exists function for charts?</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369855#M137517</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;I think that you could use the P() function, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;User1 = P(User2)&amp;gt;} Loss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 14:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369855#M137517</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-25T14:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Exists function for charts?</title>
      <link>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369856#M137518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 15:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exists-function-for-charts/m-p/369856#M137518</guid>
      <dc:creator>danielact</dc:creator>
      <dc:date>2012-05-25T15:05:44Z</dc:date>
    </item>
  </channel>
</rss>

