Forum Discussion
Help with expanding json list columns
- 5 years ago
Hi all,
Thanks for your effort and replies. I found a solution to my issue from here :
https://community.powerbi.com/t5/Power-Query/Multi-Dimensional-Json-file-to-Table/td-p/113667
In the end I combined the extracted columns into one.
Hi, jereaallikko
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may add a new step as below.
Table.Group(Source,"ID",{"Values",each Text.Combine([Value],",
")})
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jereaallikko5 years agoHelper III
Hi v-alq-msft
Thanks for your reply. This would have probably been the easiest way to solve the problem. But as I applied the code to my dataset, an error occurs:
Any suggestions?
- Jimmy8015 years agoCommunity Champion
- jereaallikko5 years agoHelper III
Hello Jimmy801
Yes, I did. It would also work, if the dataset and the amount of rows were be smaller. As the dataset contains over 80 rows, the manual work with that solution would be too much. Additionally, each time new data is rolling in, I should make modifications with advanced editor according to the new data.
Thanks anyways for the solution. If nothing more simple appears, this is probably the solution I must use.
Do you have any more simple solution to suggest?
Br, Jere