Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

remove unwanted headers

Dear Experts,

           I would like to remove unwanted headers in the below table while using cross table.

I want to remove QWT Budget without deleting in source table. The headers are Office,EmployeeID,2008,2009,2010,2011,2012 by using cross table. how to do like below?

Budget:

CrossTable(Budjettivuosi, BudjetoituMaara, 2)

LOAD Office,

     EmployeeID,

     2008,

     2009,

     2010,

     2011,

     2012

FROM

[..\Developer\Datasources\Budget.xls]

(biff, embedded labels, header is 1 lines, table is Sheet1$, filters(

Replace(1, top, StrCnd(null))

));

Best Regards,

Kyaw

1 Solution

Accepted Solutions
prma7799
Master III
Master III

Go to > Tables files

> select files which you want to do changes

>Next

> Enable Transformation Step

> select row which you want to delete

>select Delete Marked Option

> Next

> Finish

View solution in original post

7 Replies
tresesco
MVP
MVP

May be like:

CrossTable(Year, Data, 2)

LOAD Office,

     EmployeeID,

     [2008],

     [2009],

     [2010],

     [2011]

FROM

[....\Book1.xlsx]

(ooxml, embedded labels, header is 1 lines, table is Sheet1);

Not applicable
Author

hi tresesco,

     can i know how to filter the unwanted header in cross table step by step?

Regards,

Kyaw

jonathandienst
Partner - Champion III
Partner - Champion III

Without a sample of your spreadsheet, anything more than what tresesco has already said will just be guesswork...

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
prma7799
Master III
Master III

Go to > Tables files

> select files which you want to do changes

>Next

> Enable Transformation Step

> select row which you want to delete

>select Delete Marked Option

> Next

> Finish

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If your QWT Header numbers only one row, it should work as-is by way of the "header is 1 lines" option. Remove the filters(Replace()) option and try again.

The input file is first treated with the options you set in the initial LOAD dialog which contains - amongst others - a header type selection list ("Lines") and an input field to enter the number of header lines. Only then is the pivoting (CROSSTABLE) applied.

Peter

Not applicable
Author

hi qlikview7799,

       It work well. thanks for your help.

regards,

Kyaw

prma7799
Master III
Master III

Hi Kyaw,

Most Welcome.

Thanks