I have table contain name course attendance
I want count how many student in different course
Output I want = 3 student because Ahmad have two different course
I have table contain name course attendance
I want count how many student in different course
Output I want = 3 student because Ahmad have two different course
test this measure:
Result =
COUNTROWS ( SUMMARIZE ( TableName, TableName[name], TableName[course name] ) )
You can also add the 3rd column:
Alternative Solution :
Result =
COUNTROWS (
SUMMARIZE (
TableName,
TableName[name],
TableName[course name],
TableName[attendence]
)
)
If we test them, the result is the same: