Forum Discussion
Anonymous
5 years agoNot applicable
Countrows - Counting all rows of table, although filtered
Hi, I'm trying to replicate the Excel function COUNTIF, to count how many times a manager's name appears in a table. I have read numerous guides on this, and tried a few different ways of solving...
- 5 years ago
Anonymous , the Above formula, should work for what you shown in excel
Team size = CALCULATE(COUNT(Table2[Manager]),FILTER(allselected(Table2),Table2[Manager]=max(Table2[Manager])))
or
Team size = CALCULATE(COUNT(Table2[Manager]),Allexcept(Table2,Table2[Manager]))
amitchandak
Super User
5 years agoAnonymous , the Above formula, should work for what you shown in excel
Team size = CALCULATE(COUNT(Table2[Manager]),FILTER(allselected(Table2),Table2[Manager]=max(Table2[Manager])))
or
Team size = CALCULATE(COUNT(Table2[Manager]),Allexcept(Table2,Table2[Manager]))
Anonymous
5 years agoNot applicable
Many thanks amitchandak . Worked like a charm!