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 me ?

 

  • 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] )
        )
    

2 Replies

  • v-chuncz-msft's avatar
    v-chuncz-msft
    Community Support

    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] )
        )
    
    • Anonymous's avatar
      Anonymous
      Not applicable

      Dearv-chuncz-msft ,

       

      When  I try to make what you did, dashboard has been as follow;

       

      I just want to combine only ekmel gıda (amount is 36,088) , etkin ticaret (64,280) and etkin ticaret amount would be around 100,000. But in following picture, etkin ticaret data has been sum up all dist name, it should have been only sum up ekmel and etkin.