Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pollyannaog
Frequent Visitor

Record column expanding weird problem :(

Hi everyone, how are you?

 

I'm facing a weird issue with query transformation in Power BI Desktop. I have a dataset where "column1" is a list of data (see image below):

Sem título.png

 

When I expand "column1" it seems that it is a colum with list of records, with some null rows (see image below):

Sem título.png

 

So, I again apply an expansion, now in this records column. Then, it seems that everything worked fine (see image below):

Sem título.png

 

BUT...when I apply all the transformations, Power BI shows this error:

Sem título.png

 

 

Its seems that few row records that were expanded did not matched the expected structure. I've tried a lot of transformations without success and searched on Web, but I can't find a solution for this. Anyone could help me?

 

Thanks!!!

 

5 REPLIES 5
Greg_Deckler
Super User
Super User

Maybe the null's are causing problems?

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I've tried to deleted nulls, but it was not the problem. I saw that there is a row that did not match the columns expected from majority of records (it has a different column inside the record, that do not have in other records). So it breaks the transformation flow...

Any chance you can just wipe that row?

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Despite knowing which record is not maintaining the same structure of others, I'm only able to filter it out after the expansion step. However, is in this specific step that the error appears when I apply the transformations. In short, its seems that I have to find a way to filter out this row before expanding the column

Hi @pollyannaog,

 

It will happen if you have mixed data types in your column to expand. Please refer to the similar thread :https://community.powerbi.com/t5/Desktop/Cannot-convert-value-to-type-table/td-p/173959

 

And super user ImkeF is the expert in dealing with this problem, you can ask him for help.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.