Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have struggled with this for a while. Having read the Nprinting docs and gone through the 'what to do when dollar sign expansion doesn't work' and it still appears to not be working. I have other reports built in Nprinting that work well, this is the first I've tried to use Qlik Sense Variables in.
Nprinting version: Qlik NPrinting May 2026 Version: 26.19.3.0
Qlik Sense Enterprise November 2025.
Scenario: I have several variables in my Qlik Sense App: vCSDReportName, vCSDPeriodStart, vCSDPeriodEnd.
3 Variable Input objects
I have added them to my template as so:
3 variables in Template
I have created a variable filter thusly:
variable selected and value set.
And yet when I run a preview of the report in design mode I get this:
Nothing comes across..
I've read through this article: https://community.qlik.com/t5/Qlik-NPrinting/Setting-variable-in-Nprinting-report/td-p/2496221 several times and I simply don't understand what I am missing.
If anyone can shed light on my ignorance I'd greatly appreciate it!
Hi
Create 3 KPI/text objects in the Qlik Sense app whose expressions are simply:
=$(vCSDReportName)
=$(vCSDPeriodStart)
=$(vCSDPeriodEnd)
Then add those objects to the NPrinting connection and place the corresponding object fields in your template.
This is generally much more reliable than trying to make NPrinting resolve the variables directly.
Well, I'll give that a try.
Check karo ki NPrinting connection mein variables enabled hain ya nahi — woh toggle hai.
Phir syntax check karo: $(vCSDReportName) use karo, case-sensitive hai.
Variable filter mein "Fixed Value" select karo.
Phir bhi na ho toh delete karke re-add karo variable ko.
Hi @aschmeelk
I just think the whole approach should be different whatever your goal is.
Maybe try to explain what you are trying to achieve with this report and maybe whole approach should be very different
I did not know this -
My goal is to use the variables as 'place holders' in my template, so that on rendering via on-demand the values are displayed in the resulting Excel sheet report. If there is another way I would love to know how as admittedly my knowledge of Nprinting is limited at the moment.
Regards
Hi @aschmeelk
You will not be able to use variable inputs.
If the values you want to pass through can be predefined you may load them as a fields in an Island tables and use filter panes for people to select from.
There is no other way.
cheers