=CALCULATE(COUNTROWS('M2'), ALLEXCEPT('M2', 'M2'[AEE]))
This works if I want to count the rows from the type of sales rep AEE.
However, the original formula references another field next to it to group the calc by 2 reps instead of one.
How can I modify this formula to also include a name field next to AEE.
In other words, count lines grouped by REP 2 grouped under REP 1.
This works if I want to count the rows from the type of sales rep AEE.
However, the original formula references another field next to it to group the calc by 2 reps instead of one.
How can I modify this formula to also include a name field next to AEE.
In other words, count lines grouped by REP 2 grouped under REP 1.