Forum Discussion
Filter Not Equal To Text Not Working
- 4 years ago
Hello zahidah_mabd ,
Please try the following measure:
Sum Mismatch TTS Job Grade = CALCULATE( COUNTROWS('table), FILTER( 'table', ('table'[Employee Category] = "Permanent - TTS" || 'table'[Employee Category] = "Contract - TTS") && ('table'[Job Grade] <> "TTS1" && 'table'[Job Grade] <> "TTS2" ) ) )+0This is based on the measure you provided, but if we go by the conditions you provided above your formula, the DAX query provided is incorrect.
Please validate.
Hello zahidah_mabd ,
Please try the following measure:
Sum Mismatch TTS Job Grade =
CALCULATE( COUNTROWS('table),
FILTER(
'table',
('table'[Employee Category] = "Permanent - TTS" ||
'table'[Employee Category] = "Contract - TTS") &&
('table'[Job Grade] <> "TTS1" &&
'table'[Job Grade] <> "TTS2" )
)
)+0
This is based on the measure you provided, but if we go by the conditions you provided above your formula, the DAX query provided is incorrect.
Please validate.
- zahidah_mabd4 years agoHelper I
Yay, it worked like a charm! Thank youuuu so much rajulshah
Also, can you explain a bit about when u mentioned the DAX Query is incorrect. Im still new to power BI- rajulshah4 years agoResident Rockstar
My pleasure zahidah_mabd .
When I saw the latest description, it was edited and it now makes sense for the formula you used. For the earlier description, I thought it was not correct.
Anyway, glad that it worked out.