Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
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)