Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to export just a part of a pivot table columns to Excel

Hi,

I work on QV9, i would like to know how can i export a part of a pivot table?

For example, i have the following pivot table :

ABdate1date2date3
xxxxttttuuuuiiiddd
yyyyttttuuuuiiiddd
zzzzttttuuuuiiiddd

I would export to excel this table :

Adate1date2date3
xxxxuuuuiiiddd
yyyyuuuuiiiddd
zzzzuuuuiiiddd

(the same pivot table than the up but without the second column)

the B column is needed in "presentation" (user interface) but not in the export that why i want to supress it from the export

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

It can be done with a macro.  Create a button, attach macro to it.  Two options:

1. Use a macro that copies your table, and deletes 2nd coulmn.  Requires system access.

2. Create a copy of ypur table which doesn't have column B.  Keep it on a hidden sheet.  Macro only need to send this hidden table to excel.  This is much simpler, no need for system access.

Regards,

Michael

View solution in original post

3 Replies
Anonymous
Not applicable
Author

It can be done with a macro.  Create a button, attach macro to it.  Two options:

1. Use a macro that copies your table, and deletes 2nd coulmn.  Requires system access.

2. Create a copy of ypur table which doesn't have column B.  Keep it on a hidden sheet.  Macro only need to send this hidden table to excel.  This is much simpler, no need for system access.

Regards,

Michael

whiteline
Master II
Master II

Create hidden pivot without 'B' for export purposes.

Not applicable
Author

Thank you!

I 've used the first option (macro)

it's work perfectly

Regards,

Amine