Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
paulwalker
Creator II
Creator II

Need Help

Hi Community,

I Need Help,

I have one Excel datasource..  like this

 

  

ABC

EmployeeEmployee175281
Employee240930
DepartmentDepartment140711
DEpartment241037

BCA

EmployeeEmployee1130256
Employee253922
DepartmentDepartment12319
DEpartment218469

CBA

EmployeeEmployee12480275
Employee2976329
DepartmentDepartment13056
DEpartment219556

Thanks in Advance....

PFA,

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

The solution Jemimah gave you is fine for the CROSSTABLE part and you could just quick-fix that with adding this to the end of his load script:

Tab2:

NOCONCATENATE LOAD

  Code,

  Pick( Match( Col, 'Employee1', 'Employee2' , 'Department1', 'Department2' ) , 'Total Customer','Tot Unique','Total Dept' , 'Tot Dept Unique' ) AS Col,

  Value,

  Column

RESIDENT

  Tab1;

DROP TABLE Tab1;

And it will work fine. I attached a modifed QVW. But I used a BINARY load since I didn't have the source Excel file.

View solution in original post

7 Replies
Not applicable

Hi,

Please go through the attachment.

Regards,

Jemimah

paulwalker
Creator II
Creator II
Author

Please anyone can help me???

petter
Partner - Champion III
Partner - Champion III

The solution Jemimah gave you is fine for the CROSSTABLE part and you could just quick-fix that with adding this to the end of his load script:

Tab2:

NOCONCATENATE LOAD

  Code,

  Pick( Match( Col, 'Employee1', 'Employee2' , 'Department1', 'Department2' ) , 'Total Customer','Tot Unique','Total Dept' , 'Tot Dept Unique' ) AS Col,

  Value,

  Column

RESIDENT

  Tab1;

DROP TABLE Tab1;

And it will work fine. I attached a modifed QVW. But I used a BINARY load since I didn't have the source Excel file.

paulwalker
Creator II
Creator II
Author

Thanks Peter....

petter
Partner - Champion III
Partner - Champion III

Actually it was Jemimah that solved the crosstable for you so please mark his contribution as helpful and like his solution too so he gets some points for it.

paulwalker
Creator II
Creator II
Author

Yeah, Your right...

Thanks..

paulwalker
Creator II
Creator II
Author

Hi Jemi,

Really, it's very helpful to me.....

Thank you so much for Quick response................