Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - Search String

Hi all,

Is it possible to do a greater than / less than on a string in set analysis, like

SUM({$<Field= {“<= $(Variable)”}>} MeasureField)

where $(Variable) contains a string value?

If not, what should be a good work around for this?

Regards,

Björn

 

 

14 Replies
avinashelite

IF you have greater than and lesser than parameters than you can try like this :

SUM({$<Field= {“>=$(Variable2)<= $(Variable)”}>} MeasureField)

Not applicable
Author

The point is that the greater than / lesser than functionality in set analysis won't work when the Variable contains a string value.

Not applicable
Author

Good workable solution without using Set Analysis, thanks!

avinashelite

if you have got the answer please mark the correct answer and close this thread

Not applicable
Author

Thanks, I did not know the precedes / follows operators and the way to use them in Set Analysis. I tried the following and it worked:

SUM({$<Field= {“Field precedes '$(Variable)'”}>} MeasureField)

I actually used the same field for both Field.