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: 
AbhijitBansode
Specialist
Specialist

Variation of Crosstable


Hi All,

I have a crosstable somewhat in different format than the normal  as shown in below image:

Crosstbl.bmp

How do I Covert this table in the following form:

LogicalTlb.bmp

PFA application with sample data.

Thanks,

Abhijit

1 Solution

Accepted Solutions
Not applicable

Hi Abhijit,

Please find the attached file for the solution. In such case need to use the Enable Transformation step and CrossTbale methods while loading the data. Find the attached to get an idea.

Santhosh G

View solution in original post

6 Replies
Michiel_QV_Fan
Specialist
Specialist

You should change your source data and load statement to generate the Region and Month dimensions. Region is now in your table as a measure.Therefore you cannot achieve the result your are looking for.

You need to load like this:

Load

Departement,

Region,

Month,

1 as counter

from ......xls

AbhijitBansode
Specialist
Specialist
Author

Thanks for your concern.

But changing the source structure needs to do bit of hardcoding in the script and would be a impracticle solution in my case.

I want to achieve it in QlikView transformation only.

Not applicable

Hi Abhijit,

Please find the attached file for the solution. In such case need to use the Enable Transformation step and CrossTbale methods while loading the data. Find the attached to get an idea.

Santhosh G

Not applicable

One more method with out hard coding, Find the attachment.

jagan
Luminary Alumni
Luminary Alumni

Hi,

Check this thread for solution.

multi_header_pivot_import.qvw

If it is a Static excel and doesn't contain any additional columns then just follow

Regards.

Jagan.

AbhijitBansode
Specialist
Specialist
Author

perfect.. 🙂

thanks.