<?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: Applying multiple, but separate, selections on one dimension using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applying-multiple-but-separate-selections-on-one-dimension-using/m-p/586014#M217454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis won't work in this case. Set Analysis modifiers run once for the entire chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want is the above() function to obtain the [Total Expenses] fro the previous row (dim value). Check out above in the help and you'll find some useful examples here on the forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2014 00:18:00 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-01-30T00:18:00Z</dc:date>
    <item>
      <title>Applying multiple, but separate, selections on one dimension using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-multiple-but-separate-selections-on-one-dimension-using/m-p/586013#M217453</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;This should be a simple question for a lot of you: I'm trying to display the same metric on dimension = [Fiscal Year] for three years in one chart, but the metric's denominator relies on [Total Expenses] from the &lt;EM&gt;previo&lt;/EM&gt;us year. So, 2013's metric uses 2012's expenses, 2012's metric uses 2011's expenses, etc. &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Below is what I have so far--I'd really appreciate any guidance anyone has to offer. Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Fiscal Year] = {2012, 2013, 2014}, &lt;EM&gt;***this simply selects the three years for the numerator&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [YTD]={'Already YTD'} &lt;EM&gt;***this ensures that [Liquid Assets], the numerator, does not get converted to MTD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;} &lt;/P&gt;&lt;P&gt;[Liquid Assets])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;{$&amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; YTD={'YTD'},&amp;nbsp;&amp;nbsp; &lt;EM&gt;***this normally aggregates MTD values to YTD values, but seems to be causing problems in this expression&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Quarter={4},&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;***this normally ensures that year-end values are considered; I currently have the [YTD] modifier commented out and this as not selecting anything&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Fiscal Year]={$(=Only([Fiscal Year])-1)},&amp;nbsp;&amp;nbsp; &lt;EM&gt;***this only works when I have a [Fiscal Year] selected&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; [Fiscal Year - Quarter]=&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;***this de-selection ensures that multiple [Fiscal Year] and [Quarter] combinations can be referenced&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;[Total Expenses])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 23:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-multiple-but-separate-selections-on-one-dimension-using/m-p/586013#M217453</guid>
      <dc:creator />
      <dc:date>2014-01-29T23:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Applying multiple, but separate, selections on one dimension using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-multiple-but-separate-selections-on-one-dimension-using/m-p/586014#M217454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis won't work in this case. Set Analysis modifiers run once for the entire chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want is the above() function to obtain the [Total Expenses] fro the previous row (dim value). Check out above in the help and you'll find some useful examples here on the forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 00:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-multiple-but-separate-selections-on-one-dimension-using/m-p/586014#M217454</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-01-30T00:18:00Z</dc:date>
    </item>
  </channel>
</rss>

