Forum Discussion
hasharma19
Helper II
3 years agoCalculate True and False Output
Dear All, I have an issue wherein i want to count the true and false value. I had creted a measure which is giving me true and False output. It is giving True wherever the rating is compliant and f...
Ahmedx
Super User
3 years agopls tru this
count of True =
VAR _tbl =
FILTER(ADDCOLUMNS(VALUES('table'[Site Reviewed]),"Flag", [_COM]),[Flag]=1)
RETURN
COUNTROWS(_tbl)
------
count of False =
VAR _tbl =
FILTER(ADDCOLUMNS(VALUES('table'[Site Reviewed]),"Flag", [_COM]),[Flag]=0)
RETURN
COUNTROWS(_tbl)