<?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 Return Future value. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Return-Future-value/m-p/394636#M701166</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 have a TargetHit table that has the fields:&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;TargetHit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is, for each instance of userID, Year, Month where target hit is 0 (target not hit). Look for the next earliest Year and month for that user where the target was hit and return the month and year to show something like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;TargetHit&lt;/P&gt;&lt;P&gt;FutureTargetHit&lt;/P&gt;&lt;P&gt;FutureYear&lt;/P&gt;&lt;P&gt;FutureMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a way to do this without having to do a for each loop and loop through each instance of UserID, Year and Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 10:46:54 GMT</pubDate>
    <dc:creator>jedgson</dc:creator>
    <dc:date>2012-09-11T10:46:54Z</dc:date>
    <item>
      <title>Return Future value.</title>
      <link>https://community.qlik.com/t5/QlikView/Return-Future-value/m-p/394636#M701166</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 have a TargetHit table that has the fields:&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;TargetHit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is, for each instance of userID, Year, Month where target hit is 0 (target not hit). Look for the next earliest Year and month for that user where the target was hit and return the month and year to show something like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserID&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;TargetHit&lt;/P&gt;&lt;P&gt;FutureTargetHit&lt;/P&gt;&lt;P&gt;FutureYear&lt;/P&gt;&lt;P&gt;FutureMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a way to do this without having to do a for each loop and loop through each instance of UserID, Year and Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 10:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Return-Future-value/m-p/394636#M701166</guid>
      <dc:creator>jedgson</dc:creator>
      <dc:date>2012-09-11T10:46:54Z</dc:date>
    </item>
  </channel>
</rss>

