| MyColumnName | MyColumnValue |
| ColumnName1 | 1 |
| ColumnName2 | 2 |
| ColumnName3 | 3 |
| ColumnName4 | 4 |
Even if you have the above Collection called someCollection for example,
I don't believe you could refer to column names dynamically using the above collection and ForAll. The reason is that I don't believe, as far as I know, that it is possible to dynamically refer to column names in PowerApps in the construction of a Record. I would suggest you think of an alternate way to solve your problem.
For example, I do not believe this is possible:
//not possible - the below is not possible
ForAll(someCollection As myItem,{myItem.MyColumnName:myItem.MyColumnValue})
//the above is not possible, as far as I know
I think it is not possible to do it like this, so I recommend you check about the underlying problem you are trying to solve rather than this specific way, and go from there and see if you could think of a different approach.