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: 
jeevays7
Partner - Creator III
Partner - Creator III

pivot table with multiple expression

Hi All,

I have two table like below.


Table 1 : 

IDNAMEValue
1A4
1B5
1C6
2A2
2B4
2C5
3A3
3B5
3C3

Table 2: 

IDValue2Value3
15070
26080
37090

and I need the output in the pivot table like below chart.

Result:

IDABCExp2Exp3
14565070
22456080
33537090

In the above chart, Exp2 is sum(Value2) and Exp3 is Sum(Value3) and Sum(Value) is for A,B,C(this is field values of NAME).

How to do this?

1 Solution

Accepted Solutions
sunny_talwar

9 Replies
sunny_talwar

This?

Capture.PNG

jeevays7
Partner - Creator III
Partner - Creator III
Author

Yes, Sunny. Please share how to do?

sunny_talwar

Are you using personal edition of QlikView? If not, then you can open up the attached qvw.... or do you not understand something I did

jeevays7
Partner - Creator III
Partner - Creator III
Author

Thank you sunny. i got it.

sunny_talwar

Super

jeevays7
Partner - Creator III
Partner - Creator III
Author

Hi Sunny, I have a doubt.

Can we do without creating "Dim" Field in backend?

For example: Valuelist('2','3') like that?

sunny_talwar

I don't think so... but give it a shot and let us know what you find

govind1501
Contributor III
Contributor III

not able to download file      296078.qvw.Can you please help me.     

dennysetiawan
Partner - Contributor III
Partner - Contributor III

Hi @sunny_talwar 

If I follow to your solution, it makes my Pivot Table run very slow.

Can you give another workaround for more better performance?