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: 
DiegoF
Creator
Creator

Use * in filters, is it possible?

Hello developers,

In QlikSense, I know I can do this filter so it gets me x amount of dates: 

DiegoF_0-1696515308491.png

The thing is, I save it in a Bookmark and the function it returns me is this one:

DiegoF_1-1696515367093.png

I'm trying to replicate this filter formula for my NPrinting filters, but it´s not working, I think I have to put it in advanced search and tried, but wasn´t succesfull.

What am I doing wrong?

Thanks!

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Also - here is a sample of article with syntax for advanced search 

https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779

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

 

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

6 Replies
David_Friend
Support
Support

@DiegoF what version is your NPrinting and QlikSense on?

Can you share a screenshot from NPrinting as well?

DiegoF
Creator
Creator
Author

DiegoF_0-1696517383790.png

And QlikSense (August 2022)

I did tried a couple of times with some filter in the report but the error is just that is False, the condition I guess it´s just wrong

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi @DiegoF 

It can be done but....

Filters can be challenging if you dont understand what data type they are. Please read through the below links (make sure you follow links which are embedded as well as they describe more details on why/ how/ etc).

Now - for your solution in theory you could use "Advanced Search" filter, but its use may be questionable if you have other filters which cause selection state to change.

Best practice in your case would be to have field loaded in your load script like:

  • Date(Floor(MonthStart(Fecha)),'MM/YYYY')
  • and then use of "numerical value" filter for it as it will have only single value for all days
  • or use of "evaluate value" where formula can be used to return single numerical value.

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

Also - here is a sample of article with syntax for advanced search 

https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779

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

 

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.
DiegoF
Creator
Creator
Author

Thanks! The first link solved it for me, I didn´t knew you could use like in advanced search, so my dynamic filter is this one:

=FECHA like '*6/2023*

I´m guessin that all the other wildcards will work with like aswell, I love to learn that things I know can be applied somehow in qliksense.

Thank you!

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes - that can work, just remember that advanced search will only filter values within current selection if other filters are applied.

 

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.