Forum Discussion
Anonymous
5 years agoNot applicable
DistinctCount grouping by
Hi, I've never understood how to do a distinct count with a group by on a visual that has many fields included the one I want to distinct count. I explain my problem with an example: I have this vis...
Jihwan_Kim
Super User
5 years ago
5 CC =
VAR currentthree = 'Table'[3]
VAR currentone = 'Table'[1]
VAR groupbythree =
FILTER ( 'Table', 'Table'[3] = currentthree && 'Table'[1] = currentone )
RETURN
COUNTROWS ( groupbythree )