Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hola
Soy bastante nuevo en PBI. He creado una tabla con un código de estado, que representa los valores de la tabla inferior:
Status Code Status Text
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
1000 10+
1001 Invalid Data
1002 No CMR Scan
1003 Not Shipped
1004 Not Delivered
1005 Missing SLA Leadtime
1006 Delayed
1007 On Time
En mi raport quiero mostrar 2 grupos - Envíos activos (Código de estado: 1000, 10004, 1006 y 1007. Esa parte es fácil porque puedo aplicar un filtro a mi visual.
A continuación, quiero mostrar los datos con los problemas: Estado: 1001, 1002, 1003 y 1005. Pero como un % del total. Pero si aplico un filtro en mi objeto visual, lo obtengo como un % del total filtrado.
¿Cómo evitarlo?
Atentamente
Hola @v-xiandat-msft - Perdón por la respuesta tardía.
Esto es exactamente lo que estaba buscando. Muchas gracias 🙂
Hola @DennisSchlein ,
A continuación se muestra mi tabla:
El siguiente DAX podría funcionar para usted:
Shipments with Issues = COUNTROWS(FILTER('Table', 'Table'[Status Code] IN {1001, 1002, 1003, 1005}))
Measure2 = CALCULATE(COUNTROWS('Table'),ALL('Table'))
total % = DIVIDE([Shipments with Issues],[Measure2],0)
El resultado final se muestra en la siguiente figura:
Saludos
Xianda Tang
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.