<?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: avoid repetition by selecting situationDate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458706#M795387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to Group by ID here to make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Right Join (X)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Load &lt;SPAN style="color: #ff0000;"&gt;ID,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date_Situation) as Date_Situation&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident X&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Group By ID&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2018 14:20:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-04T14:20:16Z</dc:date>
    <item>
      <title>avoid repetition by selecting situationDate</title>
      <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458704#M795385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello the community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 12 files .txt. Every file containts the data of a particular month.&lt;/P&gt;&lt;P&gt;All the files have the same structure:&amp;nbsp; ID , Date_situation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load all of them and store the result in a new file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;my script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '31-01-2017' as Date_Situation&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[...\f1.TXT]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', no quotes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '28-02-2017' as Date_Situation&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[.../f2.TXT]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is '|', no quotes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a result, I got repetition of the majority of ID , which is logic. cause in the majority of the files we did a monthly update of some ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The objectif is to select all the ID, if there is a repetition, I should select only the last update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458704#M795385</guid>
      <dc:creator>aminehaddar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: avoid repetition by selecting situationDate</title>
      <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458705#M795386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to know which is Last Update? Perhaps club this to your multi tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right Join (X)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Max(Date_Situation) as Date_Situation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident X;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458705#M795386</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-04T14:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: avoid repetition by selecting situationDate</title>
      <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458706#M795387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to Group by ID here to make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Right Join (X)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Load &lt;SPAN style="color: #ff0000;"&gt;ID,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Max(Date_Situation) as Date_Situation&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident X&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Group By ID&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458706#M795387</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-04T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: avoid repetition by selecting situationDate</title>
      <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458707#M795388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be, But once upon a time i tried without Group By seems working. Because Right Join Don't required to use Group By for Unique Rows. May be need when Non-Unique rows only. Correct me if i am wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:28:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458707#M795388</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-01-04T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: avoid repetition by selecting situationDate</title>
      <link>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458708#M795389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within ID, you will find the max date across all IDs... I think (correct me if you think I am wrong), but OP wants to keep the max date data for each ID..... If that is the case, not adding ID to the Right Join table can potential drop IDs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/avoid-repetition-by-selecting-situationDate/m-p/1458708#M795389</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-04T14:31:13Z</dc:date>
    </item>
  </channel>
</rss>

