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

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.

Reply
Syndicate_Admin
Administrator
Administrator

Cómo visualizar un 0 en un gráfico de barras apilado

Hola a todos

¿Cómo puedo visualizar un valor del 0% en un gráfico de barras apiladas?

Como se ve a continuación, solo muestra valores por encima de 0:

eq0.JPG

Probé una mesa, pero obly mostró valores por encima de 0 también:

table-1.JPG

La fórmula que usé para calcular esos valores % es:

KPI Sludge = 

VAR R1 =
CALCULATE(
COUNTROWS('Append (Sludge)'),
'Append (Sludge)'[Column]="IN")

VAR R2 =
CALCULATE(
COUNTROWS('Append (Sludge)'),
'Append (Sludge)'[Column]="OUT" || 'Append (Sludge)'[Column]="IN")

Return
DIVIDE(
    R1,R2
)

Básicamente se divide total en total In + total out

¡¡Gracias!!

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Hola

Lo resolví. Se ha añadido un +0 a la función de división:

Return
DIVIDE(
    R1,R2
)+0

¡saludos!

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Hola

Lo resolví. Se ha añadido un +0 a la función de división:

Return
DIVIDE(
    R1,R2
)+0

¡saludos!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors