User Profile
Logistics
Regular Visitor
Joined 6 years ago
User Widgets
Contributions
Problema de hombre a varios, ¿qué artículos y cuántos se incluyen en un ID de vehículo?
Hola Tengo un problema de relación de varios a varios que es bastante difícil de resolver. En mi ProductionTable tengo información sobre qué fecha y hora comienza la producción en qué AssemblyArea y qué es el VehicleNumber que se va a producir. En la otra tabla tengo qué número de pieza (Partno) incluido en cada número de vehículo y esa cantidad de cada número de pieza. Las dos tablas están vinculadas junto con un número llamado LinkNumber que tiene una relación de varios a varios porque un VehicleNumber puede incluir muchos números de pieza diferentes y un número de pieza se puede incluir en muchos números de vehículo diferentes. Puede ver la relación en la imagen de abajo. En la imagen de abajo se puede ver el problema. He filtrado en una fecha de producción, un número de artículo y un AssemblyArea y quiero ver cuántos de ese número de artículo se va a utilizar ese día (cantidad) en ese AssemblyArea. La Tabla 1 muestra lo que obtengo ahora (valor incorrecto). El valor verdadero debe ser cantidad multiplicada por el recuento de VehicleNumber para cada LinkNumber único, en este caso 15. Tenga en cuenta que la cantidad puede diferir de LinkNumber a LinkNumber incluso si es el mismo Partno. Cualquier ayudaes apreciado! saludos302Views0likes2CommentsMan-to-many problem, what articles and how many is included in one vehicleID?
Hi, I have a many-to-many relationship problem that is quite hard to solve. In my ProductionTable I have information on what date and time the production starts on what AssemblyArea and what the VehicleNumber is that is going to get produced. On the other table I have what part number (Partno) included in each VehicleNumber and that quantity of each part number. The two tables are linked together with a number called LinkNumber that has a many-to-many relationship because one VehicleNumber can include many different part numbers and one part number can be included in many different VehicleNumbers. You can see the relationship in the picture below. In the picture below you can see the problem. I have filtered on one production date, one article number and one AssemblyArea and wants to see how many of that article number is going to be used that day (Quantity) in that AssemblyArea. Table 1 shows what I get now (Wrong value). The true value should be quantity multiplied with count of VehicleNumber for each unique LinkNumber, in this case 15. Note that the quantity can differ from LinkNumber to LinkNumber even if it´s the same Partno. Any help is appreciated! Regards612Views0likes2Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.