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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ferha_jafri
Partner - Creator III
Partner - Creator III

Issue with a pivot table

Hello Everyone,

I have an issue with the straight table as i want to have only amount when DimName is 1 and Quantity when DimName is 2.Attaching the sample doc.

5 Replies
ferha_jafri
Partner - Creator III
Partner - Creator III
Author

Plz reply it is urgent

Not applicable

Add expression Amount with conditional DimName =1

Add expression Quantity with conditional DimName = 2

preminqlik
Specialist II
Specialist II

hi feeha,

Please find attachment for solution...if you want to learn something more than it ..see whats new in qlikview 11 application ,in that see reports tab ,u'll come to know that ...:)

regards

Premhas

ferha_jafri
Partner - Creator III
Partner - Creator III
Author

Hi Erik

Thanks for your reply but  can you please attach a sample application...

Not applicable

I had to put both quantity and amount into one expression.

Have a look at the attachment

Definition of expression:

if (DimNo=1, SUM(AMOUNT), if (DimNo=2, SUM (Quantity), ''))