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.
Hola a todos
La tabla que tiene las columnas inferiores
ItemNo | Precio | Tipo |
LT1 | 100 | Agencia |
LT1 | 50 | Ejecutivo |
LT1 | 0 | Reprasentativo |
LT2 | 10 | Agencia |
LT2 | 20 | Ejecutivo |
LT2 | 30 | Ejecutivo |
LT2 | 70 | Reprasentativo |
Esperar resultado es; Estoy considerando solo el tipo "Reprasentative" y "Executive", y si hay dos ejecutivos o representantes es necesario agregar el precio de entonces "Reprasentative" o "Executive" individualmente.
ItemNo | Precio | Agencia Pricy | Tipo |
LT1 | 50 | 100 | Ejecutivo |
LT2 | 50 | 10 | Ejecutivo |
LT2 | 70 | 10 | Reprasentativo |
Gracias de antemano.
Solved! Go to Solution.
Hay @RadhakrishnaE ,
Pruebe esta medida:
Si respondí a su pregunta, márquela como una solución para ayudar a otros miembros a encontrarla más rápidamente.
Hay @RadhakrishnaE
Puede usar la siguiente medida:
Measure =
VAR result =
CALCULATE (
SUM ( 'Table'[Price] ),
FILTER ( 'Table', 'Table'[Type] IN { "Reprasentative", "Executive" } )
)
RETURN
IF ( result = 0, BLANK (), result )
Gracias
Samarth
Hay @RadhakrishnaE ,
Pruebe esta medida:
Si respondí a su pregunta, márquela como una solución para ayudar a otros miembros a encontrarla más rápidamente.
@RadhakrishnaE Si te he hecho bien, necesitas una medida simple como Sum_NoPrice=SUM(Table[NoPrice]). Luego cree una tabla visual, arrastre los valores 'Elemento', 'Sum_NoPrice', 'Tipo' y filtre el campo 'Tipo'.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |