Forum Discussion

ovetteabejuela's avatar
ovetteabejuela
Impactful Individual
4 years ago
Solved

Influence Grand Total Behavior

Hi

 

Formula:

Orange (Measure) = Divide(Sum(Numerator), Sum(Denominator),0)

Green (Measure) = IF([Orange (Measure)] >= 1,10,

                                       IF([Orange (Measure)] >= .975,5,

                                               IF([Orange (Measure)] >= .95, 1, 0 ) ))
 

Please see my question embeded in the image above. 

 

 

  • Hi ovetteabejuela ,

     

    Please try the following formula:

     

    Green (Measure) = 
    var t = IF([Orange (Measure)] >= 1, 10,
                IF([Orange (Measure)] >= .975, 5,
                    IF([Orange (Measure)] >= .95, 1, 0 ) ) )
    return IF( ISFILTERED('Table'[Date]), t, SUMX('Table', t) )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

1 Reply

Replies have been turned off for this discussion
  • v-kkf-msft's avatar
    v-kkf-msft
    Community Support

    Hi ovetteabejuela ,

     

    Please try the following formula:

     

    Green (Measure) = 
    var t = IF([Orange (Measure)] >= 1, 10,
                IF([Orange (Measure)] >= .975, 5,
                    IF([Orange (Measure)] >= .95, 1, 0 ) ) )
    return IF( ISFILTERED('Table'[Date]), t, SUMX('Table', t) )

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.