<?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 to show dimension with 'random' description? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272915#M517700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple question, but I can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data&lt;/P&gt;&lt;P&gt;Code, Description, Amount&lt;/P&gt;&lt;P&gt;10,&amp;nbsp;&amp;nbsp; Description10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;10,&amp;nbsp;&amp;nbsp; Desription10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;20,&amp;nbsp;&amp;nbsp; Description 20,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&lt;/P&gt;&lt;P&gt;20,&amp;nbsp;&amp;nbsp; DESCRIPTION 20,&amp;nbsp; 400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a simple table with dimension 'Code' and expression SUM(Amount)&lt;/P&gt;&lt;P&gt;So far so good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I don't want to only display the Code, but also one of the descriptions. As you can see there are typos in the source data (desription instead of description). So when My dimension is Code and the second dimension is Description, than I have 4 rows instead of 2.&lt;/P&gt;&lt;P&gt;I want to group on Code and display one of the descriptions behind the code within that dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried as dimension AGGR(Description,Code) but that doesn't work.&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2016 10:54:52 GMT</pubDate>
    <dc:creator>heij1421</dc:creator>
    <dc:date>2016-12-16T10:54:52Z</dc:date>
    <item>
      <title>How to show dimension with 'random' description?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272915#M517700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple question, but I can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data&lt;/P&gt;&lt;P&gt;Code, Description, Amount&lt;/P&gt;&lt;P&gt;10,&amp;nbsp;&amp;nbsp; Description10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;10,&amp;nbsp;&amp;nbsp; Desription10,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;20,&amp;nbsp;&amp;nbsp; Description 20,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&lt;/P&gt;&lt;P&gt;20,&amp;nbsp;&amp;nbsp; DESCRIPTION 20,&amp;nbsp; 400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a simple table with dimension 'Code' and expression SUM(Amount)&lt;/P&gt;&lt;P&gt;So far so good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I don't want to only display the Code, but also one of the descriptions. As you can see there are typos in the source data (desription instead of description). So when My dimension is Code and the second dimension is Description, than I have 4 rows instead of 2.&lt;/P&gt;&lt;P&gt;I want to group on Code and display one of the descriptions behind the code within that dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried as dimension AGGR(Description,Code) but that doesn't work.&lt;/P&gt;&lt;P&gt;Thanks for helping.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272915#M517700</guid>
      <dc:creator>heij1421</dc:creator>
      <dc:date>2016-12-16T10:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to show dimension with 'random' description?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272916#M517701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try AGGR(MaxString(Description),Code) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or if you already use Code as dimension use&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; an expression&lt;/SPAN&gt; MaxString(Description) instead of using a calculating dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272916#M517701</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-12-16T10:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to show dimension with 'random' description?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272917#M517702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. The maxstring did the trick!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 11:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-dimension-with-random-description/m-p/1272917#M517702</guid>
      <dc:creator>heij1421</dc:creator>
      <dc:date>2016-12-16T11:29:56Z</dc:date>
    </item>
  </channel>
</rss>

