<?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: Sequence Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193254#M878236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried just &lt;STRONG&gt;RowNo()&lt;/STRONG&gt; or &lt;STRONG&gt;RowNo(TOTAL)&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 20:27:36 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-10-12T20:27:36Z</dc:date>
    <item>
      <title>Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193253#M878235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way to create a custom sequence number based on existing data in my dashboard. The data that I have loaded is based on sequencing from two different sources. The 'M#' is the original planned sequence value; and the 'D#' is the adjusted plan sequence, with the 'Actual Time' value being the time stamp of the actual activity:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; M#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actual Time&lt;/P&gt;&lt;P&gt;ABC123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5:44:09 AM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ABC123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 456&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7:37:25 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ABC123&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 789&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7:46:36 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Part of the problem is that the 'Actual Time' expression is using the Min() function and then I am using a sort on this field. I want to replace the time stamp with a sequence number (1, 2, 3, etc.) based on this sort. However, any of the options that I have already explored do not appear to preserve the sort that i already have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any assistance in this matter would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193253#M878235</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193254#M878236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried just &lt;STRONG&gt;RowNo()&lt;/STRONG&gt; or &lt;STRONG&gt;RowNo(TOTAL)&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 20:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193254#M878236</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T20:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193255#M878237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean, you want to show serial numbers depends on time stamp which is from asc to desc??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 01:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193255#M878237</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-13T01:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193256#M878238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use rowan() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table A:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;lt;Table&amp;gt;&lt;/P&gt;&lt;P&gt;order by Actual Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table B:&lt;/P&gt;&lt;P&gt;Noconcatenate&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;rowno()&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Table A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can do this in single table load as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 02:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193256#M878238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-13T02:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193257#M878239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i tried RowNo(TOTAL) and this does give me a sequence. However, it does not sort in the desired order. I found the following thread which does explain this sorting issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/12645"&gt;interactive sort with RowNo(Total) does not work&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 17:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193257#M878239</guid>
      <dc:creator />
      <dc:date>2016-10-14T17:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sequence Help</title>
      <link>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193258#M878240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came close to what I need using the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(mod(RowNo(TOTAL)-1,Count(DISTINCT TOTAL [LocationKey]))+1,[LocationKey])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need it to work with the "Actual Arrive" time, which as mentioned is an expression of Min(StartTime). Attached is a screen shot of what I am looking for.&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;&lt;IMG alt="Example_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/140706_Example_2.png" style="height: 183px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 21:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sequence-Help/m-p/1193258#M878240</guid>
      <dc:creator />
      <dc:date>2016-10-14T21:12:40Z</dc:date>
    </item>
  </channel>
</rss>

