<?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: Sets within sets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sets-within-sets/m-p/525809#M482794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank, try this:&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;year = {$(vYearOne)},month={"*"}, &lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;type=P(type)&lt;/EM&gt;&lt;/SPAN&gt;&amp;gt;}DollarAmount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 18:23:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-25T18:23:39Z</dc:date>
    <item>
      <title>Sets within sets</title>
      <link>https://community.qlik.com/t5/QlikView/Sets-within-sets/m-p/525808#M482793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart that displays the past three years and current YTD DollarAmount. This is broken down by two types.&lt;/P&gt;&lt;P&gt;Please excuse the lack of code formatting. I read the document followed the steps outlined therein and have not been able to paste in the code.&lt;/P&gt;&lt;P&gt;Currently I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =sum({1&amp;lt;year = {$(vYearOne)},month={"*"}&amp;gt;}DollarAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYearOne is a variable that resolves to last year. There are two other variables for the previous years. Months should be selectable for the current year only. Type should change with the selection. So expression total from 2012 should include all of the months but change according to the type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to include the current set type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;year = {$(vYearOne)},month={"*"}, &lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;type={$}&lt;/EM&gt;&lt;/SPAN&gt;&amp;gt;}DollarAmount)&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13747756128492409" jivemacro_uid="_13747756128492409"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to go about this. I would appreciate any ideas/assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sets-within-sets/m-p/525808#M482793</guid>
      <dc:creator />
      <dc:date>2013-07-25T18:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sets within sets</title>
      <link>https://community.qlik.com/t5/QlikView/Sets-within-sets/m-p/525809#M482794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Frank, try this:&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;year = {$(vYearOne)},month={"*"}, &lt;SPAN style="color: #3366ff;"&gt;&lt;EM&gt;type=P(type)&lt;/EM&gt;&lt;/SPAN&gt;&amp;gt;}DollarAmount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 18:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sets-within-sets/m-p/525809#M482794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-25T18:23:39Z</dc:date>
    </item>
  </channel>
</rss>

