Forum Discussion

ImageZ's avatar
ImageZ
Frequent Visitor
4 years ago
Solved

Counting Values from another column

Hey (first post here so I'll try to be thorough) - an example of my table below.   ID      TITLE        CLI           Campaign     Call Reason 1        111          <null>     New sale      <null>...
  • ImageZ's avatar
    ImageZ
    4 years ago

    hey,

     

    think ive managed to fix it from using a very old thread using the below - seems to do the trick

     

    Callback on SMS =
    VAR _B =
    FIRSTNONBLANK ( Call_List[TITLE], "" )
    VAR _C =
    CALCULATE (
    COUNTROWS ( 'Call_List' ),
    FILTER ( ALL ( 'Call_List' ), 'Call_List'[CLI] = _B )
    )
    RETURN
    IF ( ISBLANK ( _C ), 0, _C )