Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
BenODBS
Contributor
Contributor

Using filter selection within expression criteria

Afternoon,

I am trying to write an expression where when the user selects a dropdown list of values that consists of 1 to 100, the expression will calculate against it.

value table is;

case_id, value

1, 2, 3, 4, 5 etc

I set this as a filter called value

 

separate to that is the case table where I use the below expression.

count({$<[Field1]={'Completed'}, [Field2]={'A'},  [Duration]={"<=[value]"}>} [Case Ref])

 

I have tried variables with SET DUR = ([value])

and using expression  [Duration]={"<=$(DUR)"}

but I'm having no luck. 

 

Is it even possible to do?

 

thanks

 

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

count({$<[Field1]={'Completed'}, [Field2]={'A'},  [Duration]={"<=$(=Max(value))"}>} [Case Ref])

View solution in original post

2 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

count({$<[Field1]={'Completed'}, [Field2]={'A'},  [Duration]={"<=$(=Max(value))"}>} [Case Ref])

BenODBS
Contributor
Contributor
Author

Thank you so much!