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

dividir por Cero ERROR cuando se utiliza DIVIDE()

Hola a todos

Estoy trabajando en el conjunto de datos relacionado con la tarjeta de puntuación del estudiante y tratando de calcular el porcentaje alcanzado por el estudiante en cada materia.
Puede ver en el anexo que MaxMarks es 0 para studid 101 y 104 en Inglés y Matemáticas respectivamente.
Cuando lo arrastro y suelte en table visual está mostrando BLANK. ¿Por qué?


¿Podría alguien ellaborate esto y cómo podemos reemplazar este espacios en blanco con algo más o cero.

divide2.PNGdivide1.PNG

Cualquier ayuda sería apreciada...


Gracias..

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@community_pinki Porque no está usando el tercer parámetro para dividir y el valor predeterminado para eso es BLANK cuando divide por cero. Quieres:

DIVIDE(SUMA(...), SUMA(...),0) * 100

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.