Forum Discussion
Anonymous
4 years agoNot applicable
Check several rows with same ID
Hi folks, I am quite new to PowerBI and currently wokring on the following topic: I do have messages and message_threads, both are in one table. Messages can be either OUTBOUND (sent by compa...
tamerj1
4 years agoCommunity Champion
Hi Anonymous
please try
=
IF (
ISEMPTY (
FILTER (
CALCULATETABLE ( TableName, ALLEXCEPT ( TableName, TableName[thread-id] ) ),
TableName[message-type] = "INBOUND"
)
),
FALSE,
TRUE
)daXtreme
4 years agoSolution Sage
There's no need to use IF here since ISEMPTY is already a logical function. This is the same:
NOT ISEMPTY(
FILTER(
CALCULATETABLE(
T,
ALLEXCEPT(
T,
T[thread-id]
)
),
T[message-type] = "INBOUND"
)
)