Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis to read a range based on condition

Hi all,

I want to use set analysis to sum up some quantities from certain files. I have 3 types of files that I load in my QVD in the following format (SourceFile):

LCCPSTAAAA

LCCACCAAAA

LCCREVAAAA

I would like Set Analysis to sum up only data from LCCPST* files and ignore the other 2. One way is to specify the exact name of the file but is there a way to just include a range based on a condition? In this case read everythign that starts with LCCPST. I have tried to use the following but it does not work:

Sum({$< Left(SourceFile,6) = {'LCCPST'}>} QTY )

Any help is appreciated.

Thanks.

1 Reply
sunny_talwar

Try this

Sum({$<SourceFile = {'LCCPST*'}>} QTY)