Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI
can any one know about applying variable to the report?
Mate,
provide some context what you want to do with variable etc + version of software and configuration you are using.
Are you trying to set variable when executing report, are you trying to bring in variable value from qlik app to NPrinintg template and show it.. make some effort, describe what you want to do, specify version of nPrinitng & Qlik and maybe then we will be able to help you.
for now I can just answer: "Just apply variable in report"!
cheers
also study documentation:
Hi
i was using
(Qlik NPrinting April 2019 Version: 19.9.5.0 ) ( qlikview november 2017 ) versions
i was developing in html report (please find screenshot)
there was a variable name with "vcurrentyear" how to use this variable int he html script?
i want to get current year report.
Hi,
As already stated by @Lech_Miszkiewicz , inserting a QlikView variable in a Qlik NPrinting template is documented in the official help site at the page https://help.qlik.com/en-US/nprinting/April2019/Content/NPrinting/ReportsDevelopment/Work-with-varia....
You can find it by yourself simply by searching for "variables" in the help site search bar.
Best Regards,
Ruggero
Ok - that makes a lot more sense now.
seems like you have to do below reading (especially help part of it as it explains how variables work and how they are not expanded in NPrinting)
and here
here are examples of community posts regarding this:
and similar here:
summary:
if your variable does not contain "=" sign in Qlik then it will pass to NPrinting only static value (which in your case is probably formula)
Once you have variable with = sign declared in Qlik then just drag/drop it on report and it will return there its value.
Note:
If you want to use this variable to apply selection, or if you want to set a value on this variable in NPrinting as per my link from previous post this is not supported.