Solved
JSON to infotable or Merge rows based on PrimaryKey
Hi everbody,
do somebody have an experience with case when you need to convert JSON to Infotable, but when in JSON are two or more objects with the same primary key and you need this into one row of infotable?
Example:
from JSON:
"results": [
{
"MaterialNumber": "123456789",
"Color": "Red"
},
"MaterialNumber": "123456789",
"Color": "Blue"
}
]
to infotable:
| MaterialNumber | Color |
| 123456789 | Red, Blue |
OR case if you have an infotable as this:
| MaterialNumber | Color |
| 123456789 | Red |
| 123456789 | Blue |
and you would like to have as this:
| MaterialNumber | Color |
| 123456789 | Red, Blue |
Any ideas?

