Forum Discussion

swe_sebastian's avatar
swe_sebastian
Regular Visitor
6 years ago
Solved

Create new table with information from two other tables

I need to create a new table and merge two other tables into this one. One table contains invoiced information and the other table has current order information.   There are some columns that shou...
  • Mariusz's avatar
    Mariusz
    6 years ago

    Hi swe_sebastian 

     

    You can create your customer table using DAX expression, as an example below.

    Customers = 
    DISTINCT(
        UNION(
            ALLNOBLANKROW( orders[CustomerKey], orders[Name] ),
            ALLNOBLANKROW( invoices[CustomerKey], invoices[Name] )
        )
    )

     Or use Power Query 

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn