<?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 Dynamic set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201004#M504001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion. However, it is not possible to do that. My sample is "boil down" of the actual problem and there is no way that I can associate the "Line"-field with the transactions table.&lt;/P&gt;&lt;P&gt;But thanks anyway!&lt;/P&gt;&lt;P&gt;/Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jan 2010 22:32:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-05T22:32:29Z</dc:date>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201000#M503997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm currently building a QV application, where each line in a straight table must use different bookmarks for the set analysis.&lt;BR /&gt;&lt;BR /&gt;In my small sample I use the following expression - which works perfectly:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if (Line=1, sum({BM1} Amount),&lt;BR /&gt;if (Line=2, sum({BM2} Amount),&lt;BR /&gt;if (Line=3, sum({BM3} Amount),&lt;BR /&gt;-1)))&lt;BR /&gt;&lt;BR /&gt;However, this expression is not very scalable, and I do not know the number of lines in advance.&lt;BR /&gt;&lt;BR /&gt;I have tried re-writing this to something like this:&lt;BR /&gt;&lt;BR /&gt;sum({$(=concat('BM0' &amp;amp; Line))} Amount)&lt;BR /&gt;&lt;BR /&gt;But it doesn't seem to work. Any ideas?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 10:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201000#M503997</guid>
      <dc:creator />
      <dc:date>2010-01-05T10:08:27Z</dc:date>
    </item>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201001#M503998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steen,&lt;/P&gt;&lt;P&gt;I've tried upload a file but there is an error in the server, so, I write the solution:&lt;/P&gt;&lt;P&gt;Create a variable: v_field = 'BM' &amp;amp; Max(Linea)&lt;/P&gt;&lt;P&gt;The expression: =Sum({$(#v_field)} Amount )&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201001#M503998</guid>
      <dc:creator />
      <dc:date>2010-01-05T11:10:16Z</dc:date>
    </item>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201002#M503999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you quick response.&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't seem to do the trick (unless I misunderstood your advice).&lt;/P&gt;&lt;P&gt;I have made a small sample of the problem showing the expected result and a second area trying to use your advice with variables.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 21:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201002#M503999</guid>
      <dc:creator />
      <dc:date>2010-01-05T21:33:19Z</dc:date>
    </item>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201003#M504000</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 would suggest to somehow associate the Field 'Line' To the Transactions table and continue using it as Dimension in your Straight table. If you do that, there would be no need to use Set Analysis.&lt;/P&gt;&lt;P&gt;Just a thought.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 21:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201003#M504000</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-01-05T21:54:25Z</dc:date>
    </item>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201004#M504001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion. However, it is not possible to do that. My sample is "boil down" of the actual problem and there is no way that I can associate the "Line"-field with the transactions table.&lt;/P&gt;&lt;P&gt;But thanks anyway!&lt;/P&gt;&lt;P&gt;/Steen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 22:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201004#M504001</guid>
      <dc:creator />
      <dc:date>2010-01-05T22:32:29Z</dc:date>
    </item>
    <item>
      <title>Dynamic set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201005#M504002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steen,&lt;/P&gt;&lt;P&gt;the specific problem that you presented might not have the solution that you are looking for - mainly because Set Analysis expressions, naturally, are evaluated over the full data set, and they can't be calculated based on the line numbers.&lt;/P&gt;&lt;P&gt;I'm questioning your initial statement that locked you into a problem with no solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;SteenOlesen wrote:I'm currently building a QV application, where each line in a straight table must use different bookmarks for the set analysis.&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Perhaps you could come up with a different technique that solves your business problem, except for using Bookmarks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 07:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-set-analysis/m-p/201005#M504002</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-01-06T07:26:01Z</dc:date>
    </item>
  </channel>
</rss>

