<?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: Dimension Limits Not Applied in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754502#M30337</link>
    <description>&lt;P&gt;I replaced the variable in my expression with a hardcoded value '30' and it looks like this:&lt;/P&gt;&lt;P&gt;IF(rowno(total) &amp;lt;= 30,&amp;nbsp;Sum(RecordCount)&amp;nbsp;,&amp;nbsp;0)&lt;/P&gt;&lt;P&gt;No change at all.&lt;/P&gt;&lt;P&gt;I looked at all the fields in my chart for any references to variables, and there were none.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 13:43:38 GMT</pubDate>
    <dc:creator>wlau</dc:creator>
    <dc:date>2020-10-21T13:43:38Z</dc:date>
    <item>
      <title>Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754241#M30324</link>
      <description>&lt;P&gt;I have an NPrinting Excel report template that points back to a straight table in Qlik Sense.&amp;nbsp; The straight table has dimension limits turned on for one field.&amp;nbsp; I want to see the bottom x of random records.&amp;nbsp; The value for the dimension limits is controlled by a slider.&amp;nbsp; If the end users changes the slider value to 10, then the straight table adjusts accordingly which is fine.&amp;nbsp; And if the user right clicks on the straight table and exports the data directly to Excel, that works too.&amp;nbsp; I see 10 records.&amp;nbsp; However, if I use the On-Demand button to send the data to NPrinting, the NPrinting report will disregard the dimension limits and show all the records.&lt;/P&gt;&lt;P&gt;While researching the problem, I came across a post suggesting that a report filter be created but provided no example.&lt;/P&gt;&lt;P&gt;I am not sure how that would work in my case because I am dynamically creating a record count in my chart.&amp;nbsp; Here's the expression:&lt;/P&gt;&lt;P&gt;IF(rowno(total) &amp;lt;= $(v_Slider_Value),&amp;nbsp;Sum(RecordCount), 0)&lt;/P&gt;&lt;P&gt;The column in the straight table will have these values, 1,2,3,4,5,6,7,8,9,10,0,0,0...0 but I have the chart set not to show 0 values so only the first 10 records will be shown.&lt;/P&gt;&lt;P&gt;The RecordCount is a field in the database table.&amp;nbsp; It only has one single value, 1.&amp;nbsp; I used that to count the number of rows in a table.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 17:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754241#M30324</guid>
      <dc:creator>wlau</dc:creator>
      <dc:date>2020-10-20T17:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754295#M30332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is very straight forward thing to explain.&lt;/P&gt;&lt;P&gt;1. You are not using slider to control numbers of records... Instead you are using slider to change&amp;nbsp;&lt;STRONG&gt;variable value&lt;/STRONG&gt; which is controlling number of records in your table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With that in mind the piece which is not working is the value set by user in variable. This is &lt;STRONG&gt;working as designed&lt;/STRONG&gt; and you cannot do anything about it. Variables are simply not passed via OnDemand as part of the Qlik Sense application state set by user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same is described here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-in-on-demand-QV-don-t-change-value-in-report/td-p/1301627" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-in-on-demand-QV-don-t-change-value-in-report/td-p/1301627&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting-Discussions/On-Demand-in-Qlik-Sense-dynamic-name-of-the-report-from-a/m-p/1678433" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting-Discussions/On-Demand-in-Qlik-Sense-dynamic-name-of-the-report-from-a/m-p/1678433&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The workaround is to create a field with values in your data model and use regular selection to control dimension limits values - not ideal but will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 23:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754295#M30332</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-10-20T23:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754502#M30337</link>
      <description>&lt;P&gt;I replaced the variable in my expression with a hardcoded value '30' and it looks like this:&lt;/P&gt;&lt;P&gt;IF(rowno(total) &amp;lt;= 30,&amp;nbsp;Sum(RecordCount)&amp;nbsp;,&amp;nbsp;0)&lt;/P&gt;&lt;P&gt;No change at all.&lt;/P&gt;&lt;P&gt;I looked at all the fields in my chart for any references to variables, and there were none.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754502#M30337</guid>
      <dc:creator>wlau</dc:creator>
      <dc:date>2020-10-21T13:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754705#M30344</link>
      <description>&lt;P&gt;I went through my straight table and removed all references to variables.&amp;nbsp; For only one of the dimension fields, I set the limitation to "Fixed number" and added a small value like 15 so my report is showing the top 15.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I exported the report via On-Demand, and still I am getting a report with more than 15 records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 20:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754705#M30344</guid>
      <dc:creator>wlau</dc:creator>
      <dc:date>2020-10-21T20:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754726#M30345</link>
      <description>&lt;P&gt;If that is the case we would need detailed description on how you have built your report. Screenshot of your table in Qlik Sense, expressions used&amp;nbsp; and especially the way you implemented it in your NPrinting report (NPrinting report template screenshots)&lt;/P&gt;&lt;P&gt;If your table was used simply as a straight table and was not in level, page then it should work. If it doesn't - then don't know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideas:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Did you regenerate metadata after you applied all changes. This seems to be obvious, but better check that too...&lt;/LI&gt;&lt;LI&gt;What is your Qlik Sense version? Is it supported (meaning the same or newer release than your NPrinting)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 21:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1754726#M30345</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-10-21T21:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1755010#M30354</link>
      <description>&lt;P&gt;I've attached a file with screenshots and it also contains answers to your questions.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1755010#M30354</guid>
      <dc:creator>wlau</dc:creator>
      <dc:date>2020-10-22T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension Limits Not Applied</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1756433#M30394</link>
      <description>&lt;P&gt;I rebuilt my Qlik app and instead of using a variable for the dimension limit, i just hardcoded a value in there.&amp;nbsp; Tested it and exported the data to NPrinting.&amp;nbsp; I saw exactly the same number of rows in NPrinting as I did in QS.&lt;/P&gt;&lt;P&gt;Now the question is how can I apply dimension limits in NPrinting without using variables?&lt;/P&gt;&lt;P&gt;I went through the link above that showed how I could save a field value to a variable and pass the variable as a report filter but how do you limit the number of rows based on a variable?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 19:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dimension-Limits-Not-Applied/m-p/1756433#M30394</guid>
      <dc:creator>wlau</dc:creator>
      <dc:date>2020-10-27T19:27:08Z</dc:date>
    </item>
  </channel>
</rss>

