User Profile
GuerauFF
Helper II
Joined 6 years ago
User Widgets
Contributions
Objetivo dinámico en un gráfico de columnas (según el producto)
Hola a todos Me gustaría visualizar el rendimiento medio de un cambio en comparación con el rendimiento objetivo que se establece para la calidad que se estaba produciendo durante esa marca de tiempo. Primero insertaré una imagen simple para que sea más fácil entender lo que me gustaría visualizar: En el eje X del gráfico podemos ver cómo tenemos la línea de tiempo, con días que van del 8 al 11 y en el eje Y tenemos el promedio del rendimiento. Así que lo que visualizamos en este gráfico es el rendimiento promedio por cada turno. Además, se puede ver cómo en la leyenda tenemos el diferente idMaterial (calidad) que se estaba produciendo en cada turno. Por último, la línea representa el valor objetivo que se considera como un parámetro de receta para cada calidad. Así que eso es lo que me gustaría visualizar, con las columnas el rendimiento medio de ese desplazamiento y con la línea el valor del rendimiento que se establece como el objetivo para cada calidad (para esos cambios que se producen diferentes calidades sería ideal si tanto el rendimiento real como el rendimiento objetivo fueran el promedio ponderado de acuerdo con la cantidad de ciclos que se produjeron de cada calidad). ¿Es posible? Sólo para dar más contexto voy a presentar rápidamente cómo funciona la estructura de mi modelo, ya que creo que puede añadir dificultad al caso. Escribiré las tablas que intervienen y las correlaciones que establezcan. Tabla A: La tabla A es el seguimiento por lotes, aquí es donde se registran todos los ciclos de producción. Cada ciclo de producción tiene una marca de tiempo y un valor de rendimiento. Correlación: esta tabla relaciona el rendimiento con un idPO (identificador de orden de proceso). Tabla B: Esta tabla hace referencia a cada idPO a un idMaterial. Cuadro C: Esta tabla relaciona cada idMaterial con un MaterialTag (calidad). Tabla D : Por último, esta tabla relaciona cada MaterialTag con su ExtractionYield (rendimiento objetivo). He comprobado y las relaciones funcionan correctamente, así que eso es algo de lo que no preocuparse. ¿Hay alguien que pueda ayudarme? Gracias de antemano!231Views0likes0CommentsDynamic Objective in a Column Chart (according to product)
Hi all, I would like to visualize the average yield of a shift compared to the target yield that is established for the quality that was being produced during that timestamp. First I will insert a simple image so it is easier to understand what I would like to visualize: In the X axis of the graph we can see how we have the timeline, with days going from the 8th to the 11th and in the Y axis we have the average of the yield. So what we visualize in this graph is the average yield per each shift. Also, you can see how in the legend we have the different idMaterial (quality) that was being produced in each shift. Finally, the line represents the objective value that is considered as a recipe parameter for each quality. So that's what I would like to visualize, with the columns the average yield of that shift and with the line the value for the yield that is set as the target for each quality (for those shifts that there are different qualities being produced it would be ideal if both the real yield and the target yield were the weighted average according to the amount of cycles that were produced of each quality). Is that possible? Just to give more context I'll quickly present how the structure of my model works, as I think it can add difficulty to the case. I'll write the tables that intervene and the correlations they establish. Table A: Table A is the batch tracking, here is where all the production cycles are registered. Each production cycle has a timestamp and a yield value. Correlation: This table relates the yield to an idPO (process order id). Table B: This table refers each idPO to an idMaterial. Table C: This table relates each idMaterial to a MaterialTag (quality). Table D : Finally, this table relates each MaterialTag to its ExtractionYield (target yield). I've checked and the relations are working properly, so that's something not to worry about. Is there anyone that can help me out? Thanks in advance!411Views0likes0CommentsRe: Dividir kgs totales por orden de proceso según su velocidad nominal
Ya veo, gracias por la respuesta. Sólo falta una cosa. Cuando introduzme la fórmula que sugeriste, en el campo Cantidad no la identifica como una variable válida. Esta es la fórmula que estoy usando con mis propias tablas. GoodProdTimeAll ? VAR __Table ? ADDCOLUMNS( ADDCOLUMNS( «Tabla de medidas», "__PHM",[PHM-EGR2] ), "__GoodProdTime",DIVIDE('ng SC_EGR_EGR_BAT'[QuantityFP],[__PHM],0) ) devolución SUMX(__Table,[__GoodProdTime]) La parte en la que hago la división no me permite hacer ese cálculo. La variable QuantityFP está formateada como un número, así que esperaba que funcionara bien, ¿sabes lo que podría estar pasando? No estoy seguro de qué me estoy perdiendo porque parece que sólo estoy copiando su fórmula y cambiando los nombres de las variables.1.5KViews0likes0CommentsRe: Dividing Total Kgs per Process Order according to its Nominal Speed
I see, thanks for the response. There is only one thing missing. When I enter the formula you suggested, in the Quantity field it doesn't identify it as a valid variable. This is the formula I am using with my own tables. GoodProdTimeAll = VAR __Table = ADDCOLUMNS( ADDCOLUMNS( 'Taula de Mesures', "__PHM",[PHM-EGR2] ), "__GoodProdTime",DIVIDE('ng SC_EGR_EGR_BAT'[QuantityFP],[__PHM],0) ) RETURN SUMX(__Table,[__GoodProdTime]) The part where I do the division it is not allowing me to do that calculus. The variable QuantityFP is formatted as a number so I expected it to work fine, do you know what could be happening? I'm not sure what am I missing because it seems like I'm just copying your formula and changing the variables names.1.8KViews0likes0CommentsRe: Dividir kgs totales por orden de proceso según su velocidad nominal
Gracias por la ayuda @Greg_Deckler ! Tengo una duda todavía aunque... ¿Cómo aplicarías los filtros que mencioné? Tanto la cantidad como la velocidad nominal deben filtrarse de acuerdo con ciertas especificaciones en algunas de las otras columnas de su tabla. El conjunto de datos original es bastante más complejo que este ejemplo y me resulta difícil aplicar la solución. Realmente apreciar su ayuda, sin embargo, sería increíble si pudiéramos hacer esto!1.5KViews0likes2CommentsRe: Dividing Total Kgs per Process Order according to its Nominal Speed
Thanks for the help Greg_Deckler ! I have one doubt still though... How would you apply the filters that I mentioned? Both the quantity and the nominal speed should be filtered according to certain specifications on some of the other columns of their table. The original data set is quite more complex than this example and I'm finding it difficult to apply your solution. Really appreciate your help though, would be awesome if we could get this done!1.8KViews0likes2CommentsRe: Dividir kgs totales por orden de proceso según su velocidad nominal
Hola @Greg_Deckler ! ¡Me encanta tu entusiasmo con este caso de uso! La fórmula está funcionando bien, es el resultado que no está saliendo bien. Lamentablemente debido a problemas de cumplimiento con mi empresa no se me permite compartir el conjunto de datos original, pero he creado una versión más simple que representa el mismo problema para que pueda ver lo que quiero decir. Adjunto el archivo pbix y el conjunto de datos de Excel (con el resultado esperado como usted dijo). Creo que te atorré acceso correctamente, si no me lo hago saber y lo haré de nuevo (podría enviarlos a ti por correo electrónico si es necesario). ¡Espero que puedas ayudarme! Guerau https://drive.google.com/file/d/1LpNhwRC1fRGqi7Oh8dpfYXa5nMf37_Zg/view?usp=sharing https://drive.google.com/file/d/1ss8WDZ8kXDOmCITi0SPPX1WauAK75CUS/view?usp=sharing1.5KViews0likes4CommentsRe: Dividing Total Kgs per Process Order according to its Nominal Speed
Hi Greg_Deckler ! Love your enthusiasm with this use-case! The formula is working fine, it's the result that is not coming out right. Sadly due to compliance issues with my company I'm not allowed to share the original data set but I've created a simpler version that depicts the same issue so you can see what I mean. I attach both the pbix file and the excel data set (with the expected result as you said). I think I granted you access correctly, if not let me know and I'll do it again (I could send them to you via e-mail if needed). Hope you can help me out! Guerau https://drive.google.com/file/d/1LpNhwRC1fRGqi7Oh8dpfYXa5nMf37_Zg/view?usp=sharing https://drive.google.com/file/d/1ss8WDZ8kXDOmCITi0SPPX1WauAK75CUS/view?usp=sharing1.9KViews0likes4CommentsDividir kgs totales por orden de proceso según su velocidad nominal
Hola Este es mi caso, es un poco denso pero trataré de explicarlo tan claramente como sea posible. Me gustaría calcular una variable llamada GoodProdTime. De acuerdo con mi fórmula teórica, GoodProdTime - Kg de buena producción / Velocidad Nominal. El problema al que me enfrento es que este cálculo debe hacerse de forma independiente por cada orden de proceso (PO), ya que cada orden de proceso tendrá una cantidad diferente de kg de buena producción, pero también una velocidad nominal diferente. Para ponerlo en una fórmula esto es lo que me gustaría hacer (según un filtro de tiempo que estoy aplicando): A partir de ahora, lo que puedo calcular es el siguiente: La forma en que calculo esta segunda fórmula es la siguiente: GoodProdTime ? CALCULATE(SUM('ng SC_EGR_EGR_BAT'[QuantityFP]),'ng SC_EGR_EGR_BAT'[Invertir] á "", FORMAT('ng SC_EGR_EGR_BAT'[Rework],BLANK()) á "False")) / CALCULATE(AVERAGE('ng PoMixParameter'[parameter2Value]),'ng PoMixParameter'[phaseType] á "YBN1", 'ng PoMixParameter'[parameter2Id] á "BaseQuantity" Como puedes ver lo que estoy haciendo es calcular el sumatorio de kgs (QuantityFP) de acuerdo con algunos filtros de su tabla y dividirlo por el promedio de velocidades nominales según algunos filtros también. Hay una variable que vincula las dos tablas, vinculando el idPO de la tabla 'ng SC-EGR-EGR-BAT' con el idPO de la tabla 'ng PoMixParameter', que es la tabla que almacena la velocidad nominal por cada OP. He tratado de explicarlo tan bien como sea posible, si alguno de ustedes tiene alguna duda por favor hágamelo saber y estaré encantado de responder a ellos. ¿Hay alguien que pueda ayudarme con esta fórmula? Cualquier ayuda sería muy apreciada! Gracias de antemano, Guerau1.6KViews0likes6CommentsDividing Total Kgs per Process Order according to its Nominal Speed
Hi there, Here's my case, it is a little bit dense but I'll try to explain it as plainly as possible. I would like to calculate a variable called GoodProdTime. According to my theoretical formula, GoodProdTime = Kg of good production / Nominal Speed. The problem that I am facing is that this calculus should be done independently per each process order (PO), as each process order will have a different amout of kgs of good production but also a different nominal speed. To put it in a formula this is what I would like to do (according to a filter of time that I'm applying): As of now, what I'm able to calculate is the following one: The way I calculate this second formula is the following one: GoodProdTime = CALCULATE(SUM('ng SC_EGR_EGR_BAT'[QuantityFP]),'ng SC_EGR_EGR_BAT'[Reverse] = "", FORMAT('ng SC_EGR_EGR_BAT'[Rework],BLANK()) = "False")) / CALCULATE(AVERAGE('ng PoMixParameter'[parameter2Value]),'ng PoMixParameter'[phaseType] = "YBN1", 'ng PoMixParameter'[parameter2Id] = "BaseQuantity" As you can see what I'm doing is calculating the summatory of kgs (QuantityFP) according to some filters from its table and dividing it by the average of nominal speeds according to some filters as well. There is a variable that links the two tables, linking the idPO from the table 'ng SC-EGR-EGR-BAT' with the idPO from the table 'ng PoMixParameter', which is the table that stores the nominal speed per each OP. I've tried to explain it as well as possible, if any of you have any doubts please let me know and I'll be happy to answer them. Is there anyone that could help me out with this formula? Any help would be greatly appreciated! Thanks in advance, Guerau
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.