The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hola
Tengo una matriz con "filas de año y mes fg" y "fecha de recepción" en la columna.
la matriz muestra el recuento de fg en cada mes recibido. Quiero agregar un % para cada valor usando la fila total fg (valor de nivel de fila dividido por el valor total de fg.
Datos de ejemplo como los siguientes.
Oct 2021 filas y oct 2021 columna el % debe ser 100% (4622/fg total 6422)
Nov 2021 fila y oct 2021 columna el % debe ser 59.04% (4652/fg total 7883), nov 2021 columna 40.96%(3229/7883)
y así sucesivamente...
Probar este código y me da un valor % incorrecto.
Agradece cualquier ayuda.
Saludos amables
¿Qué es el [DateFG] en la fórmula?
Como puedo ver en la captura de pantalla, el total de filas debería ser:
CALCULATE (
SUM ( 'table'[FG Count] ),
FILTER (
ALL ( 'table' ),
'table'[year] = SELECTEDVALUE ( 'table'[year] )
&& 'table'[month] = SELECTEDVALUE ( 'table'[month] )
)
)
Saludos
Arrendajo
Hola @v-jayw-msft , ya resuelto el problema. Por favor, vea a continuación el código. Por cierto, gracias por la respuesta.
% del total =
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.