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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
matiaslromero
Frequent Visitor

Asignar numero de viaje único

Buenas tardes, necesito ayuda para resolver lo siguiente:  quiero sacar el valor total de carga que lleva una unidad, para esto debo sumar los importes del Viaje 1 - OP Inicial 1 mas el importe del viaje 1 - Op inicial 2. Es decir, sale de una sucursal (op 1) con un numero de viaje, y al pasar por otra sucursal (op 2) se debe generar un numero de viaje para la misma unidad/chofer pero desde esa sucursal. 

Necesitaria que esto se agrupe con el numero de viaje de la OP1. 

matiaslromero_0-1659989471665.png

 

En la imagen se ve que mi viaje inicial es el 38754 y levanta en otro CD lo reflejado en el viaje 10666. 

Como puedo unificar el numero de viaje? Los unicos datos que comparten las lineas son nombre de chofer y patente del camion, y otro dato que tengo que tener en cuenta es que si la unidad sale el 1/8 por ejemplo, la carga en las otras sucursales son o el 2/8 o el 3/8 dependiendo la distancia, pero en ese rango de fecha si esta el mismo chofer y unidad me lo deberia sumar.

 

Desde ya agradceria la ayuda.

 

 

 

 

2 REPLIES 2
matiaslromero
Frequent Visitor

Good evening, what I need to achieve is what is marked in the image, which generates a field where the original traveler of the unit is indicated, in a date range of no more than 4 days.

 

matiaslromero_0-1660369366098.png

Hope it's understandable

 

(Use traductor ya que el ingles no es lo mio)

Duia
Resolver II
Resolver II

Hi  @matiaslromero ,

 

The text here is displayed in Spanish, so I am not very clear which fields and meanings you are referring to.

Can you show the results in the form of pictures, we can better help you solve the problem.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors