<?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: How to attach the most current step in a process to each record in a straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141694#M462622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Sep 2016 21:57:50 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2016-09-04T21:57:50Z</dc:date>
    <item>
      <title>How to attach the most current step in a process to each record in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141693#M462621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I am developing a recruiting application and am still learning about how Qlikview behaves. I created a straight table that shows some basic transaction data. The table below shows the recorded step in the recruitment process on each day. What I'd like to do is show the furthest step inn the recruitment process for a job based on every transaction up until the selected date. For example, If the user selects 3/18/2016, the most recent step should&amp;nbsp; be 'Hiring Manager Review' (based on 'Step Order' field). Here is the formula I've come up with so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthest Step = FirstSortedValue({$&amp;lt;[Current Step Date]={"&amp;lt;=$(=$(vSelectedDate))"}&amp;gt;}DISTINCT [Current Step],-[Step Order])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It doesn't work the way I was hoping. What I would like to see is the result in the last column. This assumes the user has selected 3/21/2016. It looks like the formula is only evaluating at the row level. How can I make it evaluate the records that are before the selected date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="331" style="width: 661px; height: 337px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl66" height="22" width="61"&gt;ReqNumber&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="90"&gt;Current Step&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="68"&gt;Step Order&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="101"&gt;Current Step Date&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="117"&gt;Furthest Step (What I currently get)&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="113"&gt;Furthest Step (How I want it to look)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Inbox&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/15/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Inbox&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Candidate Review&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/18/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Candidate Review&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Hiring Manager Review&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/18/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Hiring Manager Review&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Candidate Slate&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;6&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/21/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Candidate Slate&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Schedule Interview&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/21/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;12345&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Inbox&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;3/21/2016 &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;Inbox&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Schedule Interview&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 16:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141693#M462621</guid>
      <dc:creator />
      <dc:date>2016-09-04T16:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach the most current step in a process to each record in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141694#M462622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post a sample application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 21:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141694#M462622</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-09-04T21:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach the most current step in a process to each record in a straight table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141695#M462623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jason,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=MaxString(TOTAL &amp;lt;ReqNumber&amp;gt; {1&amp;lt;[Current Step Date]={'$(=Max([Current Step Date]))'},&lt;/P&gt;&lt;P&gt;[Step Order] = {"=$(=Max({$&amp;lt;[Current Step Date]={'$(=Max([Current Step Date]))'}&amp;gt;}[Step Order]))"}&lt;/P&gt;&lt;P&gt;&amp;gt;} [Current Step])&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, 05 Sep 2016 07:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-attach-the-most-current-step-in-a-process-to-each-record/m-p/1141695#M462623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-05T07:49:10Z</dc:date>
    </item>
  </channel>
</rss>

