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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Mi tabla me está dando un total incorrecto

Hola, me enfrento a un problema extraño en el objeto visual de la tabla de Power BI. Mi imagen de la tabla me está dando un total equivocado. Exporté la misma tabla a Excel y da un valor diferente. ¿Cómo puedo corregir esto?

He adjuntado capturas de pantalla para excel y power bi table visual como referencia.

SatishBadiger_1-1656057135063.png

SatishBadiger_0-1656057039965.png

Saludos. La ayuda rápida es muy apreciada.

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Hi, @SatishBadiger

Pruebe los siguientes métodos.

YTD =
IF (
    HASONEVALUE ( 'Table'[Department] ),
    SUM ( 'Table'[Amount] ),
    CALCULATE ( SUM ( 'Table'[Amount] ), ALL ( 'Table' ) )
)

vzhangti_0-1656396774699.png

Saludos

Equipo de soporte de la comunidad _Charlotte

Si esta publicación ayuda, considere Aceptarla como la solución para ayudar a los otros miembros a encontrarla más rápidamente.

Syndicate_Admin
Administrator
Administrator

Hola @SatishBadiger

Por favor, publique su medida.

Por ahora, compruebe si esto resuelve su problema: https://community.powerbi.com/t5/Desktop/Incorrect-sum-calculated/m-p/325609

@Saap mi medida es una simple:
YTD Reals = SUMA('Tabla'[Importe])

Los valores de fila se muestran correctamente, solo hay problemas con el total.

@SatishBadiger

Por favor, pruebe la solución que publiqué en mi publicación anterior.
O intenta hacer algo como esto:

YTD Reales =
SUMX(
VALORES(Tabla[Departament_2]),
SUMA(Tabla[Importe])
)

SatishBadiger_0-1656067368086.png

@Saap Hola, está dando un total aún extraño cuando uso el código DAX que proporcionaste.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors