I've been struggling with a problem in PowerBI that at first glance should be easy and straightforward, but seems to be quite the contrary.
In short, I have some tables that I'm referencing dynamically, in order to expand their columns and do additional processing. When I'm building in the Query Editor, everything seems to be fine. The preview data in the editor is showing, and is correct. However, once I click Close and Apply, the data view in PowerBI does not show those referenced tables, but the cells seem to be empty.
Now, the details.
My tables are these:

Table shops contains 3 records that we'll use to dynamically reference the actual tables shop_thehouse, shop_goldforex and shop_goldline.

Table shops_all is based on table shops and adds a column that dynamically references the other tables.
let
Source = shops,
AddedTables = Table.AddColumn(Source, "Data", each Expression.Evaluate("shop_" & Text.From([shop]), #sections[Section1]))
in
AddedTables
Table shops_all shows like this in the editor, and contains the correct data, which means the dynamic referencing works fine.

However, when clicking Close & Apply, we see this in the Data View. The Data column is empty.
If it were not empty, it would show [Table] in the cell.

I then tried to add another column to shops_all, but this time with a static reference to one of the base tables.
let
Source = shops,
AddedTables = Table.AddColumn(Source, "Data", each Expression.Evaluate("shop_" & Text.From([shop]), #sections[Section1])),
AddedFixedReference = Table.AddColumn(AddedTables, "FixedRef", each shop_thehouse)
in
AddedFixedReference
Now each cell in the FixedRef column contains the data of shop_thehouse. So far so good.

After clicking Apply & Close, we now see this in the Data View

As expected, column FixedRef shows [Table] in each cell.
But - and this was unexpected to me - we now also see that the record for shop thehouse also shows [Table] in the Data column, which contains the dynamic reference.
I tried adding another FixedRef2 column that contains a fixed reference to another base table, and that shows an additional [Table] in the corresponding cell.
let
Source = shops,
AddedTables = Table.AddColumn(Source, "Data", each Expression.Evaluate("shop_" & Text.From([shop]), #sections[Section1])),
AddedFixedReference = Table.AddColumn(AddedTables, "FixedRef", each shop_thehouse),
AddedFixedReference2 = Table.AddColumn(AddedFixedReference, "FixedRef2", each shop_goldforex)
in
AddedFixedReference2
How is this possible?
I completely do not understand this.
How do I get the dynamic reference to show [Table] in the Data View, without having to add the FixedRef columns?
btw, table shops_all has Enable load checked, so that's probably not it.

ps: I'm using the June 2022 version of PowerBI Desktop.

[Edit 20 jun 2022]
Because most reactions say that I should just expand the table, I'm going to post some screenshots proving that this is not the solution. As you can see, after expanding the table in the Query Editor, everything looks fine. The correct data is shown.
let
Source = shops,
AddedTables = Table.AddColumn(Source, "Data", each Expression.Evaluate("shop_" & Text.From([shop]), #sections[Section1])),
ExpandedData = Table.ExpandTableColumn(AddedTables, "Data", {"description", "bid", "ask"}, {"description", "bid", "ask"})
in
ExpandedData
However, when I click Close and Apply, the Data View shows up blank (same after refresh):
This is the reason as to why I didn't show this in my original post.
It's because I know for a fact that the issue must be in the AddedTables step, which is yielding blank or null objects in the Data View.
This in contradiction to the Query Editor where the AddedTables step does not return blank/null and clearly show a [Table] object which contains the correct data.
For some reason unknown to me, it works in the Query Editor, but not in the Data View.
[Edit 20 jun 2022 part 2]
As requested, sharing the .pbix file through Google Drive
StackOverflow_Question_72679896.zip
You'll have to adjust the Path parameter to point to the correct directory, so the accompanying .xls can be found.




