Forum Discussion

pollyannaog's avatar
pollyannaog
Icon for Helper I rankHelper I
6 years ago
Solved

Log column that expands a strange problem :(

Hey, everybody, how are you? I'm facing a strange problem with query transformation in Power BI Desktop. I have a dataset where "column1" is a list of data (see image below): When I expan...
  • AlB's avatar
    6 years ago

    Hi pollyannaog 

    Can you share a mock pbix that reproduces the problem?

    Looking at the error message it looks like PQ encounters a record where it expects a table. You could check if the item is a record with the following (it will yield true if it is a record):

    Value.Is([YourColumnName], type record)

    and then, if it is a record either ignore it in the expansion or perhaps convert it to table, depending on what you prefer.

    Please mark the question solved when done and consider giving kudos if posts are helpful.

     Cheers