<?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 How do I aggregate data from Dimension 2 for Dimension 1? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211582#M519248</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 really did not know what to call this, so I will give you my scenario and hope that someone has accomplished this already&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension that has 500 values.&amp;nbsp; In my example it is model of cars.&amp;nbsp;&amp;nbsp; Each car can have multiple colors.&amp;nbsp; Dimension 2 is the color.&amp;nbsp; My goal is to create a straight table where I can aggregate the possible colors for each model into one cell.&amp;nbsp; It is possible for there to be 10 red mustangs, so I would only want red listed once in the Aggregation expression.&amp;nbsp; Optimally the values in the expression are separate by commas, but any other delimiter is fine.&amp;nbsp;&amp;nbsp; There is a unique field that has a ID number for each car, but I will not use that in the chart, so there are not really duplicate records in the table of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I can not share my actual data, but if you can solve this problem, I can apply it to my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dimensional Aggregation.PNG" class="jive-image image-1" src="/legacyfs/online/141648_Dimensional Aggregation.PNG" style="width: 620px; height: 206px;" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Oct 2016 13:39:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-23T13:39:05Z</dc:date>
    <item>
      <title>How do I aggregate data from Dimension 2 for Dimension 1?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211582#M519248</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 really did not know what to call this, so I will give you my scenario and hope that someone has accomplished this already&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension that has 500 values.&amp;nbsp; In my example it is model of cars.&amp;nbsp;&amp;nbsp; Each car can have multiple colors.&amp;nbsp; Dimension 2 is the color.&amp;nbsp; My goal is to create a straight table where I can aggregate the possible colors for each model into one cell.&amp;nbsp; It is possible for there to be 10 red mustangs, so I would only want red listed once in the Aggregation expression.&amp;nbsp; Optimally the values in the expression are separate by commas, but any other delimiter is fine.&amp;nbsp;&amp;nbsp; There is a unique field that has a ID number for each car, but I will not use that in the chart, so there are not really duplicate records in the table of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I can not share my actual data, but if you can solve this problem, I can apply it to my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dimensional Aggregation.PNG" class="jive-image image-1" src="/legacyfs/online/141648_Dimensional Aggregation.PNG" style="width: 620px; height: 206px;" /&gt;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 13:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211582#M519248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-23T13:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I aggregate data from Dimension 2 for Dimension 1?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211583#M519249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try creating a straight table chart with dimension [Car Model] and expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat(DISTINCT [Color], ', ') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 13:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211583#M519249</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-10-23T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I aggregate data from Dimension 2 for Dimension 1?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211584#M519250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick response on a Sunday!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works great except that it puts a comma after the last value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Red, Blue, Green,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple solution is to change the delimiter to a space, but is there a way to tell it to only put the delimiter between the values and not after the last possible one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Red, Green, Blue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 14:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211584#M519250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-23T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I aggregate data from Dimension 2 for Dimension 1?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211585#M519251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shouldn't work like this, there should not be an extra delimiter after the last value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post your exact expression you are using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 14:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211585#M519251</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-10-23T14:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I aggregate data from Dimension 2 for Dimension 1?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211586#M519252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, I had an '&amp;amp;' between the dimension and the delimiter, so it was adding the delimiter each time.&amp;nbsp;&amp;nbsp; It was left over from my previous efforts and I had not removed it.&amp;nbsp; When I use your exact syntax, I do get the desired results.&amp;nbsp; I went ahead and added a&amp;nbsp; space after the comma in the delimiter ', ' so that I could read the results easier.&amp;nbsp;&amp;nbsp; I do appreciate your assistance! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 14:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-aggregate-data-from-Dimension-2-for-Dimension-1/m-p/1211586#M519252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-23T14:49:23Z</dc:date>
    </item>
  </channel>
</rss>

