<?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: Row Counter in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251177#M1181976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why the sort doesn't seem to work is because rowno() is a chart inter record function, and for these functions the Help states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: Sorting on y-values in charts or sorting by expression columns in straight tables is not allowed when Chart Inter Record functions are used in any of the chart's expressions. These sort alternatives are therefore automatically disabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Suppression of zero values is automatically disabled when these functions are used.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though sorting on numerical should work if I read above lines correctly, in fact it seems it doesn't work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are probably using something like =date1-date2 as expression to calculate days, right?&lt;/P&gt;&lt;P&gt;Try moving this expresssion to dimensions as third, calculated dimension. Then sorting on days descending seems to work, having only one expression, rowno(total).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 18:29:53 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-11-23T18:29:53Z</dc:date>
    <item>
      <title>Row Counter in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251174#M1181973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a silly question..but couldn't fix it.I have a chart where I need to add serial number like every time as per user's selection the chart will display number of rows.I need to put a serial number in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 30%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CA&lt;/TD&gt;&lt;TD&gt;Joe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;NY&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;VA&lt;/TD&gt;&lt;TD&gt;Kelly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;TX&lt;/TD&gt;&lt;TD&gt;Lisa&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MN&lt;/TD&gt;&lt;TD&gt;Leah&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Here I need to add serial number&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 30%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Serial no.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;CA&lt;/TD&gt;&lt;TD&gt;Joe&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;NY&lt;/TD&gt;&lt;TD&gt;John&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;VA&lt;/TD&gt;&lt;TD&gt;Kelly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;TX&lt;/TD&gt;&lt;TD&gt;Lisa&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;MN&lt;/TD&gt;&lt;TD&gt;Leah&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I tried recno() and rowno(),but didn't get the numbers as I expected.Can anyone plz help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,Pooja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 17:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251174#M1181973</guid>
      <dc:creator />
      <dc:date>2011-11-23T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Row Counter in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251175#M1181974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you have one dimension City and an expression which returns a name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think another expression &lt;/P&gt;&lt;P&gt;=rowno() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should just work fine. You could drag the column in front using a straight table.&lt;/P&gt;&lt;P&gt;If you have more than one dimension, try a rowno(total).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I missing something here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 17:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251175#M1181974</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-23T17:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Row Counter in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251176#M1181975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.Row(total) worked as I have more than one dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more question..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight Table Chart contains&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 30%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;date1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;date2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;days&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;row(total)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/5/2011&lt;/TD&gt;&lt;TD&gt;11/1/2011&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/5/2011&lt;/TD&gt;&lt;TD&gt;11/3/2011&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/10/2011&lt;/TD&gt;&lt;TD&gt;11/5/2011&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;11/22/2011&lt;/TD&gt;&lt;TD&gt;11/21/2011&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;days and row(total) are expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after adding row(total),now sorting on days(descending) order not working.The days should look like below&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 30%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;days&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;row(total)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a way it can be fixed.when I remove this row(total) sorting works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 18:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251176#M1181975</guid>
      <dc:creator />
      <dc:date>2011-11-23T18:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Row Counter in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251177#M1181976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why the sort doesn't seem to work is because rowno() is a chart inter record function, and for these functions the Help states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note: Sorting on y-values in charts or sorting by expression columns in straight tables is not allowed when Chart Inter Record functions are used in any of the chart's expressions. These sort alternatives are therefore automatically disabled.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Suppression of zero values is automatically disabled when these functions are used.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though sorting on numerical should work if I read above lines correctly, in fact it seems it doesn't work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are probably using something like =date1-date2 as expression to calculate days, right?&lt;/P&gt;&lt;P&gt;Try moving this expresssion to dimensions as third, calculated dimension. Then sorting on days descending seems to work, having only one expression, rowno(total).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 18:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251177#M1181976</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-23T18:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Row Counter in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251178#M1181977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hay &lt;/P&gt;&lt;P&gt;And If I want It Upsite Down order?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 12:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Row-Counter-in-Chart/m-p/251178#M1181977</guid>
      <dc:creator>lavielme</dc:creator>
      <dc:date>2018-05-02T12:55:24Z</dc:date>
    </item>
  </channel>
</rss>

