Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
buenas trades
quiero ver si me pueden apoyar en poder limitar la carga de informacion de solo tres años en mi QVD, ya que actualmete me carga todo el Historico
G_Table:
LOAD OrigenTabla,
ID,
Mov,
MovOrigen,
MovOrigenID,
MovID,
FechaEmision,
FechaRegistro,
VentaUsr,
FechaFinConteo,
FechaInicioConteo,
MovConcepto,
Proyecto,
UEN,
Upper(Cliente) as Cliente,
ClienteEnviarA,
Almacen,
len(Almacen) as AN,
Articulo,
OpcionSubCuenta,
Cantidad,
Observaciones,
Referencia,
Estatus,
Agente,
OrdenCompra,
Causa,
Precio,
Ejercicio,
Periodo,
PrecioUnitario,
SubTotalVentas,
RFC,
ClaveOpcionVenta,
ClaseClaveOpcion,
ListaPreciosEsp,
Fabricante
FROM
[C:\Users\doc02\Desktop\Qvd\1\MovimientosV1.qvd]
(qvd)Where Sucursal = '1'
and not UEN= '1' and not UEN ='6' and not UEN ='7'
and FechaEmision <= '01/01/2019' and Estatus= 'CONCLUIDO' and Cliente <>'CMEX1871';
quiero cargar 2017, 2018, y 2019 solamente ?
espero me puedan apoyar
Hello @CGJA ,
Maybe this tip can help.
You could use something like:
Where [DateField], 'DD/MM/YYYY'] >= AddYears(Today(), -3);
Or you could use a fix value instead of Today() as needed depending on your requirements.
And is FechaEmision <= '01/01/2019' and FechaEmision >= '01/01/2016' not successful?
Cheers,
Albert
Hello @CGJA ,
Maybe this tip can help.
You could use something like:
Where [DateField], 'DD/MM/YYYY'] >= AddYears(Today(), -3);
Or you could use a fix value instead of Today() as needed depending on your requirements.
And is FechaEmision <= '01/01/2019' and FechaEmision >= '01/01/2016' not successful?
Cheers,
Albert