Forum Discussion
Anonymous
6 years agoNot applicable
Count Rows per Group with Filter Responsiveness
Hi folks, I'm trying to create a measure that will respond to filters to give me the number of rows in each group (defined by the value of two columns). Example: ID Classification Days Count ...
- 6 years ago
Hi Anonymous
try a measure
Count = CALCULATE(COUNTROWS(TableName), FILTER(ALLSELECTED(TableName), TableName[Classification]=SELECTEDVALUE(TableName[Classification]) && TableName[Days]=SELECTEDVALUE(TableName[Days])))
az38
6 years agoCommunity Champion
Hi Anonymous
try a measure
Count = CALCULATE(COUNTROWS(TableName),
FILTER(ALLSELECTED(TableName),
TableName[Classification]=SELECTEDVALUE(TableName[Classification]) && TableName[Days]=SELECTEDVALUE(TableName[Days])))