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: 
JarmoKoponen
Partner - Contributor
Partner - Contributor

Dynamic filter in Nprinting

HI,

I'll try to use dynamic filter for the dimesion where the format is Yearmonthnumber like 20212.

I have selected dimension VuosiPeriodi 

Value is: =(Year(addmonths(Now(),-1))&num(month(addmonths(Now(),-1)))),

but this lead to error. If I put directly 20211 it works fine.

How I should create a dynamic filter that it is working. 

Thanks!

Regards, Jarmo

Labels (2)
1 Reply
Ruggero_Piccoli
Support
Support

Hi,

Be sure that both, the field and the formula result, are of the same type. For example you could force the formula to return a string by adding a Text().

Remember also to select Evaluate value from the dropdown menu.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.