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
Kristofferaabo
Helper IV
Helper IV

New column by comining two columns from two different data sets?

Hi,

 

I have two simple datasets, and I want to combine two coloums from each table. 

For instance:
Lastname in the facility_contacts

 

and

Country in the facilities

In excel I would do: =lastname&country, but thuis doesn't seem to be possible accross the datasets. 

 

They are linked...

I have made a screenshot below:

poer123.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

powerNILINk.jpg

 

1 ACCEPTED SOLUTION
tringuyenminh92
Memorable Member
Memorable Member

Hi @Kristofferaabo,

 

Please use Related method: 

combine = Sheet1[name] & RELATED(Sheet2[last])

 

Screenshot 2016-12-15 21.59.54.png

 

If this works for you please accept it as solution and also like to give KUDOS.

Best regards
Tri Nguyen

View solution in original post

3 REPLIES 3

@Kristofferaabo Another option is to use Concatenate

Combine = CONCATENATE(RELATED(facility_contacts[Lastname]), ", " & 'Facilities'[country])

Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

@Seth_C_Bauer and @tringuyenminh92 thanks both for great suggestions both were exactly what I needed.. you just boosted my POwerBI knowledge with 100% thanks for this 🙂

 

Happy friday

Kristoffer

tringuyenminh92
Memorable Member
Memorable Member

Hi @Kristofferaabo,

 

Please use Related method: 

combine = Sheet1[name] & RELATED(Sheet2[last])

 

Screenshot 2016-12-15 21.59.54.png

 

If this works for you please accept it as solution and also like to give KUDOS.

Best regards
Tri Nguyen

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.

Top Solution Authors
Top Kudoed Authors