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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
jduluc12
Creator
Creator

p() in set analysis

HI,

I want to write an expression to include amount only for those customer whose name starts with "ABC" but does not have address which starts with "XYZ"

sum({<Customer=p{1<Name={'ABC*'}, Address={'*'} - {'XYZ'}>Customer}>}Amount)

it is not working and it behaves exactly like as if the statetment is

sum({<Customer=p{<Name={'ABC*'}>Customer}>}Amount)


what am i doing wrong?


Thanks

10 Replies
effinty2112
Master
Master

Maybe:

sum({$<Customer = {'ABC*'}>*<Address -={XYZ*}>}Amount)

Good luck

Andrew