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: 
myself
Contributor II
Contributor II

Nprinting Preview showing 'Invalid Selection'

Hi,

I have created a filter in nprinting for the field Mastermonthyear of value 'Jan-2024'. If I use this filter for an image object in PPT, the output is showing as invlaid selection. I am surprised because If i apply this selection in the dashboard the data is shown properly for that selection.

myself_0-1710748523414.png

myself_1-1710748785624.png

myself_2-1710748812418.pngmyself_3-1710748934610.png

 

 

Labels (1)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

HI @myself 

no offense - but I call it "rookie mistake".

You have not done homework and you have not studied how filters have to be built especially focusing on datatypes of field you want to apply filter to.

Please study this: https://help.qlik.com/en-US/nprinting/February2024/Content/NPrinting/ReportsDevelopment/Static-dynam...

This part is critical:

Lech_Miszkiewicz_0-1710753438358.png

Your Jan-2024 value is likely Date(MonthStart(Date),'MMM-YYYY') field which effectively is date field which requires numeric value filter as highlighted. Obviously I cannot tell you 100% without seeing how the field is created in script and then previewing its data type in data model viewer but from my experience 99.9% of the times it is what i wrote above.

cheers

 

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.

View solution in original post

2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

HI @myself 

no offense - but I call it "rookie mistake".

You have not done homework and you have not studied how filters have to be built especially focusing on datatypes of field you want to apply filter to.

Please study this: https://help.qlik.com/en-US/nprinting/February2024/Content/NPrinting/ReportsDevelopment/Static-dynam...

This part is critical:

Lech_Miszkiewicz_0-1710753438358.png

Your Jan-2024 value is likely Date(MonthStart(Date),'MMM-YYYY') field which effectively is date field which requires numeric value filter as highlighted. Obviously I cannot tell you 100% without seeing how the field is created in script and then previewing its data type in data model viewer but from my experience 99.9% of the times it is what i wrote above.

cheers

 

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.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

I will just add to it:

https://nprintingadventures.com/2019/02/15/the-pitfalls-of-nprinting-filters-part-1-dates-and-duals/

you may read all other filter related topics I wrote on my blog:

https://nprintingadventures.com/category/nprinting/filters/

cheers

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.