<?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: Displaying every Nth row in a chart. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309629#M114309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front end, use a straight table with your fields you want to show as&lt;/P&gt;&lt;P&gt;dimension, one expression as above. Rows with value zero should Not be shown&lt;/P&gt;&lt;P&gt;by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then hide the expression column If you want.&lt;/P&gt;&lt;P&gt; Am 27.07.2011 00:53 schrieb "Bret Meissner" &amp;lt;&lt;/P&gt;&lt;P&gt;qliktech@sgaur.hosted.jivesoftware.com&amp;gt;:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Bret Meissner &lt;A href="http://community.qlik.com/people/bretmeissner"&gt;&lt;/A&gt; created&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the discussion&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Re: Displaying every Nth row in a chart."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the discussion, visit:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;http://community.qlik.com/message/136121#136121&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jul 2011 04:27:37 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-07-27T04:27:37Z</dc:date>
    <item>
      <title>Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309626#M114306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to build a straight table that contains a pseudo-random sample of data.&amp;nbsp; I have two input boxes, one that allows the user to enter the total number of records the straight table should contain, and another that I'm calling the "Random Factor".&amp;nbsp; Basically I want to spin through the data model and write every Nth record in my straight table until I've reached a specific number of records.&amp;nbsp; I can limit the total number of rows easily enough, but I can't figure out a way to dynamically allow the user to chose a "Random Factor" and write only every Nth record to the straight table.&amp;nbsp; Actually, I the input box allows them to enter the Random Factor, I just don't know how to make the straight table use it.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bret &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 21:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309626#M114306</guid>
      <dc:creator />
      <dc:date>2011-07-26T21:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309627#M114307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understood your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using modulo function mod(x1, x2)&amp;nbsp; and rownumber you should&amp;nbsp; be able to filter every nth row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like in expression&lt;/P&gt;&lt;P&gt;= if(mod(ROWNUMBERFIELD, 10) = 1, ROWNUMBERFIELD, 0) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should output every 10th row number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: This is of course not a random row selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.P.S: &lt;/P&gt;&lt;P&gt;In your straight table, put all fields you want to show as dimension and above expression as expression. QV will not show every row with expression evaluates to zero, if in tab presentation, don't show zero values (or similar wording) is activated (that's standard). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. added by swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 22:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309627#M114307</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-26T22:18:40Z</dc:date>
    </item>
    <item>
      <title>Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309628#M114308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking time to look into my issue.&amp;nbsp; The Mod function gets me close, but I still can't make the table row display or not based on the value of the expression.&amp;nbsp; If I was doing this in the load script, it would work, but I'm on the front end trying to limit the rows in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bret&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 22:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309628#M114308</guid>
      <dc:creator />
      <dc:date>2011-07-26T22:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309629#M114309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front end, use a straight table with your fields you want to show as&lt;/P&gt;&lt;P&gt;dimension, one expression as above. Rows with value zero should Not be shown&lt;/P&gt;&lt;P&gt;by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then hide the expression column If you want.&lt;/P&gt;&lt;P&gt; Am 27.07.2011 00:53 schrieb "Bret Meissner" &amp;lt;&lt;/P&gt;&lt;P&gt;qliktech@sgaur.hosted.jivesoftware.com&amp;gt;:&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Bret Meissner &lt;A href="http://community.qlik.com/people/bretmeissner"&gt;&lt;/A&gt; created&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;the discussion&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Re: Displaying every Nth row in a chart."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To view the discussion, visit:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;http://community.qlik.com/message/136121#136121&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 04:27:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309629#M114309</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-27T04:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309630#M114310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if the attached sample can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 06:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309630#M114310</guid>
      <dc:creator />
      <dc:date>2011-07-27T06:46:31Z</dc:date>
    </item>
    <item>
      <title>Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309631#M114311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi BlackRockS,&amp;nbsp; Thanks for taking the time to look into this as well.&amp;nbsp; Your solution is close but not quite.&amp;nbsp; Let's say I have a chart that would normally render 100 rows.&amp;nbsp; I want my user to be able to enter a 4 (for example) in an input box, and have every 4th row display in the table, for a total of 25 rows.&amp;nbsp; I've been able to get to where you are, the problem is I can't make the chart only render the 25 rows I want.&amp;nbsp; They could concieveably enter a five in which case I'd want every 5th row to display a total of 20 rows.&amp;nbsp; Bret&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 13:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309631#M114311</guid>
      <dc:creator />
      <dc:date>2011-07-27T13:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309632#M114312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That doesn't work.&amp;nbsp; I've attached my app.&amp;nbsp; Bret&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 13:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309632#M114312</guid>
      <dc:creator />
      <dc:date>2011-07-27T13:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309633#M114313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Cant you just give each row a rowno() during load, and then just have a dimension of if(rowno = mod(x), rowno) that you hide in the presentation tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:22:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309633#M114313</guid>
      <dc:creator>richnorris</dc:creator>
      <dc:date>2011-07-27T14:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309634#M114314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Figured it out.&amp;nbsp; I had to add a row number field to the table in the load and use that row number in the Modula function rather than the RowNo() reserved word.&amp;nbsp; I've attached the app for your review.&amp;nbsp; Thanks for your help.&amp;nbsp; Bret&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309634#M114314</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309635#M114315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done some changes to your data loading script and created another table. Hope this is what you wanted. Please check the load syntax and the expression on the new chart object I have added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309635#M114315</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309636#M114316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is exactly you had to do. You figured out when I was resolving - all the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 14:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309636#M114316</guid>
      <dc:creator />
      <dc:date>2011-07-27T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying every Nth row in a chart.</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309637#M114317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;probably that's why I put ROWNUMBER&lt;STRONG&gt;FIELD &lt;/STRONG&gt;in my expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from my first post:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;like in expression&lt;/P&gt;&lt;P&gt;= if(mod(ROWNUMBERFIELD, 10) = 1, ROWNUMBERFIELD, 0) &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 22:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-every-Nth-row-in-a-chart/m-p/309637#M114317</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-27T22:10:49Z</dc:date>
    </item>
  </channel>
</rss>

