<?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 Re: concat aggr? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concat-aggr/m-p/731920#M474178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=Concat( _Dimension_Pick,',')) so that the concat is calculated outside the context of the rest of the expression. Coincidentally I just posted something similar here: &lt;A href="https://community.qlik.com/thread/135930"&gt;Conditional show Straight table based on number of rows&lt;/A&gt;. Perhaps you can use that example to see how/that it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Oct 2014 14:12:00 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-10-01T14:12:00Z</dc:date>
    <item>
      <title>concat aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/concat-aggr/m-p/731919#M474177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a complex formula to derive a certain value based on aggr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ( VPERF_Inter_Gateway_Barge_Indicator = 'X', &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum ( Aggr ( Sum ( VPERF_Total_Moves * VPERF_Vessel_Rate ), text($(Concat ( _Dimension_Pick,','))) ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum ( Aggr ( Sum ( VPERF_Total_Moves ), text($(Concat ( _Dimension_Pick,','))) ))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_Dimension_Pick is a selection for user to select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_Dimension_Pick:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;_Dimension_Pick &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Box, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEU, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Terminal_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vessel_Type,&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on user selection, the aggr selection will show tweak to achieve the correct formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, based on the expression above, it gives an error as it is unable to read text($(Concat ( _Dimension_Pick,','))) whileas textbox does when i insert the code. any reason why&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 01:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concat-aggr/m-p/731919#M474177</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-10-01T01:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: concat aggr?</title>
      <link>https://community.qlik.com/t5/QlikView/concat-aggr/m-p/731920#M474178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=Concat( _Dimension_Pick,',')) so that the concat is calculated outside the context of the rest of the expression. Coincidentally I just posted something similar here: &lt;A href="https://community.qlik.com/thread/135930"&gt;Conditional show Straight table based on number of rows&lt;/A&gt;. Perhaps you can use that example to see how/that it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 14:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concat-aggr/m-p/731920#M474178</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-10-01T14:12:00Z</dc:date>
    </item>
  </channel>
</rss>

