Forum Discussion
Multi-Dimensional Json file to Table
- Anonymous9 years ago
Hi aurischa,
Please follow the following steps to import your JSON file to Power BI.
1. Right click your lists and choose "Add as new query".
2. Convert your columnNames list to table and transpose the table.
3.Convert your rows list to table and rename the column as follows
4.Add custom columns as follows, For more details, please review this similar blog.
5. Remove first column in rows table.
6. Append the two queries as shown in the following screenshots.
7. Select the first row in columnNames table and click the "Use first row as headers" button, then get expected result.
.
Thanks,
Lydia Zhang
So you want to link the "unit"-record to the number 2504985?
How? As a new record? Which field name shall the number get?
I basically just want the output to be tabular - like this
- ImkeF8 years agoCommunity Champion
I couldn't spot a key or pattern between these 2 items.
So unfortunately I have no idea how to match them, sorry.
- Anonymous8 years agoNot applicable
Oh well, thanks anyway : )