Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Multiple columns from single list, Like Permutation & Combination of Each Cell value

Key WordTeam Members
Group XXA
Group XXA
Group XXA
Group XXB
Group XXB
Group XXB
Group XXC
Group XXC
Group XXC
Group XXD
Group XXD
Group XX

D

 

As you can see, There is a new column added to the right which mentions the name of another member of the same group.

These cell values are taken from 'Team members' column and important condition that permutation should be done based on unique group name

 

 Member AMember B
Group XXAB
Group XXAB
Group XXAB
Group XXAC
Group XXAC
Group XXAC
Group XXAD
Group XXAD
Group XXAD
Group XXBC
Group XXBC
Group XXBC
Group XXBD
Group XXBD
Group XXBD
Group XXCD
Group XXCD
Group XXCD

 

I am trying to build a network graph, In which I want to show individual connections of members.

As you can see, There is a new column added to the right which mentions the name of another member of the same group.

How can I possibly do this?

  • Anonymous ,

     

    To be general, you can click new table and create a new table using DAX like pattern below:

    New Table =
    UNION (
        ADDCOLUMNS ( Table1, "MemberB", Table2[MemberA] ),
        ADDCOLUMNS ( Table2, "MemberB", Table3[MemberA] )
    )
    

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

1 Reply

  • v-yuta-msft's avatar
    v-yuta-msft
    Community Support

    Anonymous ,

     

    To be general, you can click new table and create a new table using DAX like pattern below:

    New Table =
    UNION (
        ADDCOLUMNS ( Table1, "MemberB", Table2[MemberA] ),
        ADDCOLUMNS ( Table2, "MemberB", Table3[MemberA] )
    )
    

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.