Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
prabunakil
Contributor III
Contributor III

Combine Two Statement

Hi, can i check how to combine this two expression become one expression for my qlikview pivot table expression.

=Sum(if([Bill Type]='LG3' and [KSCHL]='ZPR0',[KONV_KWERT]*-1))

=Sum(if([Bill Type]='LF2' and [KSCHL]='ZRBP',[KONV_KWERT]*-1))

I am new to qlikview, hope someone to assist.

1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Hi,

You can use Set Analysis :

=(Sum({<[Bill Type]={'LG3','LF2'},KSCHL={'ZPR0','ZRBP'}>}[KONV_KWERT])*-1)

Thanks,

Mukram

View solution in original post

6 Replies
Anil_Babu_Samineni

May be this?

Sum({<[Bill Type] = {'LG3', 'Lf2'}, KSCHL = {'ZPRO','ZRBP'}>} (KONV_KWERT*-1))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

Try this

Anil Case sensitive

Sum({<[Bill Type]={'LG3','LF2'},KSCHL={'ZPRO','ZRBP'}>}(KONV_KWERT*-1))

mdmukramali
Specialist III
Specialist III

Hi,

You can use Set Analysis :

=(Sum({<[Bill Type]={'LG3','LF2'},KSCHL={'ZPR0','ZRBP'}>}[KONV_KWERT])*-1)

Thanks,

Mukram

Anil_Babu_Samineni

May be i forget to press Shift that case

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Chanty4u
MVP
MVP

No issue bro   he will check  or some other way some one will the sollution

prabunakil
Contributor III
Contributor III
Author

Thank you, is working fine now.

But i have another question now.

Capture.JPG

Can anyone know how come my gross wont show in details instead of lum sum. My sum total is correct but i need details.