Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Adding a Column from a different table to a calculated table

Hi,   I have created a couple calculated tables using the following calculation: Missing from CMDB = EXCEPT( VALUES(it_current[ip_address_rapid7]), VALUES(CMDB_Active[ip_address])) AND Mi...
  • parry2k's avatar
    3 years ago

    Anonymous this is what you need:

     

    Missing From CMDB = 
    SELECTCOLUMNS ( 
        CALCULATETABLE ( 
            IT_Current, 
            EXCEPT ( VALUES ( IT_Current[IP_ADDRESS_RAPID7] ), VALUES ( CMDB_Active[IP_Address] ) ) 
        ), 
        "IP_Address_Rapid7", IT_Current[IP_ADDRESS_RAPID7], 
        "Host_Name", IT_Current[Host_Name] 
    )

     

    the same will apply to the 2nd table.

     

    Follow us on LinkedIn and  to our YouTube channel

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.