Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a group of data where i have regions as one of the column header
Like
OGC
JNY
JIN
JAN
JIS
JCN
DC
JHK
I wan't a filter at the start with JIN and DC
I am using single below expression for single filter in Data Editor -
Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where OGC = 'JIN';
But for multiple filter this donot work -
Load [ODC], [Date], ... from [Lib://...] *ooxml, ...) Where OGC = 'JIN' OR 'DC';
this donot work.
Please help.
Thanks,
Vikas
PFA...
Test:
LOAD OGC,
Dept,
Date,
Qty,
Amount
FROM
(ooxml, embedded labels, table is Sample)
where Match(OGC,'DC' ,'JIN') ;
This works:
LOAD OGC,
Dept,
Date,
Qty,
Amount
FROM
(ooxml, embedded labels, table is Sample)
Where Match(OGC, 'JIN', 'DC')
This work with excel,
I am using database from SQL server and it gives error with comma (,)
This work with excel,
I am using database from SQL server and it gives error with comma (,)
In a SQL statement you would need to use a different syntax:
SQL
SELECT
......
WHERE OGC IN('JIN','DC');
Thanks this worked