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

help with the exchange rate in the date range

Hi!

As I can find a rate in a range of date (I have start and end date) on a different date from the sale table.

Hola!

Como puedo buscar un tipo de cambio en un rango de fecha (Tengo fecha de inicio y fecha de termino) en una tabla distinta a la fecha de la venta.

Muchas Gracias por su ayuda.!!

7 Replies
krishna_2644
Specialist III
Specialist III

post some sample data to look at.

Thanks

sorrakis01
Specialist
Specialist

Hi,

Can you explain more details?

Hola,

puedes explicar más detalles de lo que te propones? No acabo de entender que es lo que quieres

Saludos,

Not applicable
Author

I need to find an exchange rate on a date range

Necesito buscar un tipo de cambio en un rango de fecha

sorrakis01
Specialist
Specialist

Hi,

you can search it: If (date1 > Min(Date2) and date1 < Max(Date2),'found','not found')

Hola,

Puedes buscarlo así: If (date1 > Min(Date2) and date1 < Max(Date2),'Encontrado','No Encontrado')

Saludos,

marcus_malinow
Partner - Specialist III
Partner - Specialist III

Do you already have exchange rate data? if not, xcd.com may help.

When you have this data, match in to your data using an intervalmatch statement

Not applicable
Author

Jordi no Funciono solo me trae algunos valores y no todos adjunto ejemplo

Jordi It worked not only brings me some values and not all attached example

num(

  pick(IdMetrica,

  //Ventas USD

  if([Moneda Factura]= 'USD', sum([Venta USD]),sum([Venta USD]/[T/C]))

  ,

   //Ventas CLP

  if([Moneda Factura]= 'CLP', sum([Venta USD]),if(@KEY_FECHA >min(exr_start_date) and @KEY_FECHA < max(exr_end_date),[Tipo Cambio Moneda Reporte],[Tipo Cambio Moneda Reporte]))

))

Not applicable
Author

hola Marcus,

Si tengo los tipo de cambio en una tabla en mi BD, podria enviar un ejemplo por favor de intervalmarch

if I have the exchange rate at a table in my BD, could send a sample please intervalmarch

Muchas Gracias