<?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 Aggregation function not working in preceding load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-function-not-working-in-preceding-load/m-p/1831948#M1214620</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; data with 10 columns which I am loading from qvd.In preceding load ,I am trying to calculate count (fieldname ) group by 2 dimensions(not all dimensions) in preceding load .It is returning me only the columns which I am loading in preceding load.Please see below code.&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Col1 ,Col2,count(Col 5) as TotalCount&lt;/P&gt;&lt;P&gt;group by&amp;nbsp;Col1 ,Col2;&lt;/P&gt;&lt;P&gt;Load Col1,Col2......Col10 from xyz.qvd(qvd);&lt;/P&gt;&lt;P&gt;I am getting only&amp;nbsp;Col1 ,Col2 and TotalCount in the model.I want to load other columns as well.&lt;/P&gt;&lt;P&gt;Can someone please tell what I am missing here?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Aug 2021 16:43:11 GMT</pubDate>
    <dc:creator>Adorable09</dc:creator>
    <dc:date>2021-08-28T16:43:11Z</dc:date>
    <item>
      <title>Aggregation function not working in preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-not-working-in-preceding-load/m-p/1831948#M1214620</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; data with 10 columns which I am loading from qvd.In preceding load ,I am trying to calculate count (fieldname ) group by 2 dimensions(not all dimensions) in preceding load .It is returning me only the columns which I am loading in preceding load.Please see below code.&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Col1 ,Col2,count(Col 5) as TotalCount&lt;/P&gt;&lt;P&gt;group by&amp;nbsp;Col1 ,Col2;&lt;/P&gt;&lt;P&gt;Load Col1,Col2......Col10 from xyz.qvd(qvd);&lt;/P&gt;&lt;P&gt;I am getting only&amp;nbsp;Col1 ,Col2 and TotalCount in the model.I want to load other columns as well.&lt;/P&gt;&lt;P&gt;Can someone please tell what I am missing here?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 16:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-not-working-in-preceding-load/m-p/1831948#M1214620</guid>
      <dc:creator>Adorable09</dc:creator>
      <dc:date>2021-08-28T16:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation function not working in preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-function-not-working-in-preceding-load/m-p/1831952#M1214621</link>
      <description>&lt;P&gt;That's expected, your result is just what fields are in the preceeding load.&lt;/P&gt;&lt;P&gt;You can do your group by and join it back with your other columns but this may cause duplicate data, in that case you can keep it as a seperate table:&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Col1 &amp;amp; '|' &amp;amp; Col2 as %Key_Col_1_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Col1,Col2......Col10 from xyz.qvd(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Table1_aggrCol1Col2:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load Distinct&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%Key_Col_1_2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,count(Col 5) as TotalCount&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;resident&amp;nbsp;Table1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;group by &lt;SPAN&gt;%Key_Col_1_2&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 17:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-function-not-working-in-preceding-load/m-p/1831952#M1214621</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-08-28T17:36:36Z</dc:date>
    </item>
  </channel>
</rss>

