<?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: Nprinting - Filter field less than a variable in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536319#M43021</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/15825"&gt;@leenlart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest to study basics = help site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-5" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-5&lt;/A&gt;&amp;nbsp;. You are trying to use "Evaluate value" option which also needs to return single value. In your case that obviously will not work as you try to use &amp;lt; sign which indicates potential array of values or search string.&lt;/P&gt;&lt;P&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Values&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drop-down menu you can select from:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Value is&lt;/SPAN&gt;: use this option if you want to select a string. For example, if you want to select&amp;nbsp;USA&amp;nbsp;in the&amp;nbsp;Country&amp;nbsp;field.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Numeric value is&lt;/SPAN&gt;: in&amp;nbsp;&lt;SPAN class=""&gt;QlikView&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class=""&gt;Qlik Sense&lt;/SPAN&gt;, all field values are potentially dual values. A field value can have both a numeric value and a textual value. For example, a date that could have a numeric value of 40908 and the textual representation "2011-12-31". Use this option if you want to select a numeric value.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Evaluate value&lt;/SPAN&gt;: use this option if you want to insert an expression that needs to be evaluated. It must &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;return a single value.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Advanced Search&lt;/SPAN&gt;: use this option if you want to select values using a&amp;nbsp;&lt;SPAN class=""&gt;QlikView&lt;/SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;SPAN class=""&gt;Qlik Sense&lt;/SPAN&gt;&amp;nbsp;advanced search.&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So now when I explained the problem and what you did wrong I will just give you this "one liner" solution. You need to use in this case is &lt;STRONG&gt;Advance Search option for filter!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I also wrote blog post about it here about 6 years ago. It is old but describes flexibility of use of advanced search:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More about filters here:&amp;nbsp;&lt;A href="https://nprintingadventures.com/category/nprinting/filters/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/category/nprinting/filters/&lt;/A&gt;&amp;nbsp;which you also may want to study as it explains a lot about data types which understanding of is critical when using NPrinting filters. I have answered a lot of questions about not working filters and most of the time users did not understand what the data type of the field they tried to filter on was. They also didn't understand what Dual() value type is in Qlik.&lt;/P&gt;&lt;P&gt;hope that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 00:27:08 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2025-11-17T00:27:08Z</dc:date>
    <item>
      <title>Nprinting - Filter field less than a variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536274#M43020</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been searching and testing different things, but I can't seem to get it!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a report set up, with a graph showing values by year.&amp;nbsp; Now, I've been askded to filter the values by fiscal month, a year-to-date type thing.&amp;nbsp; I have fiscal month field (MOIS_FISCAL), that is 0 to 11 for each month based on our fiscal year start date (Sept = 0, oct = 1....).&amp;nbsp; And I have a variable that gives the current fiscal month vMoisCourantFiscNum.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to filter MOIS_FISCAL &amp;lt;&amp;nbsp;&amp;nbsp;vMoisCourantFiscNum.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In qlik sense, I set up a button to test my expression, and this works perfectly as expected :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leenlart_0-1763139836118.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185033iE3D35079224BEB28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leenlart_0-1763139836118.png" alt="leenlart_0-1763139836118.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now to Npriting, I've set up a filter to try and select my&amp;nbsp;MOIS_FISCAL &amp;lt;&amp;nbsp;&amp;nbsp;vMoisCourantFiscNum.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leenlart_1-1763139929411.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185034i42EA9DEC76045245/image-size/medium?v=v2&amp;amp;px=400" role="button" title="leenlart_1-1763139929411.png" alt="leenlart_1-1763139929411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried it as above, with the syntaxe in Qlik (='&amp;lt;$(vMoisCourantFiscNum)'), chosing other options in the drop down list.&amp;nbsp; But my report won't render.&amp;nbsp; I get an invalid selections error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 17:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536274#M43020</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2025-11-14T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting - Filter field less than a variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536319#M43021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/15825"&gt;@leenlart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest to study basics = help site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-5" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/nprinting/February2025/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-5&lt;/A&gt;&amp;nbsp;. You are trying to use "Evaluate value" option which also needs to return single value. In your case that obviously will not work as you try to use &amp;lt; sign which indicates potential array of values or search string.&lt;/P&gt;&lt;P&gt;In the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Values&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drop-down menu you can select from:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Value is&lt;/SPAN&gt;: use this option if you want to select a string. For example, if you want to select&amp;nbsp;USA&amp;nbsp;in the&amp;nbsp;Country&amp;nbsp;field.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Numeric value is&lt;/SPAN&gt;: in&amp;nbsp;&lt;SPAN class=""&gt;QlikView&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class=""&gt;Qlik Sense&lt;/SPAN&gt;, all field values are potentially dual values. A field value can have both a numeric value and a textual value. For example, a date that could have a numeric value of 40908 and the textual representation "2011-12-31". Use this option if you want to select a numeric value.&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Evaluate value&lt;/SPAN&gt;: use this option if you want to insert an expression that needs to be evaluated. It must &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;return a single value.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;SPAN class=""&gt;Advanced Search&lt;/SPAN&gt;: use this option if you want to select values using a&amp;nbsp;&lt;SPAN class=""&gt;QlikView&lt;/SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;SPAN class=""&gt;Qlik Sense&lt;/SPAN&gt;&amp;nbsp;advanced search.&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So now when I explained the problem and what you did wrong I will just give you this "one liner" solution. You need to use in this case is &lt;STRONG&gt;Advance Search option for filter!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I also wrote blog post about it here about 6 years ago. It is old but describes flexibility of use of advanced search:&amp;nbsp;&lt;A href="https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More about filters here:&amp;nbsp;&lt;A href="https://nprintingadventures.com/category/nprinting/filters/" target="_blank" rel="noopener"&gt;https://nprintingadventures.com/category/nprinting/filters/&lt;/A&gt;&amp;nbsp;which you also may want to study as it explains a lot about data types which understanding of is critical when using NPrinting filters. I have answered a lot of questions about not working filters and most of the time users did not understand what the data type of the field they tried to filter on was. They also didn't understand what Dual() value type is in Qlik.&lt;/P&gt;&lt;P&gt;hope that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 00:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536319#M43021</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-11-17T00:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting - Filter field less than a variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536351#M43023</link>
      <description>&lt;P&gt;Hello Lech,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; I thought I would need to use Advanced search, but I wasn't able to get it to work.&amp;nbsp; I didn't understand why it wasn't working the same as in Qlik Sense.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I did to get the filter to work properly :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="leenlart_0-1763364166003.png" style="width: 693px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/185063i8712F1B8C4302E10/image-dimensions/693x325?v=v2" width="693" height="325" role="button" title="leenlart_0-1763364166003.png" alt="leenlart_0-1763364166003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I had to add my filtered field in the search text.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So instead of just ='&amp;lt;$(vMoisCourantFiscNum)' as I have in Qlik Sense, I put&amp;nbsp;&lt;FONT color="#008000"&gt;=MOIS_FISCAL&amp;lt;$(vMoisCourantFiscNum)&lt;FONT color="#000000"&gt;, taking out the ''.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#000000"&gt;Why does this need to be repeated ?&amp;nbsp; I understand when we want to filter field A on field B &amp;lt; something, but I find this strange to filter A on filter A &amp;lt; something.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;FONT color="#000000"&gt;Anywho, thanks.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 07:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536351#M43023</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2025-11-17T07:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting - Filter field less than a variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536353#M43024</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/15825"&gt;@leenlart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the same syntax you would use in Qlik Sense / QlikView. According to what I just tested you cannot just put &amp;lt;&amp;nbsp;$(vVariable) or &amp;gt; $(vVariable) in search or at least it didnt work for me. Yes you can put actual numerical values but not variables using that syntax so the syntax which works for you would be the standard one you would normally use anyway in typical advanced search&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 08:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536353#M43024</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-11-17T08:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nprinting - Filter field less than a variable</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536354#M43025</link>
      <description>&lt;P&gt;Well, technically, I was using a button to apply selections to test my syntaxe.&amp;nbsp; So that probably explains it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 08:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-Filter-field-less-than-a-variable/m-p/2536354#M43025</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2025-11-17T08:19:34Z</dc:date>
    </item>
  </channel>
</rss>

