Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
surajrai
Contributor II
Contributor II

Difficulty in loading data

Hi Everyone,

I am working with a data set which is giving me trouble in loading in qlikview.

Sample data:

Header 1Header 2Header 3
ABCDEFGHI
JKLMNOPQR

Header 1Header 2Header 3
STUVWXYZA
QPRSECMIC

So, in a single excel file there are multiple times same headers along with spaces after every part is getting over. And now I am not able to write accurate code or use some function which will load the data with single header for all and no spaces in between.

Can anyone help or suggest something for the same?@Qlikhelp

1 Solution

Accepted Solutions
gawalimegha
Contributor III
Contributor III

Hello Suraj,

Here is Step by step procedure to achieve this.

Please find attached screenshots numbering per step along with .qvw.

Hope this help you.

1data1.PNG2load1.PNG3tranform1.PNG4after transform1.PNG5dlt blank.PNG6after dlt.PNG7finalResult.PNG8load data.PNG

View solution in original post

4 Replies
andrey_krylov
Specialist
Specialist

Maybe something like this

LOAD  [Header 1],    

          [Header 2],

          [Header 3]

From SomeExcel

Where not IsNull([Header 1]) and [Header 1] <> 'Header 1' ... (and so on if necessary)

.

surajrai
Contributor II
Contributor II
Author

Thank you Andrey for your help, half of the issue was resolved and for the other half I used Where IsNum (Header) = -1...
i got the solution, thanks.

gawalimegha
Contributor III
Contributor III

Hello Suraj,

Here is Step by step procedure to achieve this.

Please find attached screenshots numbering per step along with .qvw.

Hope this help you.

1data1.PNG2load1.PNG3tranform1.PNG4after transform1.PNG5dlt blank.PNG6after dlt.PNG7finalResult.PNG8load data.PNG

surajrai
Contributor II
Contributor II
Author

Hi Megha, thank you for your help.

Its a different way and a good one.