Quantcast
Viewing all articles
Browse latest Browse all 217197

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_Message'[MessageName] = ("1 - Incoming")
&& 'PS_Message'[MessageName] = ("2 - Received")
&& 'PS_Message'[MessageName] = ("3 - Sent")

)
)

For some reason i don't get any results, however, if i try just one row (lets say the first one "1 - Incoming) it works.. each rows works by itself and i get a count, together it doesn't work.

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 217197

Trending Articles