<?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: Use variable value in Nprinting in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1925030#M35892</link>
    <description>&lt;P&gt;vCurrentyear is used in the expression or is used to set a dimension value ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 08:24:27 GMT</pubDate>
    <dc:creator>curiousfellow</dc:creator>
    <dc:date>2022-05-02T08:24:27Z</dc:date>
    <item>
      <title>Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924500#M35878</link>
      <description>&lt;P&gt;In my Qlik document I have several button that set values to two variables.&lt;/P&gt;
&lt;P&gt;based on those two values an expression is selected to&amp;nbsp; show values in a bar chart.&lt;/P&gt;
&lt;P&gt;for example If var1= Y and var2 = Z then sum(sales),&lt;/P&gt;
&lt;P&gt;if var1= x and var2 = B then sum(costs) etc. etc&lt;/P&gt;
&lt;P&gt;I want to use this bar chart in Nprinting. Is it possible to set static values in Nprinting for these two variables ? In that case thecorrect&amp;nbsp; expression is used for the values I want to display in the bar chart.&lt;/P&gt;
&lt;P&gt;I know I can set a value to a variable that is used for a dimension but I could not find if this can be used for expression too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 11:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924500#M35878</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2022-04-29T11:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924536#M35879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In Qlik NPrinting you can use Filters to set the value of a variable. It is documented in&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-10" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-filters.htm#anchor-10&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then you can apply the filter as a normal filter to reports, tasks, users or objects.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924536#M35879</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-04-29T12:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924539#M35880</link>
      <description>&lt;P&gt;I recently used Variable in the nprinting filter and used that filter as a task filter, it worked perfectly for me. I wanted to show Quarters or months in the bar chart so I created two variable filters in nprinting with different values, and used them in two separate tasks so that same chart can show quarters or months in two different tasks. Not sure if you can do somewhat similar.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924539#M35880</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-04-29T12:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924553#M35882</link>
      <description>&lt;P&gt;As far as I can see in the link, I need to enter a dimension.&lt;/P&gt;
&lt;P&gt;So it must be possible to set a value to a variable even if that variable is used in an expression?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That was what I tried before I started this topic, but I did not get any result. My variable is a textstring, and I tried several options , with or without apostrophes , with or without the '=' sign and with or without the evaluate box checked.&lt;/P&gt;
&lt;P&gt;I used the filter in the report settings and in another attempt in the template. But still no results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 12:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924553#M35882</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2022-04-29T12:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924606#M35884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I created a filter to set the value of the Variable named Dimension01 to Country. It is a text variable:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_1-1651238948637.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78308i153C188F0197F846/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_1-1651238948637.png" alt="Ruggero_Piccoli_1-1651238948637.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it is used to change a QlikView chart:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_3-1651239063212.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78310iD653587DDE089138/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_3-1651239063212.png" alt="Ruggero_Piccoli_3-1651239063212.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the same filter I set the value of the vCurentYear variable by calculating it:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_2-1651239012389.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78309i5B8A39C42E04C321/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_2-1651239012389.png" alt="Ruggero_Piccoli_2-1651239012389.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I added the filter to an Excel report template&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_4-1651239260476.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78311i5DF6E4636445DB09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_4-1651239260476.png" alt="Ruggero_Piccoli_4-1651239260476.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the preview is as expected&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_5-1651239305869.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78312iA6CCAE3430660350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_5-1651239305869.png" alt="Ruggero_Piccoli_5-1651239305869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I change the value of the variable Dimension01 to City&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_6-1651239355739.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78313iE089DC331F369E79/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_6-1651239355739.png" alt="Ruggero_Piccoli_6-1651239355739.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;the preview changes&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_7-1651239388933.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78316i10EE4F5920BD1A7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_7-1651239388933.png" alt="Ruggero_Piccoli_7-1651239388933.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 13:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1924606#M35884</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-04-29T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1925030#M35892</link>
      <description>&lt;P&gt;vCurrentyear is used in the expression or is used to set a dimension value ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 08:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1925030#M35892</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2022-05-02T08:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable value in Nprinting</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1925085#M35893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In my example vCurrentYear is used just to demonstrate how to set the value of a variable by placing it in the template.&lt;/P&gt;
&lt;P&gt;The variable called Dimension01 is used in the QlikView chart to set the first column.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 10:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Use-variable-value-in-Nprinting/m-p/1925085#M35893</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-05-02T10:18:58Z</dc:date>
    </item>
  </channel>
</rss>

