<?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: Using fields with TOTAL qualifier in RowNo() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394159#M423457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more with sample data and expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 09:13:28 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2017-11-15T09:13:28Z</dc:date>
    <item>
      <title>Using fields with TOTAL qualifier in RowNo()</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394158#M423456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the RowNo() function when loading a table in my script.&lt;/P&gt;&lt;P&gt;I need the TOTAL qualifier to create a RowNo by field block. So I have to write this &lt;/P&gt;&lt;P&gt;test1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;*,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;RecNo(),&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;RowNo(TOTAL&amp;lt;Group&amp;gt;) as Rowno&lt;/P&gt;&lt;P&gt;Resident test&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be very gratefull if you have any idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for reading my discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SME.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394158#M423456</guid>
      <dc:creator>slaheddinekeyru</dc:creator>
      <dc:date>2017-11-15T09:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields with TOTAL qualifier in RowNo()</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394159#M423457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more with sample data and expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:13:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394159#M423457</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-11-15T09:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields with TOTAL qualifier in RowNo()</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394160#M423458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber(RowNo(), Group) as RowNoByGroup&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Group = Previous(Group), RangeSum(Peek('RowNoByGroup'), 1), 1) as RowNoByGroup&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In both cases, make sure that your data is correctly sorted (if it is not already sorted) by using a resident load with order by clause&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394160#M423458</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-15T09:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields with TOTAL qualifier in RowNo()</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394161#M423459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's exactly what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't understand why we can't use the TOTAL qualifier with RowNo() ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394161#M423459</guid>
      <dc:creator>slaheddinekeyru</dc:creator>
      <dc:date>2017-11-15T09:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using fields with TOTAL qualifier in RowNo()</title>
      <link>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394162#M423460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TOTAL qualifier is not available in the script... this is by design...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-fields-with-TOTAL-qualifier-in-RowNo/m-p/1394162#M423460</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-15T09:27:57Z</dc:date>
    </item>
  </channel>
</rss>

