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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Annie2310
New Member

Combine columns btw 3 tables.

I have 3 tables,

Each has different columns and rows.

But both three 3 tables have column name "X" with value

Now I want to have a new column that includes full information of column "X" of three tables and remove duplicate values.

Could you please advise?

1 ACCEPTED SOLUTION
Samarth_18
Community Champion
Community Champion

Hi @Annie2310 ,

 

You could a new table like this:-

Table_new = 
DISTINCT (
    UNION (
        VALUES ( 'Table'[X] ),
        VALUES ( 'Table (2)'[X] ),
        VALUES ( 'Table (3)'[X] )
    )
)

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

View solution in original post

1 REPLY 1
Samarth_18
Community Champion
Community Champion

Hi @Annie2310 ,

 

You could a new table like this:-

Table_new = 
DISTINCT (
    UNION (
        VALUES ( 'Table'[X] ),
        VALUES ( 'Table (2)'[X] ),
        VALUES ( 'Table (3)'[X] )
    )
)

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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