Forum Discussion
NithinBN
Helper II
6 years agoMultiple Filter (Countrows) which includes Text and boolean
Hello All, I want to count rows based on filters which includes both text and boolean values. Here is my query which includes both text and boolean. Overall_Green = CALCULATE(COUNTROWS(Table1)...
- 6 years ago
NithinBN , if active is boolean first two should work. else try thrid one
Overall_Green = CALCULATE(COUNTROWS(Table1),FILTER(Table1,Table1[colour]="Green" && Table1[Active]))Overall_Green = CALCULATE(COUNTROWS(Table1),FILTER(Table1,Table1[colour]="Green" && Table1[Active]=true()))
Overall_Green = CALCULATE(COUNTROWS(Table1),FILTER(Table1,Table1[colour]="Green" && Table1[Active]="True"))
Greg_Deckler
Community Champion
6 years agoNithinBN Try:
Overall_Green =
COUNTROWS(
FILTER(Table1,Table1[colour]="Green" && Table1[Active]="True")
)