<?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: lookup/applymap with condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786461#M278219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I forgot to mention, all this is being performed in the script/load phase. This kind of expression will not help in this situation I believe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 16:12:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-29T16:12:41Z</dc:date>
    <item>
      <title>lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786459#M278217</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 want to be able to retrieve a certain 'date' for some entity (vehicle for that matter). The Original data is made of 10-100's of rows per each vehicle, each row having its date &amp;amp; dept. I want to retrieve the earliest date for each vehicle, but that date has to come from one specific department (not the general minimal date). Is there such a functionality that can be used with either lookup or apply map, like "lookup(...) where(...)", or Mapping(vehicle, date where()..)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 09:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786459#M278217</guid>
      <dc:creator />
      <dc:date>2015-01-29T09:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786460#M278218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yoni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you simply need to know the date, you can set up a straight table chart, add Vehicle as your dimension and use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;min({&amp;lt;Department={'Your Department'}&amp;gt;}[Your Date Field])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replacing "your department" with the name of the specific department and replacing "your date field" with the name of the date field you're using - if this is abstract you may need to wrap it in a Date() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 09:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786460#M278218</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-01-29T09:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786461#M278219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I forgot to mention, all this is being performed in the script/load phase. This kind of expression will not help in this situation I believe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 16:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786461#M278219</guid>
      <dc:creator />
      <dc:date>2015-01-29T16:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786462#M278220</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;I think your best option is LookUp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786462#M278220</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-01-29T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786463#M278221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yoni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached an example that may solve your problem at script time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rubén.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 17:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786463#M278221</guid>
      <dc:creator />
      <dc:date>2015-01-29T17:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: lookup/applymap with condition</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786464#M278222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your table v has vehicle, dept and date, I think you can join v with v grouped and filltere by the department to add a flag for the first date by vehicle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (v)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; vehicle,&lt;/P&gt;&lt;P&gt;&amp;nbsp; dept,&lt;/P&gt;&lt;P&gt;&amp;nbsp; min(date) as date,&lt;/P&gt;&lt;P&gt;&amp;nbsp; min(1) as &lt;STRONG&gt;flag_min_date_x_vehicle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident v&lt;/P&gt;&lt;P&gt;Where dept = 'b'&lt;/P&gt;&lt;P&gt;group by vehicle, dept&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 19:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-applymap-with-condition/m-p/786464#M278222</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-01-29T19:55:25Z</dc:date>
    </item>
  </channel>
</rss>

