<?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: Problem with Group By Sentence in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665317#M242178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%KEY_Incidente_Seguimiento,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max(Floor(FechaModificacion)) as ABC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Seguimiento&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Group by %KEY_Incidente_Seguimiento;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;KC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 15:30:46 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2014-10-20T15:30:46Z</dc:date>
    <item>
      <title>Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665315#M242176</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'm having a problem with a simple group by, and I can't guess why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a text file with a few records, and I need to load just the newest records for each value&lt;/P&gt;&lt;P&gt;I'm trying this but doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seguimiento:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; %KEY_Incidente_Seguimiento,&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Comentario Gerencia],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Status Follow Up],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date([Target Date]) AS [Target Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp; Modificado as FechaModificacion&lt;/P&gt;&lt;P&gt;FROM [$(APP)\QVD\Seguimiento.txt]&lt;/P&gt;&lt;P&gt;(txt, utf8, embedded labels, delimiter is ';', msq)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%KEY_Incidente_Seguimiento,&lt;/P&gt;&lt;P&gt;FechaModificacion&lt;/P&gt;&lt;P&gt;Resident Seguimiento&lt;/P&gt;&lt;P&gt;Where Floor(FechaModificacion) = Max(Floor(FechaModificacion))&lt;/P&gt;&lt;P&gt;Group by %KEY_Incidente_Seguimiento;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665315#M242176</guid>
      <dc:creator />
      <dc:date>2014-10-20T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665316#M242177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is FechaModificacion a timestamp?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665316#M242177</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-20T15:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665317#M242178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%KEY_Incidente_Seguimiento,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Max(Floor(FechaModificacion)) as ABC&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Seguimiento&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Group by %KEY_Incidente_Seguimiento;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;KC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665317#M242178</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-10-20T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665318#M242179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This value comes from a Qlik chart. and then stored into a txt.&lt;/P&gt;&lt;P&gt;I set the field by this way: &lt;/P&gt;&lt;P&gt;FechaModificacion = Today(); &lt;/P&gt;&lt;P&gt;So the format shown is = "20/10/2014 12:28:30 PM" , when I make a Floor(FechaModificacion) I get the numeric value used by Qlik to manage dates. I show it into a Text box and y see 41932, so it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665318#M242179</guid>
      <dc:creator />
      <dc:date>2014-10-20T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665319#M242180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a load with GROUP BY clause, you cannot list columns that don't appear in the GROUP BY clause. They must to be used in an aggregation function, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%KEY_Incidente_Seguimiento,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #3366ff;"&gt;Max&lt;/SPAN&gt;(FechaModificacion) AS FechaModificacion&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Seguimiento&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Group by %KEY_Incidente_Seguimiento;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This will build a table with the last modification date/time for every incident.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665319#M242180</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-10-20T15:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665320#M242181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the FirstSortedValue() aggregation function to lift other fields of the most recent record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665320#M242181</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-10-20T15:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665321#M242182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your objective to use this code? Can you please clarify little more... IF possible, pls provide some sample data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665321#M242182</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-10-20T15:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Group By Sentence</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665322#M242183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this works perfectly, i'm sure i tried it but I made a mistake I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TY again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 15:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By-Sentence/m-p/665322#M242183</guid>
      <dc:creator />
      <dc:date>2014-10-20T15:38:14Z</dc:date>
    </item>
  </channel>
</rss>

