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

Macro to Split Data Into Worksheets based on the Filter Selection

Hi All,

I am working on the macro where I have a pivot table with some calculations.

 

Agent1Agent2Agent3Agent4Agent5Agent6
KPI 1
KPI 2
KPI 3
KPI 4
KPI 5
KPI 6
KPI 7
KPI 8
KPI 9
KPI 10

Filters -

1.jpg

User can select either Product or Software House Code (Always one Selected Value).

My requirement is I need to show the data in above table in different sheets based on the filters selected. Below is the illustration of the same.

  

Filter Values
ProductSoftware House code
ABCDXER45
ABBBWES67
ACCCXCV90
ADDD
AEEE

For example if user selects Product as filter the data to be split in 5 different sheets i.e. for each product. If user selects Software House Code macro required to split the data in three sheets i.e. for each Software House Code.

Can some one help me with the VBscript or let me know in case any details required.

Regards,

1 Reply