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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot table help

Hi All,

I have a requirement where I need to display a Pivot table having dollar values for the following values of one Dimension.

Product1Amount
Sales76215.5
Direct52044.86
Indirect89573.6
Marketing93449.1
Direct6554.309
Indirect19710.01
Product241871.07
R&D26531.7
Direct48975.56
Indirect48590.39

and so on.

The problem that QlikView sees the repeating values in the Dimension and clubs them all together, so my Pivot table looks like the following:

Product1Amount
Sales49825.05
Direct172573.6
Indirect253675.1
Marketing11201.1
Product266014.51
R&D86477.5

The values of Direct and Indirect are being summed up and shown in one row respectively.

How can I make QlikView show it as individual values in the Pivot chart??

Thanks,

Abhinava

8 Replies
Not applicable
Author

I could be wrong, but if you're loading these tables with two instances of the same name I don't believe there is any way to differentiate them as Qlikview sees them as the same.  If possible I would just say change the way they are labeled?

Anonymous
Not applicable
Author

Correct, the fields with the same name in QlikView is the same field.

maxgro
MVP
MVP

I agree but with some tricks maybe you can get the pivot or something similar to the request; my result is

103483.jpg

Regards

iktrayanov
Creator III
Creator III

You probably have a design problem. Can you show your load script?

maxgro
MVP
MVP

Tmp:

load recno() as rn, *;

LOAD * INLINE [

Product, Col2, Amount

Product1,  Sales, 76215

Product1, Direct, 52044

Product1, Indirect, 89573

Product1, Marketing, 93449

Product1, Direct, 6554

Product1, Indirect, 19710

Product2, R&D, 26531

Product2, Direct, 48975

Product2, Indirect, 48590

];

iktrayanov
Creator III
Creator III

See attached.

iktrayanov
Creator III
Creator III

Or if you want just one dimension see this

maxgro
MVP
MVP

Hi Ivan, try a dummy column as in my attachment

103483 bis.jpg