Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

creating tables from already loaded tables

i have a base table loaded to qlikview, now need to create a new table matching some criteia from the base table.

can this be done in qlikview ? am loading data from a sql server database for the base table.

4 Replies
tresesco
MVP
MVP

try something like  this:

SQLTable:

Load

        *

;

Select A,B, C From <Your SQL source>;

NoConcatenate // to avoid auto concatenation in any case if you want to take all the fields

NewTable:

Load A, B Resident SQLTable Where <Your condition>; // 'Resident' keyword reads from the loaded table

MayilVahanan

Hi

Please refer the exists concept.

http://community.qlik.com/message/234978#234978

Hope tat helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Use the resident load.

     Just like shown below.

     Data:

     Load Field1,Field2 from XYZ;

     Data1:

     Load Field1 as City, Field2 as Code resident Data;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

You can do this using Resident

I take it as your have the Base table with the table name BaseTable.

NoConcatenate

NewTable:

Load

     FieldA,

     FieldB,

     FieldC

     FieldD

Resident BaseTable

Where FieldC>2010 and FieldD>0;

Hope it helps

Celambarasan