Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set expression help. Select where less than variable

Hi.

This is what I have so far.

Sum({$<d_DistanceApart_Miles={">=0<varMaxDist"}>}cen_Class_Data)

I am trying to sum the field cen_Class_Data

WHERE d_DistanceApart_Miles is LESS THAN varMaxDist (Which is a variable I have set)

Any clues why my set expression isn't working? It doesn't seem to be updating when I change my variable.

1 Solution

Accepted Solutions
Not applicable
Author

try this

Sum({$<d_DistanceApart_Miles={">=0<$(=varMaxDist)"}>}cen_Class_Data)

View solution in original post

2 Replies
Not applicable
Author

try this

Sum({$<d_DistanceApart_Miles={">=0<$(=varMaxDist)"}>}cen_Class_Data)

Not applicable
Author

You are a QV Wizard, thank you.