Forum Discussion
Issues with Expanding Columns in Power BI Dataflows When Importing JSON Files
- 1 year ago
Hi mh20221111 ,
When importing JSON files into Power BI dataflows, the expand icon may not appear if the column doesn't contain recognizable list or record structures in the initial rows—often due to blank values or inconsistent formatting. In such cases, Power BI doesn't infer a structured type and therefore doesn't offer the expand option.A common workaround is to first filter out the null or blank rows so Power BI can detect the underlying structure, after which the expand button typically becomes available. If that doesn’t work, using the Advanced Editor is indeed a viable method—you can manually modify the M code to access and expand the nested records or lists. While it's not the only solution, it's often the most reliable in these edge cases.
Hi mh20221111 It might be because the top rows of the column are blank or do not contain list or record data, causing Power BI to misinterpret the column type. You can replace blank values with placeholders (such as {} or []) or bring a row with valid data to the top. You could try to, use the Advanced Editor to directly edit the M code for expansion. Adding a temporary dummy row with list or record data is another option.
- mh202211111 year ago
Helper II
Using dummy data is a good idea!