Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.