Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

incluir variables en expreciones

Hola , aplique la misma logica del analisis de conjuntos pero no funciono.

=SUM({$<CAL_ANIO=,CAL_SEMESTRE=,CAL_MES=,CAL_SEMANA=,CAL_DIA_SEMANA=,

CAL_FECHA={$(=date(today()-1,'DD-MM-YYYY'))} >} ARV_IMPORTE_CON_IVA )/1000

ventas del dia de ayer estatico

3 Replies
Not applicable
Author

Yo no hablo español, pero trate de esta:

=SUM({$<CAL_ANIO=,CAL_SEMESTRE=,CAL_MES=,CAL_SEMANA=,CAL_DIA_SEMANA=,
CAL_FECHA={'$(=date(today()-1,DD-MM-YYYY))'} >} ARV_IMPORTE_CON_IVA )/1000


Me mudé a su comillas.

Not applicable
Author

TOO MUCH THANKS , I SPEAK SOME INGLES

SUM({$<CAL_ANIO=,CAL_SEMESTRE=,CAL_MES=,CAL_SEMANA=,CAL_DIA_SEMANA=,CAL_FECHA=

,CAL_FECHA={ ' $(=varAyer) ' } >}ARV_IMPORTE_CON_IVA)/1000

Not applicable
Author

Hola Oreff,

Podría ser así, con las comillas dobles en la formula de fechas

=SUM({$<CAL_ANIO=,CAL_SEMESTRE=,CAL_MES=,CAL_SEMANA=,CAL_DIA_SEMANA=,

CAL_FECHA={"$(=date(today()-1,'DD-MM-YYYY'))"} >} ARV_IMPORTE_CON_IVA )/1000

O bien con tu variable podría ser como: CAL_FECHA={$(varAyer)}.

Espero esto resuelva tu caso.

Saludos,