<?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 Group By in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-By/m-p/1812839#M1212746</link>
    <description>&lt;P&gt;I have a qvd that has duplicate Bframeid 's (account number)&amp;nbsp; which is causing my total to be 2 records higher than it should be.&amp;nbsp; I am trying to use a group by statement to remove the duplicate Bframeid's but doing this results in my total number of Bframeid's to be almost twice as high.&lt;/P&gt;&lt;P&gt;Below is what I had where I was getting a couple extra Bframeid's because the qvd had duplicate Bframeid's.&lt;/P&gt;&lt;P&gt;left join (distinct_soli)&lt;/P&gt;&lt;P&gt;FDR:&lt;BR /&gt;LOAD&lt;BR /&gt;[Bframeid] as [ACCT_ID],&lt;BR /&gt;[Bframeid] as [ACCT_ID_FDR],&lt;BR /&gt;[OPENDATE]&lt;BR /&gt;FROM [..\..\..\QVD\QVD_FDR.qvd](qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the group by below to remove duplicate Bframeid's&amp;nbsp; caused my number of accounts to almost double.&amp;nbsp;&lt;/P&gt;&lt;P&gt;left join (distinct_soli)&lt;/P&gt;&lt;P&gt;FDR:&lt;BR /&gt;LOAD&lt;BR /&gt;[Bframeid] as [ACCT_ID],&lt;BR /&gt;[Bframeid] as [ACCT_ID_FDR],&lt;BR /&gt;min([OPENDATE]) as [OPENDATE]&lt;/P&gt;&lt;P&gt;FROM [..\..\..\QVD\QVD_FDR.qvd](qvd)&lt;BR /&gt;GROUP BY [Bframeid] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this is happening? I don't understand how removing duplicate Bframeid's would increase my total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 21:12:10 GMT</pubDate>
    <dc:creator>qlikuser2021</dc:creator>
    <dc:date>2021-06-03T21:12:10Z</dc:date>
    <item>
      <title>Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By/m-p/1812839#M1212746</link>
      <description>&lt;P&gt;I have a qvd that has duplicate Bframeid 's (account number)&amp;nbsp; which is causing my total to be 2 records higher than it should be.&amp;nbsp; I am trying to use a group by statement to remove the duplicate Bframeid's but doing this results in my total number of Bframeid's to be almost twice as high.&lt;/P&gt;&lt;P&gt;Below is what I had where I was getting a couple extra Bframeid's because the qvd had duplicate Bframeid's.&lt;/P&gt;&lt;P&gt;left join (distinct_soli)&lt;/P&gt;&lt;P&gt;FDR:&lt;BR /&gt;LOAD&lt;BR /&gt;[Bframeid] as [ACCT_ID],&lt;BR /&gt;[Bframeid] as [ACCT_ID_FDR],&lt;BR /&gt;[OPENDATE]&lt;BR /&gt;FROM [..\..\..\QVD\QVD_FDR.qvd](qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the group by below to remove duplicate Bframeid's&amp;nbsp; caused my number of accounts to almost double.&amp;nbsp;&lt;/P&gt;&lt;P&gt;left join (distinct_soli)&lt;/P&gt;&lt;P&gt;FDR:&lt;BR /&gt;LOAD&lt;BR /&gt;[Bframeid] as [ACCT_ID],&lt;BR /&gt;[Bframeid] as [ACCT_ID_FDR],&lt;BR /&gt;min([OPENDATE]) as [OPENDATE]&lt;/P&gt;&lt;P&gt;FROM [..\..\..\QVD\QVD_FDR.qvd](qvd)&lt;BR /&gt;GROUP BY [Bframeid] ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas why this is happening? I don't understand how removing duplicate Bframeid's would increase my total.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 21:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By/m-p/1812839#M1212746</guid>
      <dc:creator>qlikuser2021</dc:creator>
      <dc:date>2021-06-03T21:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By/m-p/1812851#M1212747</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/134603"&gt;@qlikuser2021&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have multiple Open Date for single&amp;nbsp;&lt;SPAN&gt;Bframeid?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead of Left join, you can keep the table separately by link with ACCT_ID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And also, below statement, will give distinct acct_id with minimum open date.. might be, you are using some other calculation which makes double the values.&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;[Bframeid] as [ACCT_ID],&lt;BR /&gt;[Bframeid] as [ACCT_ID_FDR],&lt;BR /&gt;min([OPENDATE]) as [OPENDATE]&lt;/P&gt;&lt;P&gt;FROM [..\..\..\QVD\QVD_FDR.qvd](qvd)&lt;BR /&gt;GROUP BY [Bframeid]&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 01:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By/m-p/1812851#M1212747</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-06-04T01:09:37Z</dc:date>
    </item>
  </channel>
</rss>

