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
Tengo una mesa como:
Producto, Cliente, Precio, Ganancias, Unidades, etc.
Quiero calcular algunas sumas, por ejemplo:
1) suma de unidades por producto
2) suma de unidades por cliente
3) suma de beneficios por cliente
etcetera
¿Cómo puedo calcular estos y luego cómo puedo ponerlos en un gráfico como:
1) x eje - producto, eje y - suma de unidades por producto
2) x eje - cliente, eje y - suma de beneficios por cliente
¡Gracias!
Solved! Go to Solution.
HOLA @UsePowerBI,
Puede intentar utilizar las siguientes fórmulas de medida si cumplen con sus requisitos:
Measure 1 =
CALCULATE (
SUM ( Table[Unit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Product] )
)
Measure 2 =
CALCULATE (
SUM ( Table[Unit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Client] )
)
Measure 3 =
CALCULATE (
SUM ( Table[Profit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Client] )
)
Si arriba no ayuda, por favor, tenga algunos datos ficticios para probar:
Cómo obtener respuestas a su pregunta rápidamente
saludos
Xiaoxin Sheng
HOLA @UsePowerBI,
Puede intentar utilizar las siguientes fórmulas de medida si cumplen con sus requisitos:
Measure 1 =
CALCULATE (
SUM ( Table[Unit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Product] )
)
Measure 2 =
CALCULATE (
SUM ( Table[Unit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Client] )
)
Measure 3 =
CALCULATE (
SUM ( Table[Profit] ),
ALLSELECTED ( Table ),
VALUES ( Table[Client] )
)
Si arriba no ayuda, por favor, tenga algunos datos ficticios para probar:
Cómo obtener respuestas a su pregunta rápidamente
saludos
Xiaoxin Sheng
@UsePowerBI ,
Crea diferentes medidas como:
suma de unidades por producto: CALCULATE(SUM(Table[Unit]),ALLEXCEPT(Table,Table[Product]))
suma de unidades por cliente: CALCULATE(SUM(Table[Unit]),ALLEXCEPT(Table,Table[Client]))
suma de los beneficios por cliente: CALCULATE(SUM(Table[Profit]),ALLEXCEPT(Table,Table[Client]))
Y ponerlos en las cartas.
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |