I have a large transaction table with a list of customers, which are schools.
Every customer has a certain enrollment, I want to create a measure which counts up the enrollment of every customer in my list, without double counting a customer which appears more than once in the list. Every time a particular customer appears, the enrollment column displays it’s student enrollment total.
I can’t simply take the sum of the enrollment column because it will double count customers that appear more than once.
Enrollment Scenario.xlsx (9.9 KB)
I don’t want to create a new table. I realize I can copy the table in power query and then remove duplicates, then count the enrollment column which now contains a unique list of customers. However I’m looking for a way to do this entirely in DAX without create another physical table.