Forum Discussion
Crazypad
3 years agoRegular Visitor
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...
- 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
Crazypad
2 years agoRegular Visitor
Hi DataNinja777,
No, not always does a member attend and complete. So I want it to count Attended(which is a column that populates if a member attended a meeting) and Compete(which is a column that populates if a member completed an interview.
Hope that makes sense and thanks for your help!
jfern78
2 years agoFrequent Visitor
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
- Crazypad2 years agoRegular Visitor
That worked perfectly.
Thank you!!!