Forum Discussion
Anonymous
7 years agoNot applicable
Count( if column value = string)
Hi, Having trouble with DAX syntax in if statements for checking if a column's string value equals a certain value. I want to do some calculations using different counts of strings, such as: CO...
- 7 years ago
Anonymous add new measure with following expression
MyBalanceCount = CALCULATE( COUNTROWS( MyTable ), MyTable[Location] = "In Storage" ) - CALCULATE( COUNTROWS( MyTable ), MyTable[Location] = "Out Storage" )
parry2k
7 years agoSuper User
Anonymous add new measure with following expression
MyBalanceCount = CALCULATE( COUNTROWS( MyTable ), MyTable[Location] = "In Storage" ) - CALCULATE( COUNTROWS( MyTable ), MyTable[Location] = "Out Storage" )