Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
sagaraperera
Creator
Creator

except two product

Dear All

I Already use give below script to get a last year value in my script. But in this expression include all CLA_CODE  (eg-; FR,MR,MS,TT,SS ,ect...) Then I want to get a  value of except TT and  MR CLA_CODE using with given below expression.

Please help me.

=SUM({<TRAN_YEAR={'$(prioryear)'},TRAN_MONTH={'$(vPriorMonth-10)'},DESCRIPTION= {'NRP'} >} [Budget])

sagara

4 Replies
Chanty4u
MVP
MVP

you can include the expresion below in to  your expression

CALCODE-={'VALUE1','VALUE2'}

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Try this ,

It wil exclude those both and gives for remaining.

=SUM({<TRAN_YEAR={'$(prioryear)'},TRAN_MONTH={'$(vPriorMonth-10)'},DESCRIPTION= {'NRP'},CLA_CODE  -={'TT','MR'} >} [Budget])

-Nagarjun

sagaraperera
Creator
Creator
Author

Dear Mr.Nagarjun


Thanks it is work

sagara

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

then kindly close this thread

-Nagarjun