Solved
Forum Discussion
4 Replies
- bojanvelevskiValued Contributor
- JensDeveloperContributor II
Thank you for your answer.
I See it now. It Works
- JensDeveloperContributor II
Hi @bojanvelevski ,
I Have another question about the same scenario but little more difficult.
So the output is this.AllData{
Dataset1 [{Fieldname:Fieldname1 Value: Value1}, {Fieldname:Fieldname2 Value: Value2}], Dataset2[]
}
The goal is to change every fieldname to the value of the fieldname like you showed. But this needs to be done for every Dataset. This is to get all the columnames from an SQL Server.Thank you in advance
- bojanvelevskiValued Contributor
$AllData.mapValues((v,k)=>v.map(x=>x.mapKeys((v1,k1)=v1)))
I belive something like this should work