Forum Discussion

senright1989's avatar
senright1989
New Member
9 years ago
Solved

Counting unique values in a column based on numerous values

Hi All,    I have searched through this forum for a few hours today and for some reason i couldn't get what i am trying to do to work.    I have the table called "Sample".            ...
  • Anonymous's avatar
    Anonymous
    9 years ago

    Something like this?

    Occurs = 
    VAR PayItem = [Pay Item #]
    RETURN
    CALCULATE(
    	countrows('YourTable'),
    	ALL('YourTable'),
    	'YourTable'[Pay Item #] = PayItem
    )