<?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: Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198282#M386236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you're saying that there will be only a single value for transBASEPRICE for a given transDATE and for 200 Club Center? Then you could use only() to indicate this, but any of the 3 expressions above should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2016 18:55:27 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2016-10-14T18:55:27Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198279#M386233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking to create a chart to compare prices over time for several different expressions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time = transDATE (my dimension)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields I want to chart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -capLEVEL (examples of records in this field are "200 Club Center" "100 Level III"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -transBASEPRICE (dollar value that is dependent upon the transDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think my expression should be something along the lines of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=transBASEPRICE({$&amp;lt;capLEVEL={"200 Club Center"})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i cannot seem to get this to work. Where is my syntax incorrect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198279#M386233</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2016-10-14T18:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198280#M386234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sum( {&amp;lt;capLEVEL={'200 Club Center'}&amp;gt;} transBASEPRICE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;only({&amp;lt;capLEVEL={'200 Club Center'}&amp;gt;} transBASEPRICE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;avg( {&amp;lt;capLEVEL={'200 Club Center'}&amp;gt;} transBASEPRICE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what you want to do with the transBASEPRICE, so I can't give you an exact answer. I'm also unclear if you really only want them for 200 Club Center, or if that's not the real requirement at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198280#M386234</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-14T18:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198281#M386235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. What I would like the chart to show is the transBASEPRICE for 200 Club Center on the transDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, over time the chart would show the movement of the price based on the transDATE. Not sure if I want to sum the number, but hope that provides some clarity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198281#M386235</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2016-10-14T18:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198282#M386236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you're saying that there will be only a single value for transBASEPRICE for a given transDATE and for 200 Club Center? Then you could use only() to indicate this, but any of the 3 expressions above should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 18:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198282#M386236</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-14T18:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198283#M386237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That can and cannot be true. This data set consists of transactions. So on any transDATE, there can multiple transactions (transBASEPRICE) for the 200 Club Center, so in that line of thinking, I would think that sum would not work because if there are two transactions for 200 Club Center, say for $100 each, then the data point would be $200 for that particular transDATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would something like this work as well??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max( {&amp;lt;capLEVEL={'200 Club Center'}&amp;gt;} transBASEPRICE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198283#M386237</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2016-10-14T19:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198284#M386238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the set expression should work with any aggregation function. If you want the maximum transBASEPRICE, then the expression you gave looks correct to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:04:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1198284#M386238</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-10-14T19:04:44Z</dc:date>
    </item>
  </channel>
</rss>

