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
Hey!
I want to expand three values from a field in a JSON column of a table and add these three values as new columns into the table. The javascript is constructed in the same way all the time. So as an example:
The javascript looks like this:
{
"type": "XXX",
"currenttype": 0,
"typecontent": [
{
"angleSide": "none",
"direction": "none",
"size": {
"x": XXX,
"y": XXX,
"z": XXX
},
"sizeTop": {
"x": XXX,
"y": XXX,
"z": XXX
},
"sizeOuter": {
"x": XXX,
"y": XXX,
"z": XXX
},
"materials": {
"front": "XXX",
"back": "XXX",
"top": "XXX"
},
"typearticlenumber": "XXX",
"articlenumber": "XXX",
"elements": [
etc. ... The three values that are of importance are: "front", "back", "top". So ideally the table should look like this:
Thanks for the help!
Solved! Go to Solution.
After import the json file, you can click list-> Record-> Record(Material)s, then click "Into Table", click column "Name" column, then click Transform-> Pivot Columns.
The result will be like below;
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.
After import the json file, you can click list-> Record-> Record(Material)s, then click "Into Table", click column "Name" column, then click Transform-> Pivot Columns.
The result will be like below;
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 59 | |
| 51 | |
| 42 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 108 | |
| 104 | |
| 35 | |
| 26 | |
| 26 |