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

make one unique column from 2 columns

 

Hi,

I have 2 tables. one with telephone records and one with mail records.

The names in both tables are the same but in table one is written backwards.

how can i create a unique id for both so i can make a dashboard. Do i have to make  a table with both names and search for difference or something else. Please help

 Table 1 Telephone records

Table 2 Mail records

Table 3 Create Unique Id 

Jason Kay

Kay Jason

 

Glenn Ruud

Ruud Glenn

 

Miranda van der Schaap

van der Schaap Miranda

 

David Jones

Jones David

 

El Khaled Bilal

Bilal el Khaled

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

 

Based on my test, here we can add index column to make the two tables related in desktop.

 

  1. Get two tables imported in desktop.
  2. Edit Queries ->  Add column -> Index column (from 0 by default). Both tables should be added the index column here.
  3. Create relationship between Table1 and Table2 based on Index column, and create report using fields of the two tables.


Alternatively, we can merge the two tables as a new table after performing the first two steps, expand the required columns and create report using field of the merged table.

 1.PNG

 

 

For more information, please refer to the pbix as attached.

Regards,
Lydia

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

 

Based on my test, here we can add index column to make the two tables related in desktop.

 

  1. Get two tables imported in desktop.
  2. Edit Queries ->  Add column -> Index column (from 0 by default). Both tables should be added the index column here.
  3. Create relationship between Table1 and Table2 based on Index column, and create report using fields of the two tables.


Alternatively, we can merge the two tables as a new table after performing the first two steps, expand the required columns and create report using field of the merged table.

 1.PNG

 

 

For more information, please refer to the pbix as attached.

Regards,
Lydia

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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