Forum Discussion

aashton's avatar
aashton
Helper V
3 years ago

Joining Tables - IF statement

I have a user that wants me to join two tables on email, but when it doesn't find any matches to join on phone number.  We can't do anything like that in Power Bi, can we??

4 Replies

    • aashton's avatar
      aashton
      Helper V

      parry2k I have a table of employee leads met at certain events the company has.  It has basic info; name, email, phone.  We then want to find out if any of these people filled out applications.  The only unique fields on the application we can join on are email or phone number.  

      • Anonymous's avatar
        Anonymous
        Not applicable

        HI aashton,

        So you mean to display 'Tag' if the current row 'user id' is included in other table and match with conditions? If that is the case, you can add a calculated column at the current table and use it lookup another table records based on current table field values and conditions. 

        Can you please share some dummy data with table format and detailed compare logics to help us clarify your data structure and test coding formula?

        How to Get Your Question Answered Quickly  

        Notice: please not attach sensitive data in your sharing.

        Regards,

        Xiaoxin SHeng