Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next 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

Reply
Syndicate_Admin
Administrator
Administrator

Cómo mostrar el % del total en subgrupos

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



image.png

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Hola @v-xiandat-msft - Perdón por la respuesta tardía.
Esto es exactamente lo que estaba buscando. Muchas gracias 🙂

Syndicate_Admin
Administrator
Administrator

Hola @DennisSchlein ,

A continuación se muestra mi tabla:

vxiandatmsft_0-1708566784128.png

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:

vxiandatmsft_1-1708566846751.png

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.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors