Forum Discussion
JoshB_
4 years agoRegular Visitor
Merge Tables based on first non-blank condition
Hi there, I have two tables, each table contains employees and contains an ID, a personal Email, and a work email Unfortunately, they don't match very well, and there will be no way of cleaning ...
Fowmy
Super User
4 years agoJoshB_
I did it in a different way, please check:
Col A =
VAR _ID = [ID]
VAR _PMAIL = [Personal Email]
VAR _WMAIL = [Work Email]
RETURN
MAXX(
FILTER(
'Table-1',
'Table-1'[ID] = _ID || 'Table-1'[Personal Email] = _PMAIL || 'Table-1'[Work Email] = _WMAIL
),
'Table-1'[Col A]
)
JoshB_
4 years agoRegular Visitor
Perfect, thank you.