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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Seth_C_Bauer
Community Champion
Community Champion

@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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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