Forum Discussion

Tulio_DL's avatar
Tulio_DL
Helper I
8 years ago
Solved

Specific filter doubt

Hello everyone!   Any help here is appreciated! Considering the following table example:                     The current report is running the VALUE column with a standard SUM form...
  • v-yulgu-msft's avatar
    8 years ago

    Hi Tulio_DL,

     

    Please new a measure:

    Total Value =
    IF (
        CALCULATE ( ISFILTERED ( Table1[Country] ), ALLSELECTED ( Table1 ) ),
        IF (
            SELECTEDVALUE ( Table1[Country] ) = "Brazil",
            SUM ( Table1[Value] ) + 100,
            SUM ( Table1[Value] )
        ),
        SUM ( Table1[Value] )
    )

     

    Best regards,

    Yuliana Gu