Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue with Cross table

Hi All,

I have an excel sheet where I have a account no. and Product type listed as below:

                                                                    

AccountINT TPPPMCBMROS
123412
456312
7896
0012351
00015632

Here Product types are INT,TP,PP MCB, MROS.

Now in qlikview I need to need them under a dimension called Product Type so that I can show it in a list box.

So when I select on any Product Type it should show me the count wrt to the account.

It should be sumthing like below:

                                                                                  

AccountProduct TypeCount
123INT4
123PP1
123MROS2
456TP3
456PP1
456MCB2

Thanks.

-Sindhu.

1 Solution

Accepted Solutions
prma7799
Master III
Master III

4 Replies
prma7799
Master III
Master III

PFA

prma7799
Master III
Master III

Untitled.png

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

Load the data with a cross table load:

CrossTable([Product Type], Amount)

LOAD Account,

  INT,

  TP,

  PP,

  MCB,

  MROS

From ........

Now create straight table with Account and Product Type as dimensions and Sum(Amount) as expression.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Not applicable
Author

Thats exactly what I want..

Thanks for your help.

What if I want to do the reverse ie. row values to appear as the field names.

Regards,

Sindhu.