Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

delete lines from excel sheet

Hello All,

I am trying to find a way to enable me to delete lines from an excel sheet that i load into qlikview .

Any ideas ?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

example.JPG.jpg

i want to remove the 1st 2 rows and load name , age and gender as headers

View solution in original post

18 Replies
tresesco
MVP
MVP

while loading excel file, use transformation, see the screen shot:h1.png

In the next step, you would find deletion option. Once you decide and delete the rows, the code for deletion would get created in the script which you might refer later on and use accordingly.

Not applicable
Author

One of the ways to do this is to go to your script and open the excel file you want to edit.

If the file wizard opens click on the next button.

In the next tab click on enable tranformation step.

Now within the file wizard you can select the lines you want to delete.

When selected click on delete marked.

(you can even make a conditional statement in case the lines you want to delete aren't always in the same row)

Clever_Anjos
Employee
Employee

Do you want delete lines or not load some lines?

A load stament permits a "where" clause that filters what is beeing loaded

Not applicable
Author

will u please explain your question  briefly 

Anonymous
Not applicable
Author

sorry for the late reply

what i am trying to do is to delete the 1st 2 rows from an excel sheet then load the rest of the sheet

Clever_Anjos
Employee
Employee

Directory;

LOAD A,

     B,

     C,

     D,

     E,

     F,

     G

FROM

[yourexcelfile.xlsx]

(ooxml, no labels, header is 2 lines, table is [1°]);

Not applicable
Author

while loading data this type of transformation is possible

Anonymous
Not applicable
Author

i can't understand can you explain more

Clever_Anjos
Employee
Employee

header is 2 lines

instruct QlikView to not load first 2 lines