Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
ecolomer
Master II
Master II

Interval of dates

Hi,

I have a file with ths data:

- Task

- Initial Date

- Final Date

And I need to select an interval of dates and visualize all the tasks with one o more date into the interval selected.

TX in advance

1 Solution
7 Replies
SunilChauhan
Champion II
Champion II

interval(

[Initial Date]-

[Final Date],'HH')

or age(

[Initial Date]

, [Final Date])

hope this helps

Sunil Chauhan
jagan
Partner - Champion III
Partner - Champion III

Hi,

Can you come up with some sample data and expected output.  It helps to easily providing the solution.

Regards,

Jagan.

Not applicable

hi

try this

interval(date(Final Date)-date(Initial Date))

ecolomer
Master II
Master II
Author

ProyectoTareaFecha InicioFecha Fin
C42005CAcoplar Componentes14/07/2014 8:3014/07/2014 17:30
C42005CCapacitación07/07/2014 8:3011/07/2014 17:30
C42005CCapacitación17/07/2014 8:3018/07/2014 17:30
CQ42416Equipos / Armado19/05/2014 8:3019/05/2014 17:30
CQ42416Equipos / Armado20/05/2014 8:3020/05/2014 17:30
CQ42416Equipos / Armado22/05/2014 8:3022/05/2014 17:30
CQ42416Equipos / Armado23/05/2014 8:3023/05/2014 17:30
Not applicable

HI

This gives the differences in hours.

Interval(DATE(date#('10-10-2014','DD-MM-YYYY'))-date(date#('10-09-2014','DD-MM-YYYY')))

and this gives the differences in days

DATE(date#('10-10-2014','DD-MM-YYYY'))-date(date#('10-09-2014','DD-MM-YYYY'))

hope this helps you.

ecolomer
Master II
Master II
Author

Very Good.

Thank's