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
Anonymous
Not applicable

Help a noobie (column combination)

Hi all,

 

I am burning my neurons with a problem and I think I need help:

I have two columns:

Column 1 (containing 1.1, 1.2 and 1.3)

Column A (containing A.1, A.2 and A.3)

 

I am trying to combinate (concatenate) them in order to obtain another column with all the possible results (9 in total) between this two columns (like: 1.1.A.1, 1.1.A.2...1.2.A.1, 1.2.A.2...etc).

 

Do you know a Dax which can help me with this?

 

Thank you

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

Hello @Anonymous 

 

You can use Power Query for this:

 

Create a duplicate of the orignal table & Rename it:

 

1.png

 

Go to Add columns > Custom Column > under Formula write = [Table Name]

 

2.PNG

 

Expand the table

 

3.PNG

 

You can then merge the columns accordingly

 

4.PNG

 

Cheers!
Vivek

If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Connect on LinkedIn

 

View solution in original post

2 REPLIES 2
vivran22
Community Champion
Community Champion

Hello @Anonymous 

 

You can use Power Query for this:

 

Create a duplicate of the orignal table & Rename it:

 

1.png

 

Go to Add columns > Custom Column > under Formula write = [Table Name]

 

2.PNG

 

Expand the table

 

3.PNG

 

You can then merge the columns accordingly

 

4.PNG

 

Cheers!
Vivek

If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Connect on LinkedIn

 

Anonymous
Not applicable

BAZINGA!!!

 

It works, with this i can "stick" them together much easier.

 

Thank you so much! @vivran22 

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.