Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Facha min y Facha max semana_año

Hola a todos

Gracias por su apoyo

Tenia lo siguiente  Week(weekstart(TempDate)) & '-' & WeekYear(TempDate) as SEM_AÑO

y DAY(WeekStart(TempDate)) & '-' & DAY(WeekEnd(TempDate)) AS DAY_DAY

donde agrupo  dia minimo y maximo de una semana.

cambio a Week(Weekstart(TempDate,1,-1)) & '-' & Year(Weekstart(TempDate,1,-1)) as SEM_AÑO

como puedo calcular DAY_DAY   ?

necesito DAY_DAY de la siguiente tabla

FECHASEM_AÑODIA_SEMDAY DAY
01/01/20121-2012Dom1-7
02/01/20121-2012Lun1-7
03/01/20121-2012Mar1-7
04/01/20121-2012Mié1-7
05/01/20121-2012Jue1-7
06/01/20121-2012Vie1-7
07/01/20121-2012Sáb1-7
08/01/20122-2012Dom1-8
09/01/20122-2012Lun1-8
10/01/20122-2012Mar1-8
11/01/20122-2012Mié1-8
12/01/20122-2012Jue1-8
13/01/20122-2012Vie1-8
14/01/20122-2012Sáb1-8
0 Replies