Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
janwillem
Frequent Visitor

Combining Tables with identical fields

I have 2 companies with the same table-columns.

Company A - Table "Company A - Purchase Line "

| Columns "Qty Purchase Line" - "Qty Received" - "Qty to Receive"  ->           No Company name in it.

Company B - Table "Company B - Purchase Line" | Columns "Qty Purchase Line" - "Qty Received" - "Qty to Receive"  ->             No Company name in it.

 

I will combine these 2 tables and filtering on Company:

Qty Purchase Line A+B;

Qty Received A+B;

Qty to Receive A+B.

            +

Slicer on Company

 

How can I do this?

 

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

Hi @janwillem

 

You can create a new Calculated Table that combines these 2 tables and adds a column for Company Name

 

Go to Modelling Tab>>>NEW TABLE

 

New Table =
UNION (
    ADDCOLUMNS ( TableCompanyA, "Company Name", "Company A" ),
    ADDCOLUMNS ( TableCompanyB, "Company Name", "Company B" )
)

 


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.