Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
jim_chan
Specialist
Specialist

Set analysis + sum qty with type start with 'AB' and 'CD'

Hi guys,

a simple one i guess.

I want to create a set analysis - sum of qty but only type of  start with AB and CD. In my data now, i have these data 'AB_qwwertwr' and 'CD_zxbcmsjkf'.

Can this work???

sum(if(left(<MASTERHIS_PRD_CD,2)='AB' or left(MASTERHIS_PRD_CD,2)='',TRFIN_QTY))

1 Reply
sunny_talwar

Try this:

Sum({<MASTERHIS_PRD_CD = {'AB*', 'CD*'}>} TRFIN_QTY)