Forum Discussion

Edgar_massa's avatar
Edgar_massa
Helper II
2 years ago

okay icon

I have the following table.

And I have the following matrix look

 

 

The "Planned" measure is:

    CALCULATE(
        SUM( fac_NFs_SFs[valor_liquido_nf] ),
        USERELATIONSHIP( dim_Calendario[Data], fac_NFs_SFs[data_previsao_recebimento] )
)
 
The "Achieved" measure is:
    CALCULATE(
        SUM( fac_NFs_SFs[valor_liquido_nf] ),
        USERELATIONSHIP( dim_Calendario[Data], fac_NFs_SFs[data_recebimento] )
)

 

The months "Mar", "Mai" and "Jun" = dim_calendario[mês]

 

I need that when I have a receipt date, all the month contexts have the Okay icon, ignoring the month of the column context.

I can't do this because the forecast sum uses the forecast column and the received sum uses the received date column.

What do I do?

3 Replies