Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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

  • Hello Anonymous 

     

    You can use Power Query for this:

     

    Create a duplicate of the orignal table & Rename it:

     

     

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

     

     

    Expand the table

     

     

    You can then merge the columns accordingly

     

     

    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

     

2 Replies

  • vivran22's avatar
    vivran22
    Icon for Community Champion rankCommunity Champion

    Hello Anonymous 

     

    You can use Power Query for this:

     

    Create a duplicate of the orignal table & Rename it:

     

     

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

     

     

    Expand the table

     

     

    You can then merge the columns accordingly

     

     

    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's avatar
      Anonymous
      Not applicable

      BAZINGA!!!

       

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

       

      Thank you so much! vivran22