Forum Discussion

dmartinezl's avatar
dmartinezl
Frequent Visitor
6 years ago
Solved

Intersection between values in the same table

Hi everyone;   I have the following (partial) raw datatable:     As you can see the phone number 300609, after 4 attemps, finally answered a call. Others, like 9214, never will do...   I...
  • v-xuding-msft's avatar
    6 years ago

    Hi dmartinezl ,

    I add some data based on your table. You could reference my sample to have a try.

     

    Measure = 
    VAR Rejected = CALCULATE(COUNTROWS('Table'),FILTER(ALLEXCEPT('Table','Table'[Number]),'Table'[State] = "Rejected"))
    var Handled = CALCULATE(MAX('Table'[Number]),FILTER('Table','Table'[State] = "Handled" && Rejected>0))
    return
    Handled

     

     

    Best Regards,

    Xue Ding

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