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: 
Chanty4u
MVP
MVP

Set variable

Hi all,

i want to set an variable in  Qlik Nprinting 17.2.3

like  FiscYear=Max(FiscalYear)

so how can i put variable  as a filter?

can anyone give some idea on this?

Thanks

5 Replies
avinashelite

Same as you do in the Qlikview ..check this

How to Set a QlikView Variable to a Specific Value Using Filters

you can directly set the variable in Qlikview use the same as a filter in the NPrinting

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

NPrinting 17X does not support variable filters! Cheers

Lech

Qlik NPrinting main features

This table compares the main features of Qlik NPrinting 17 with Qlik NPrinting 16. Features that are not currently available will be available in future releases.

Product CapabilityQlik NPrinting 16Qlik NPrinting 17
Microsoft Office reporting

Yes

Yes
Pixel perfect and web reportingYesYes
Centralized distributionYesYes
On-demand reportingYesYes
Web based architectureYes
Online subscription hubYes
Multi-QVW ReportsYesYes
Enterprise scalabilityYes
Roles based securityYes
Multi-developer environmentYes
Recipient imports from ExcelYesYes
Conditional ReportingYesYes
Recipient Import WizardYes
Dynamic Report NamingYesYes
FTP SupportYes
Cycling Reports (creates files for every value of dimensions)Yes
HTML embedded reportsYes
Cycled pages in multiple slidesYesYes
Variable filterYes
Bookmark filterYes
Object filtersYesOnly with QlikView objects
Linked FieldsYes
Load templateYes

Yes

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.
Chanty4u
MVP
MVP
Author

thanks lech.

but how can i overcome this? is there any work around?

avinashelite

Add that as direct filter on the column with the set analysis or aggr function it should work

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Just like Avinash said do it in QlikView...

or ....

depending what you would like to use this variable for?

  • If it is kind of toggle where you want to switch dynamically variable value i would create a data-island field with all variable values it needs to have and then change a variable calculation to read from this field.

  • If this is a case where you always want to select max Year, regardless of any other selections - then maybe expression like this in variable would be handy:

     =Max({1} FiscalYear)

For different use case we could build different scenario and solution.

cheers

Lech

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.