Forum Discussion

MONTENEGRO's avatar
MONTENEGRO
Frequent Visitor
3 years ago
Solved

Suma filtrada

Necesito sumar los el presupuesto total del periodo, pero que solo respete el segmentador periodo e ignore los demas segmentadores como el mes.

 

Campos de tabla calendario

 

  • Hi, MONTENEGRO 

    If there is no relationship created between your calendar table and Resultados Operaciones table, you can try to calculate total budget with measures like the following.

     

    Presupuesto anual =
    CALCULATE (
        SUM ( 'Resultados Operaciones'[Presupuesto] ),
        FILTER (
            'Resultados Operaciones',
            'Resultados Operaciones'[Fecha] IN VALUES ( Calendario[Fecha] )
        )
    )

     

    Presupuesto anual2 = SUMX(ALLEXCEPT(Calendario,Calendario[Periodo]),[Presupuesto anual])

    Hope this could help.

     

    Best Regards,
    Community Support Team _ Eason

1 Reply

  • v-easonf-msft's avatar
    v-easonf-msft
    Icon for Community Support rankCommunity Support

    Hi, MONTENEGRO 

    If there is no relationship created between your calendar table and Resultados Operaciones table, you can try to calculate total budget with measures like the following.

     

    Presupuesto anual =
    CALCULATE (
        SUM ( 'Resultados Operaciones'[Presupuesto] ),
        FILTER (
            'Resultados Operaciones',
            'Resultados Operaciones'[Fecha] IN VALUES ( Calendario[Fecha] )
        )
    )

     

    Presupuesto anual2 = SUMX(ALLEXCEPT(Calendario,Calendario[Periodo]),[Presupuesto anual])

    Hope this could help.

     

    Best Regards,
    Community Support Team _ Eason