Jump to content
We've recently updated our Privacy Statement, available here ×

Need help with FILTER EXPRESSION when importing from EXCEL


jkeri

Recommended Posts

In my Excel i have a field called 'LOCATION'.and 'TXTYPE in the Jasper report and both are defined as 'java.lang.String'.

I have a parameter called P_LOCATION and it is defined as Java.util.List.

 

My 'FILTER EXPRESSION' is

((ArrayList) $P{REPORT_PARAMETERS_MAP}.get( "P_CENTER" )).contains($F{Cardholder Identifier}.toString())

which allows the user to enter one or more calues for the parameter P_CENTER.   This is working as I expected.

But now my user wants to  also exclude  where the first two characters of TXTYPE = 'R-'

What I dont know is what the 'FILTER EXPRESSION' statement should be.

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...