<?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 Reference Current Dimension value in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300306#M111195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A Set selection is executed once for the entire chart, so you can't vary by dimension. Instead use an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(year2=year, Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 15:14:32 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2011-12-14T15:14:32Z</dc:date>
    <item>
      <title>Reference Current Dimension value in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300305#M111194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with a dimension of year (2008,2009,2010,2011).&amp;nbsp; I also have another field called year2, and there is no appropriate link between year and year2, year2 has no association.&amp;nbsp; What I want to do is get a total of sales as one of my expressions in my straight table based on the value of the dimension of the chart.&amp;nbsp; For instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year2={WhateverTheYearImOnInTheChart} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2008 - $1000&lt;/P&gt;&lt;P&gt;2009 - $500&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone tell me how I could pass the dimension value (WhateverTheYearImOnInTheChart) to my set analysis expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 14:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300305#M111194</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2011-12-14T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Reference Current Dimension value in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300306#M111195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A Set selection is executed once for the entire chart, so you can't vary by dimension. Instead use an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(year2=year, Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 15:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300306#M111195</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-12-14T15:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Current Dimension value in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300307#M111196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makes since, but it didn't work.&amp;nbsp; I believe it is treating year2 and year as text values and saying it never equals.&amp;nbsp; I'm attaching a sample based on the formula above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 15:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300307#M111196</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2011-12-14T15:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Current Dimension value in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300308#M111197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I described very well what I want to have happen, on the 2011 record, based on my test data, I want 500 displayed and so on, since year2 of 2010 is year of 2011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 15:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Current-Dimension-value-in-Set-Analysis/m-p/300308#M111197</guid>
      <dc:creator>joshabbott</dc:creator>
      <dc:date>2011-12-14T15:25:51Z</dc:date>
    </item>
  </channel>
</rss>

