Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hola buen dia
agradeceria su ayuda con este caso:
estoy calculando una medida "Conf Inv Lote-Pond", multiplicando dos medidas antes echas (confiabilidad de lote * peso%) pero en el TOTAL de la medida aplica el mismo cálculo de la medida y lo que necesito que me muestre en el TOTAL: es la suma de cada dato obtenido por centro y almacen, dejo tabla para entender lo antes dicho, mil gracias si me ayudan.
en ves de dar 80,45% deberia dar 74% aproximadamente (Resultado en letra verde)
| centro | almacen | confiabilidad de lote | peso% | Conf Inv Lote-Pond |
| cd01 | DS01 | 100% | 0% | 0% |
| cd01 | EX02 | 100% | 0,58% | 0,58% |
| cd01 | MQ01 | 100% | 0,01% | 0,01% |
| cd01 | PT02 | 73,71% | 98,98% | 72,96% |
| Cd01 | RE01 | 100% | 0,42% | 0,42% |
| Total | 80,46% | 99,9% | 80,45% |
muchas gracias
Solved! Go to Solution.
For your case, Just use this formula to create a new measure:
Measure= VAR _TABLE=SUMMARIZE( Table, Table[centro],Table[almacen], "_value",[Conf Inv Lote-Pond]) return
SUMX(_TABLE, [_Value])
or just adjust the Conf Inv Lote-Pond measure as below:
Conf Inv Lote-Pond= VAR _TABLE=SUMMARIZE( Table, Table[centro],Table[almacen], "_value",[confiabilidad de lote]*[peso%]) return
SUMX(_TABLE, [_Value])
Regards,
Lin
For your case, Just use this formula to create a new measure:
Measure= VAR _TABLE=SUMMARIZE( Table, Table[centro],Table[almacen], "_value",[Conf Inv Lote-Pond]) return
SUMX(_TABLE, [_Value])
or just adjust the Conf Inv Lote-Pond measure as below:
Conf Inv Lote-Pond= VAR _TABLE=SUMMARIZE( Table, Table[centro],Table[almacen], "_value",[confiabilidad de lote]*[peso%]) return
SUMX(_TABLE, [_Value])
Regards,
Lin
Asumiendo que la tabla de donde proceden las columnas de centro y almacen se llama "Tabla", prueba con esta medida:
Conf Inv Lota-pond con totales = SUMX(Tabla, [confiabilidad de lote] * [peso%])
A ver si es lomque necesitas
Proud to be a Super User!
Paul on Linkedin.
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 32 | |
| 16 | |
| 14 |
| User | Count |
|---|---|
| 83 | |
| 67 | |
| 39 | |
| 27 | |
| 25 |