Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
subbareddykm
Creator II
Creator II

Table store

HI All ,

How to divide my table based on State Field and create the QVD's corresponding statename Qvd's with single load and store statements.

1 Solution

Accepted Solutions
stascher
Partner - Creator II
Partner - Creator II

States:

load distinct State from Sample.xlsx (ooxml, embedded labels, table is Sheet1) ;


for each state in fieldvalueList('State')

Temp:

  load * from Sample.xlsx (ooxml,embedded labels,table is Sheet1) where State='$(state)';


  store Temp into [OutFile_$(state).qvd]; // change to your desired output file name template.

  drop table Temp;

next state;

drop table States;

View solution in original post

1 Reply
stascher
Partner - Creator II
Partner - Creator II

States:

load distinct State from Sample.xlsx (ooxml, embedded labels, table is Sheet1) ;


for each state in fieldvalueList('State')

Temp:

  load * from Sample.xlsx (ooxml,embedded labels,table is Sheet1) where State='$(state)';


  store Temp into [OutFile_$(state).qvd]; // change to your desired output file name template.

  drop table Temp;

next state;

drop table States;