Forum Discussion
aso1
6 years agoHelper II
Create simple card - ok/error
I have a daily job where I press the 'date-in' filter on a daily basis (lower left in the report), and I check to see if 'Status' is OK down the list or not. (here is my actual report) ...
- 6 years ago
hi aso1
I'm sorry for my carelessness, please use "," instead of "&&" in the formula
Result =IF (CALCULATE ( COUNTA ( 'Table'[Status] ), 'Table'[Status] <> "OK",'Table'[database]<> "Tempdb") > 0,"ERROR","OK")Regards,Lin
v-lili6-msft
6 years agoCommunity Support
hi aso1
Adjust the formula as below:
Result =
IF (
CALCULATE ( COUNTA ( 'Table'[Status] ), 'Table'[Status] <> "OK"&&'Table'[database]<> "Tempdb") > 0,
"ERROR",
"OK"
)
Regards,
Lin
aso1
6 years agoHelper II
getting this error.
- v-lili6-msft6 years agoCommunity Support
hi aso1
I'm sorry for my carelessness, please use "," instead of "&&" in the formula
Result =IF (CALCULATE ( COUNTA ( 'Table'[Status] ), 'Table'[Status] <> "OK",'Table'[database]<> "Tempdb") > 0,"ERROR","OK")Regards,Lin