Forum Discussion

davidprograma's avatar
davidprograma
Frequent Visitor
4 years ago
Solved

suma de medida

buen dia  me gustaria su apoyo para obtener la suma del totalizado  de la tabla: cuento con las columnas: servicio, tag, acumulado, fecha, dia cree un media : TOTALIZADO DIARIO PRINCIPAL1  el cual...
  • Icey's avatar
    Icey
    4 years ago

    Hi davidprograma ,

     

    This may work:

    TOTAL DIA CONSUMO =
    VAR t_ =
        ADDCOLUMNS (
            SUMMARIZE ( ALLSELECTED ( tabla1 ), [SERVICIO], [TAG], [DIA] ),
            "TOTALIZADO DIARIO PRINCIPAL1_", [TOTALIZADO DIARIO PRINCIPAL1]
        )
    RETURN
        SUMX ( t_, [TOTALIZADO DIARIO PRINCIPAL1_] )
    

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • davidprograma's avatar
    4 years ago

    si funciono con esta solucion mucas gracias por el apoyo