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

Medida calculada que no muestra los totales

Hola a todos
por favor, ayúdame con esta medida calculada, no hay un total que se muestre en tablix

La fórmula de medida es:

medida = CALCULAR(SUMA('KOLID S TIM$Naplata po denovi'[Importe]),FILTRO('COLLID WITH THAT$Charge per den','COLLID WITH THAT$Charge per den'[DetCustEntryNo]=SELECTEDVALUE(«KOLID S TIM$Detailed Cust_ Ledg_ Entry Application» [Entrada No_])))

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@manikumar34 es correcto. Esto no funcionará para un total, ya que SELECTEVALUE devuelve en blanco cuando hay varios valores.

Pruebe esto en su lugar:

CALCULATE (
    SUM ( 'KOLID S TIM$Naplata po denovi'[Amount] ),
    FILTER (
        'KOLID S TIM$Naplata po denovi',
        'KOLID S TIM$Naplata po denovi'[DetCustEntryNo]
            IN VALUES ( 'KOLID S TIM$Detailed Cust_ Ledg_ Entry Application'[Entry No_] )
    )
)

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

@manikumar34 es correcto. Esto no funcionará para un total, ya que SELECTEVALUE devuelve en blanco cuando hay varios valores.

Pruebe esto en su lugar:

CALCULATE (
    SUM ( 'KOLID S TIM$Naplata po denovi'[Amount] ),
    FILTER (
        'KOLID S TIM$Naplata po denovi',
        'KOLID S TIM$Naplata po denovi'[DetCustEntryNo]
            IN VALUES ( 'KOLID S TIM$Detailed Cust_ Ledg_ Entry Application'[Entry No_] )
    )
)

Hola Alexis siento molestarte de nuevo, ¿puedes ayudarme con la misma medida pero el filtro es <=SELECTEDVALUE('KOLID S TIM$Detailed Cust_ Ledg_ Entry Application'[Entry No_])))

está funcionando, gracias por su rápida respuesta

Syndicate_Admin
Administrator
Administrator

@mirceboy ,

En su medida está utilizando SELECTEDVALUE para comparar los valores con otra columna en la que no se considera el total

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.