Jump to content

Case Statement for Data Limiter Expression Error


Daniel Ramirez 2

Recommended Posts

I am trying to run this case statement in Spotfire Limit Data Using Expression and getting errors."Incorrect Expression type string. The expression must have type "Boolean"."

Not exactly sure what is wrong and tried messing around with it with no success. Trying to filter out the data

 

case when (([TypeDesc] is not null) and ([TypeDesc]~='Red')) or (([Coating] is not null)

and (([Coating]~='Blue') or ([Coating]~="Red"))) then 'Red; ' else null end

Link to comment
Share on other sites

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...