Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
RodolfoCerdas
Contributor II
Contributor II

Information between two dates

Hi, 

I  would like to charge from QVD the Information between two dates. for example: 

TemporalTable:

LOAD *
FROM
//  QVD Path
(qvd)

where Date > '12/12/2000' and Date <'12/12/2010'; 

¿How could i charge the information between two Dates?

____________________________________

Me gustaría cargar información desde un QVD, contenida entre dos fechas por ejemplo:

TablaTemporal: 

LOAD *
FROM
//  Ruta del QVD 
(qvd)

where Date > '12/12/2000' and Date <'12/12/2010';  // 

¿Como podría filtrar la información en el where para obtener los datos entre 2 fechas?

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Your syntax looks OK. If you have trouble loading that way then there could be some issue with your date field or your date format in your QlikView application.

When comparing it's important that QlikView identified both your field and limit value as a date/numeric and not a string.

This might help.

TemporalTable:

LOAD *
FROM File.qvd (qvd)

WHERE [Date] >date#( '12/12/2000' , 'DD/MM/YYYY') AND [Date] <date#( '12/12/2010' , 'DD/MM/YYYY')

View solution in original post

2 Replies
Vegar
MVP
MVP

Your syntax looks OK. If you have trouble loading that way then there could be some issue with your date field or your date format in your QlikView application.

When comparing it's important that QlikView identified both your field and limit value as a date/numeric and not a string.

This might help.

TemporalTable:

LOAD *
FROM File.qvd (qvd)

WHERE [Date] >date#( '12/12/2000' , 'DD/MM/YYYY') AND [Date] <date#( '12/12/2010' , 'DD/MM/YYYY')

RodolfoCerdas
Contributor II
Contributor II
Author

Hi, thnks it works!