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: 
ashmitp869
Creator II
Creator II

Filter condition not supporting ?

Hi there ,

Please kindly assist , how to use the filters in nprinting.

My reports need to show data until 

Reporting Date <=Max([Reporting Date],7) so I am trying to use filter in nprinting but it look like its nor supporting.

Report.PNG

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

@Vegar @ashmitp869 

"Value"  and "Numerical Value" do not take expressions! So they will not work in this case.

If you wish to use expression like Max() or anything else you need to use: Evaluate value or Advanced Search options

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-fi...

I discuss filtering options on my blog here: 

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

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.

View solution in original post

3 Replies
Vegar
MVP
MVP

max() returns a number, try changing from 'Value is' to 'Numeric Value is'

Read more on filters here: https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-fi...

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

@Vegar @ashmitp869 

"Value"  and "Numerical Value" do not take expressions! So they will not work in this case.

If you wish to use expression like Max() or anything else you need to use: Evaluate value or Advanced Search options

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Static-dynamic-fi...

I discuss filtering options on my blog here: 

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

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

one more comment...

your requirement is to filter Reporting Date <=Max([Reporting Date],7) 

in this case the only option is to use "Advanced search" as "Evaluate" only expects a single ( = ) value and not range of values ( <= )

I have written about Advanced search here:

https://nprintingadventures.com/2019/06/26/nprinting-filters-part-3-advanced-search/

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.