Forum Discussion
webportal
Impactful Individual
4 years agoWhy does COUNTROWS return EMPTY when it should return 0?
Why does this calculated column return an empty value, for rows that are equal to zero? Number of Rows =
VAR ThisIndex = 'Table'[Index]
RETURN
COUNTROWS(
FILTER('OtherTable', 'OtherTable'[c...
- 4 years ago
webportal , for no rows it will return blank, you can add +0 if needed
Number of Rows = VAR ThisIndex = 'Table'[Index] RETURN COUNTROWS( FILTER('OtherTable', 'OtherTable'[col] = ThisIndex) ) +0
amitchandak
Super User
4 years agowebportal , for no rows it will return blank, you can add +0 if needed
Number of Rows =
VAR ThisIndex = 'Table'[Index]
RETURN
COUNTROWS(
FILTER('OtherTable', 'OtherTable'[col] = ThisIndex)
) +0