<?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 Filtering out unwanted data in QV in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381953#M142533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've brought data from tables in SQL Server into QlikView. One of the tables is a set of responses to a questionnaire, the response can either be true or false. The problem I have is that some of the users have put multiple responses to a particular question - i.e. they have answered true, then changed their mind and answered false (and in some cases changed their mind again... and again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it could be the case that a certain question for a certain user has multiple responses, and I only want to consider the most recent response in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction of filtering this out in the QV app itself? I've been reading plenty on using QV to do this sort of task. I know I could sort the data out in SQL first but I think that's missing the point of QV - some help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2012 15:24:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-29T15:24:31Z</dc:date>
    <item>
      <title>Filtering out unwanted data in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381953#M142533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've brought data from tables in SQL Server into QlikView. One of the tables is a set of responses to a questionnaire, the response can either be true or false. The problem I have is that some of the users have put multiple responses to a particular question - i.e. they have answered true, then changed their mind and answered false (and in some cases changed their mind again... and again).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it could be the case that a certain question for a certain user has multiple responses, and I only want to consider the most recent response in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction of filtering this out in the QV app itself? I've been reading plenty on using QV to do this sort of task. I know I could sort the data out in SQL first but I think that's missing the point of QV - some help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 15:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381953#M142533</guid>
      <dc:creator />
      <dc:date>2012-08-29T15:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out unwanted data in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381954#M142534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use FirstSortedValue function for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2012 18:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381954#M142534</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-01T18:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering out unwanted data in QV</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381955#M142535</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;If u have datemodified column in your table then use the below statement while getting the data through sql statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;sql select ID,Name,Response as RecentResponse,Datemodified&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;from TableName&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;where&amp;nbsp; Datemodified=max(Datemodified);&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that it may help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 11:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-out-unwanted-data-in-QV/m-p/381955#M142535</guid>
      <dc:creator />
      <dc:date>2012-09-03T11:48:31Z</dc:date>
    </item>
  </channel>
</rss>

