Forum Discussion

Ronnie7's avatar
Ronnie7
Helper II
9 years ago
Solved

Issue with Filter &&&&

Hi,   I have tried to create a new  column and using the following DAX code: Incoming Messages = CALCULATE ( COUNTA(PS_Message[MessageName]), FILTER ( ALL ( PS_Message[MessageName] ), 'PS_Mess...
  • Anonymous's avatar
    Anonymous
    9 years ago

    && means all conditions are required. That formula will only return rows on which MessageName simultaneously is 1 - Incoming, 2- Received, and 3 - Sent. Which is impossible because one field can only have one value. You should be using || instead of &&.