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

Create a new table through selection

Hi,

 

I would like to create one new table through my selection, its possible?

For example, i have one selection per year, i´d like clicking in button and create a table only with registers of my selection.

Table1:

cod, year

1, 2012

2, 2012

3, 2013

4, 2014

5, 2015

Selection:

2012

Click on button and create a new table...

NewTable:

cod,year

1,2012

2,2012

Thanks,

Robson Henrique

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Here's an example. If you have more selections, just add variables for each field and expand the where clause with the other selections:  ...where match(Field1, $(var1)) and match(Field2, $(var2)) and ... etc.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Not applicable
Author

save 2012 (selection) to variable

add partial reload as a trigger on button

in the script use variable to load only 2012 to new table

Not applicable
Author

in my case i have many selections, how do it?

Thanks...

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Here's an example. If you have more selections, just add variables for each field and expand the where clause with the other selections:  ...where match(Field1, $(var1)) and match(Field2, $(var2)) and ... etc.


talk is cheap, supply exceeds demand