Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Iam new to Qlikview
Here I have a small doubt that
I have On date filed like In_date which consisting of 2013,2014 data. But while loading the data i need to load only 2014 data.
Is there any possibility for this.
Here am attaching my sample excel sheet
Please help me ..
Thank you,
Amarnath
LOAD Victim_id,
Name,
Date_of_birth,
[Name _of_guardian],
Gender,
Phone_no,
Address,
status,
In_date,
Out_date,
Condition
FROM
MasterCalendar.xlsx
(ooxml, embedded labels, table is Sheet1)
Where Year(In_date)=2014;
Hi Amarnath,
While loading data in edit Script you can load data use where Condition use year that data only will load
Like where Year = 2014.
Ramya.
MaterCalender:
LOAD Victim_id,
Name,
Date_of_birth,
[Name _of_guardian],
Gender,
Phone_no,
Address,
status,
In_date,
Out_date,
Condition
FROM
MasterCalendar.xlsx
(ooxml, embedded labels, table is Sheet1) where In_date<='31/01/2014';
LOAD Victim_id,
Name,
Date_of_birth,
[Name _of_guardian],
Gender,
Phone_no,
Address,
status,
In_date,
Out_date,
Condition
FROM
MasterCalendar.xlsx
(ooxml, embedded labels, table is Sheet1)
Where Year(In_date)=2014;
Hi
Try like this
Load * from datasource
Where Year(In_date)=2014;
Hi Ramya,
Thank you for you reply but In_date consists the data like 'DD/MM/YYYY' format.
Then how to select Particular year.
Once check with attachment.
Thank you Manish and Mayil
Hi Amar,
You will know Date Function right.
Just Write like this:
Year(Your Req Field) = '2014'
or
where Date<='your req date';
Ramya.
Thank you Ramya