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

Select query on QVD

hi all,

can we have a select query on a QVD.

like first load the qvd

load * from qvd           and then

select few columns from qvd

is it possible

thanks

5 Replies
nilesh_gangurde
Partner - Specialist
Partner - Specialist

if you want few columns from qvd, instead of using "Load * from Qvd"

use the "Load (Column names) from Qvd".

-Nilesh

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     You can not use the Select query when getting data from QVD, it is used only when you are fetching data from Databases like Oracle, mysql and so on.

     But yes you can filter the data based on some condition like you do in Select Query when you are fetching data from QVD;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Thanks Kaushik.

Can we use Sum function along with if statement while loading data from QVD??

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Yes you can do. Something like this.

     Load if(Country = 'INDIA', sum(Amount)) as INDIA_SALES

     From XYZ;

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
er_mohit
Master II
Master II

try this.Suppose in A table ur column is a to z which is fetch from qvd.......

A:

load * from qvd;

B:

load a,b,c

resident A ;

drop table A;