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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Create new table/column showing same type values of two different tables

Hi Team,

 

i am fairly new to PowerBi and here we go my first question. 

I have two tables containing the same type of information. I want to create a new column showing the available data of these two columns.

 

Example

 

Table1 Column1

100
101

102

109

 

Table2 Column2

100

103

110

 

New Column:

100

101

102

103

109

110

 

I quite sure it must be an easy one.....just can't see the foresat because of too many trees.

 

Thanks in advance!

Pascal

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

According to my understanding, you want to combine two columns from two different tables, right?

 

You could use the following formula to calculate a new table:

New Table =
DISTINCT (
    UNION ( DISTINCT ( Table1[Column1] ), DISTINCT ( Table2[Column2] ) )
)

My visualization looks like this:

8.25.1.1.png

Is the result what you want? If you have any questions, please upload some data samples and expected output.

Please do mask sensitive data before uploading.

 

Best Regards,

Eyelyn Qin

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

Did I answer your question? Please mark my reply as solution, thank you~

 

Best Regards,

Eyelyn Qin

Anonymous
Not applicable

Hi @Anonymous ,

According to my understanding, you want to combine two columns from two different tables, right?

 

You could use the following formula to calculate a new table:

New Table =
DISTINCT (
    UNION ( DISTINCT ( Table1[Column1] ), DISTINCT ( Table2[Column2] ) )
)

My visualization looks like this:

8.25.1.1.png

Is the result what you want? If you have any questions, please upload some data samples and expected output.

Please do mask sensitive data before uploading.

 

Best Regards,

Eyelyn Qin

 

amitchandak
Super User
Super User

@Anonymous , You can create a new table like

new table = distinct(union(all(Table1[column1]),all(Table2[column2])))

 

Also find the link of the file, where similar stuff was done

https://www.dropbox.com/s/op9lb78w9utdonz/Distinct%20from%20two%20Tables.pbix?dl=0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@Anonymous - I'm not sure about a new column, a new table, definitely:

 

New Table = 
DISTINCT(
  UNION(
    SELECTCOLUMNS('Table1',"New Column",[Column1]),
    SELECTCOLUMNS('Table2',"New Column",[Column2]),
  )
)

  



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors