Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Total Combining

Hi everyone,   I need to combine two number that needs to be assign one of them. In below picture, I need to bring the total sum to the etkin ticaret which amount would be 100,369.95. Can you help ...
  • v-chuncz-msft's avatar
    7 years ago

    Anonymous 

     

    You may try the following measure.

    Measure =
    VAR d =
        SELECTEDVALUE ( Table1[DistName] )
    RETURN
        IF (
            d = "etkin ticaret",
            CALCULATE ( SUM ( Table1[Value] ), ALLSELECTED ( Table1[DistName] ) ),
            SUM ( Table1[Value] )
        )