Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
by power query, I'll give an example of the tables:
Table 1
Name |
Adam |
Frank |
Thomas |
I need an M formula to add a second column that repeats all the names for each name in column 1 except itself, so it looks like this:
Name | Partner |
Adam | Frank |
Adam | Thomas |
Frank | Adam |
Frank | Thomas |
Thomas | Adam |
Thomas | Frank |
Solved! Go to Solution.
Add a custom column:
List.RemoveItems(thePreviousStepName[Name], {[Name]})
then Expand the column 'To Rows'
Add a custom column:
List.RemoveItems(thePreviousStepName[Name], {[Name]})
then Expand the column 'To Rows'
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 7 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 10 | |
| 7 | |
| 6 |