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

How to Restrict values in excel in load


Hi all,

  I am having one excel file that has a month field from Jan to Dec but I need to load only 5 months (i.e Jan,Feb,Mar,Apr,May) how I will over come this . in SQL we will use 'IN' function but Qlik view how we will manage this..

if I try like this in the way as I shown below  it is showing expected exception );  error

load

     [AGENT],

SALES AS SALES,

[Month] ,

     FROM

//(biff, embedded labels) where [Month]=('Jan','Feb','Mar',Apr);

3 Replies
Anonymous
Not applicable
Author

use

where match([Month],'Jan','Feb','Mar',Apr','May')

Regards

Nitin

Gysbert_Wassenaar

LOAD

     [AGENT],

     SALES AS SALES,

     [Month] ,

FROM

(biff, embedded labels)

WHERE match([Month],'Jan','Feb','Mar','Apr');


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Thanks u soo much nitin it is working  .. thanks a lot for ur support