<?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: RowNo in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774507#M59999</link>
    <description>&lt;P&gt;Yes, Thats my bad&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;You can do this with below script&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;SPAN&gt;[CustomerID], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Distanceinmiles]&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;AutoNumber(RecNo(),CustomerID) as RowNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;resident table order by CustomerID,Distanceinmiles ASC/DESC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 17:52:43 GMT</pubDate>
    <dc:creator>Prashant_N</dc:creator>
    <dc:date>2021-01-14T17:52:43Z</dc:date>
    <item>
      <title>RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774476#M59995</link>
      <description>&lt;P&gt;Hey guys, I'm looking for some support with the creation of a row number by two different dimensions if possible please.&lt;/P&gt;&lt;P&gt;I am working with two fields first is [CustomerID], second is [Distanceinmiles] and I want [distanceinmiles] sorted largest to smallest.&lt;/P&gt;&lt;P&gt;I've attached what i am looking for as an example.&lt;/P&gt;&lt;P&gt;I've currently got AutoNumber(Rec(),CustomerID) as RowNo in my data load and that is giving each CustomerID a row number from 1 - 10 which is great, but how do i organise that row number by [Distanceinmiles] smallest to largest.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance guys, I've been playing around with row no, rec no and auto number for ages and cant figure it out.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774476#M59995</guid>
      <dc:creator>Zara</dc:creator>
      <dc:date>2021-01-14T16:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774480#M59996</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take the resident of that same table and write the order by script like below&lt;/P&gt;&lt;P&gt;tbl:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;resident first_table order by CustomerID,RowNo DESC;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774480#M59996</guid>
      <dc:creator>Prashant_N</dc:creator>
      <dc:date>2021-01-14T16:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774501#M59998</link>
      <description>&lt;P&gt;Hello Prashant,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your response, however i am afraid i don't understand.&lt;/P&gt;&lt;P&gt;I am looking to give each row a number based first on the customerid and then second order by distance.&lt;/P&gt;&lt;P&gt;So essentially in real words there are 10 rows with a customerid of 96, of the 10 rows, give each one a number from 1-10 in order of distance smallest to largest. So shouldn't distance be in the script statement you have written for me?&lt;/P&gt;&lt;P&gt;Thank you so much - apologies if i am asking a stupid question.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 17:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774501#M59998</guid>
      <dc:creator>Zara</dc:creator>
      <dc:date>2021-01-14T17:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774507#M59999</link>
      <description>&lt;P&gt;Yes, Thats my bad&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;.&lt;/P&gt;&lt;P&gt;You can do this with below script&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;SPAN&gt;[CustomerID], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[Distanceinmiles]&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;AutoNumber(RecNo(),CustomerID) as RowNo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;resident table order by CustomerID,Distanceinmiles ASC/DESC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 17:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774507#M59999</guid>
      <dc:creator>Prashant_N</dc:creator>
      <dc:date>2021-01-14T17:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774749#M60026</link>
      <description>&lt;P&gt;It is working Prashant, thank you very much.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 11:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774749#M60026</guid>
      <dc:creator>Zara</dc:creator>
      <dc:date>2021-01-15T11:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: RowNo</title>
      <link>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774755#M60028</link>
      <description>&lt;P&gt;Happy to help&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 11:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RowNo/m-p/1774755#M60028</guid>
      <dc:creator>Prashant_N</dc:creator>
      <dc:date>2021-01-15T11:29:29Z</dc:date>
    </item>
  </channel>
</rss>

