Forum Discussion

Crazypad's avatar
Crazypad
Regular Visitor
3 years ago
Solved

Counting 2 columns from the same table

I am trying to create a measure that counts the  "Attended" from the Attendance column and the "Complete" from the Interview Status__C column. I have a formula that pulls in the "Attended" totals but...
  • jfern78's avatar
    jfern78
    2 years ago

    maybe you can use something like this to count attended and complete

     

    Measure = var _attended = COUNTX(FILTER('Campaign Member',

            'Campaign Member'[Attendance] = "Attended"),
        1
    )
    var _complete = 
    COUNTX(
        FILTER(
            'Campaign Member', 'Campaign Member'[Interview_Status__c] = "Complete"
        ),
        1
    )
    return _attended + _complete