Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
geertdeman
Contributor III
Contributor III

qliksense variable not updated in nprinting on demand

In qliksense I have a graph with a reference line line expression:    =$(vApp.Quality.ThresholdTop)

This variable is loaded with a value during script load.  In qliksense I use a custom object variable input from the qlik dashboard bundle to change the value of this variable.  This is working fine in qliksense, when the value is updated the reference line changed.  

This graph is used (as image) in nprinting on demand report but thee reference line is based on the old value that was used during script load and not the value that was modified in the input varialbe in qliksense.  Any idea how the new value of this variable can be used in nprinting?

Labels (2)
1 Reply
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

This is working as designed. Variables were never passed as part of selection state during on demand report generation.  

The workaround is to base your variable value on expression based on field selections (usually data island) 

The same topics here:

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-in-on-demand-QV-don-t-change-value...

https://community.qlik.com/t5/Qlik-NPrinting-Discussions/Variable-filters-in-NPrinting-V17/td-p/1347...

 

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.