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: 
anat
Master
Master

Multiple headers in Excel

Hi Team,

My source file having multiple headers,can any one share me Extract Script based on my input data.

i have tried in many waves by referring Qlikview community links

<

Multiple header from Excel into Qlikview

multi_header_pivot_import.qvw

>

,but still i am facing problems.

10 Replies
anat
Master
Master
Author

Attached source file

Not applicable

Hi Ananth

Can you please share a excel file to show the exact format you want the final result to be

anat
Master
Master
Author

i want final result in below format.

    

DescMonthVal1Val2Val3
xApr-10136
vApr-10247
asApr-103567
..........
.........
Not applicable

The format the data is in is very difficult to work with

Are you allowed to change the raw data to the format i've put in the file attached?

anat
Master
Master
Author

Hi Chris,

Yes ,i can change date formats.

settu_periasamy
Master III
Master III

Hi,

May be check the attachment. (excel also) using multi_header_pivot_import.qvw

anat
Master
Master
Author

Thanks Periasamy,

its working fine ,but in case if any values are null then its populating different values.

for Apr-10 month Val2 values are null for column  Desc (x,as).

source data:

  

after loading the qvw ,its prompting  below values.

Desc Month_New Value Val1Val2Val3
asApr 20103673
vApr 2010247
xApr 2010161

any other way to overcome this issue?

settu_periasamy
Master III
Master III

Yes.. i didn't notice that. When transformation in the script, if there is a null in the current column value, the previous value applied.

May be you can your null value as '0' and check, Like

Capture1.JPG

Capture.JPG

anat
Master
Master
Author

is any alternative to do in qlikview?