<?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 and Concat in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234287#M504336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have 2 tables like this:&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; account, Amount&lt;BR /&gt; a, 1200&lt;BR /&gt; b, 500&lt;BR /&gt; c, 100&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Group, Accounts&lt;BR /&gt; g1, "a"&lt;BR /&gt; g2, "a,b,c"&lt;BR /&gt; g3, "b"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;i use set analysis and concat, to group:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt; account = { $(=Concat(Accounts,',')) }&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;but the result is the total (1800)&lt;/P&gt;&lt;P&gt;[:S]&lt;/P&gt;&lt;P&gt;Thanks all for the help,&lt;/P&gt;&lt;P&gt;ja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2009 16:23:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-11-06T16:23:55Z</dc:date>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234287#M504336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have 2 tables like this:&lt;/P&gt;&lt;P&gt;table1:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; account, Amount&lt;BR /&gt; a, 1200&lt;BR /&gt; b, 500&lt;BR /&gt; c, 100&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Group, Accounts&lt;BR /&gt; g1, "a"&lt;BR /&gt; g2, "a,b,c"&lt;BR /&gt; g3, "b"&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;i use set analysis and concat, to group:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt; account = { $(=Concat(Accounts,',')) }&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;but the result is the total (1800)&lt;/P&gt;&lt;P&gt;[:S]&lt;/P&gt;&lt;P&gt;Thanks all for the help,&lt;/P&gt;&lt;P&gt;ja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 16:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234287#M504336</guid>
      <dc:creator />
      <dc:date>2009-11-06T16:23:55Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234288#M504337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is there a reason why your table could not look like this:&lt;/P&gt;&lt;P&gt;table2:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Group, account&lt;BR /&gt; g1, a&lt;BR /&gt; g2, a&lt;BR /&gt; g2, b&lt;BR /&gt; g2, c&lt;BR /&gt; g3, b&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 17:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234288#M504337</guid>
      <dc:creator />
      <dc:date>2009-11-06T17:40:54Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234289#M504338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer,&lt;/P&gt;&lt;P&gt;There is &lt;B&gt;not&lt;/B&gt; a real reason, is only a test structure for understand:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt; account = { $(=Concat(Accounts,',')) }&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:23:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234289#M504338</guid>
      <dc:creator />
      <dc:date>2009-11-06T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234290#M504339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with the current structure of table2, this expression wont work..as in one Accounts, you have several of the variables 'account'.&lt;/P&gt;&lt;P&gt;if you change the structure of the table to what Rainer suggests, that should work..&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:32:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234290#M504339</guid>
      <dc:creator />
      <dc:date>2009-11-06T18:32:30Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234291#M504340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at it, and find that the following expression in the table gives the desired result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(If(Concat(total account,',')=Accounts,Amount,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if you are mixing your account and Accounts in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 20:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234291#M504340</guid>
      <dc:creator>vidyut</dc:creator>
      <dc:date>2009-11-06T20:56:33Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234292#M504341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rainer, Navee, Vidyut&lt;/P&gt;&lt;P&gt;if i changed the structure, work fine,now.&lt;/P&gt;&lt;P&gt;thanks a lot...&lt;/P&gt;&lt;P&gt;ja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2009 02:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Concat/m-p/234292#M504341</guid>
      <dc:creator />
      <dc:date>2009-11-07T02:32:47Z</dc:date>
    </item>
  </channel>
</rss>

