<?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 Set analysis with $1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144157#M23193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thx for trying. The code doesnt give me the answer I was looking for.&lt;/P&gt;&lt;P&gt;I have modified your excampel a bit, to explain.&lt;/P&gt;&lt;P&gt;In text I want to have current selection for Type and Class, but previous selection for Marked. Like Sum( {$1}&amp;lt;Marked&amp;gt; &amp;lt;{$]Type,Class&amp;gt;}Sales) whitch does not work, and of course without having to type all $-Fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2009 16:37:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-15T16:37:45Z</dc:date>
    <item>
      <title>Set analysis with $1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144154#M23190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to use $1 on one dimension.&lt;/P&gt;&lt;P&gt;This works&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Sum({$&amp;lt; Aktiv = , Sammenlignelig = , Kjede = , Periode = &amp;gt;} Sales)&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;Should it be possible to write something like&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Sum({$1&amp;lt; Marked &amp;gt;} Sales)&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jerrik&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 20:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144154#M23190</guid>
      <dc:creator />
      <dc:date>2009-05-14T20:00:04Z</dc:date>
    </item>
    <item>
      <title>Set analysis with $1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144155#M23191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;$1 represents the previous selection, i.e. equivalent to pressing the &lt;STRONG&gt;Back&lt;/STRONG&gt; button.&lt;/P&gt;&lt;P&gt;Sum ({$1} Sales) , returns sales for the previous selection.&lt;/P&gt;&lt;P&gt;- Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2009 20:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144155#M23191</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2009-05-14T20:18:32Z</dc:date>
    </item>
    <item>
      <title>Set analysis with $1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144156#M23192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin:0in 0in 0pt;"&gt;While I have no idea how you would use it, and while the format is very ugly, I have come up with a way to say that you want the current selections for all fields except for a specific field, for which you want the previous selection. In the example file, I have four fields. Here's how I do what I think you want:&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;sum({$1&amp;lt;Type ={$(=concat(distinct Type ,','))}&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Class={$(=concat(distinct Class,','))}&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Sales={$(=concat(distinct Sales,','))}&amp;gt;}Sales)&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0in 0in 0pt;"&gt;Probably not a good idea in practice, but it was an interesting exercise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 02:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144156#M23192</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-05-15T02:14:32Z</dc:date>
    </item>
    <item>
      <title>Set analysis with $1</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144157#M23193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thx for trying. The code doesnt give me the answer I was looking for.&lt;/P&gt;&lt;P&gt;I have modified your excampel a bit, to explain.&lt;/P&gt;&lt;P&gt;In text I want to have current selection for Type and Class, but previous selection for Marked. Like Sum( {$1}&amp;lt;Marked&amp;gt; &amp;lt;{$]Type,Class&amp;gt;}Sales) whitch does not work, and of course without having to type all $-Fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2009 16:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-1/m-p/144157#M23193</guid>
      <dc:creator />
      <dc:date>2009-05-15T16:37:45Z</dc:date>
    </item>
  </channel>
</rss>

