Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How do you create a Conditional Column from 2 tables ?

I need to compare email addresses.

 

If Table "serial" (email address) is different from Table "Monthly Billing" (email address), display Yes

If Table "serial" (email address) is the same as Table "Monthly Billing" (email address), display No

 

The Conditional Column name will simply be labeled Mismatch in the dashboard.

 

How can this be written out and how/where do I place this ?

I have not excelled in formulas yet.

Need ASAP if someone could help

  • Anonymous's avatar
    Anonymous
    5 years ago

    RESOLVED:

     

    Mismatch = if(MAXX(FILTER('Monthly Billing','Monthly Billing'[Tangoe Owner Email]='users'[Intune Owner Email]),'Monthly Billing'[Tangoe Owner Email])=users[Intune Owner Email],"NO","Yes")

7 Replies

  • Anonymous 

    you can try to create a column

    Column = if(MAXX(FILTER('Monthly Billing','Monthly Billing'[email address]=serial[email address]),'Monthly Billing'[email address])=serial[email address],"No","Yes")
    • Anonymous's avatar
      Anonymous
      Not applicable

      The following DAX expression appears when creating column...

      A single value for column 'Intune Owner Email' in table 'users' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

       

      Please advise.

       

       

       

       

       

      • ryan_mayu's avatar
        ryan_mayu
        Super User

        Anonymous 

        are you creating a measure?

        could you pls provide some sample data?

         

  • Hi,

    In which of the 2 tables do you want to write the calculated column formula?  Of the 2 tables which table has each e-mail listed only once (no repetitions).  It is best to share the link from where i can download your PBI file.