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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ecalzavara
Advocate II
Advocate II

Something went wrong: 'dataType' argument cannot be null

Hi there,

I have a .pbix that just reads .parquet files to see what's inside. I have made a parameter dropdown to choose from a list of available .parquet files in a folder.

It works for some of them, but for others (which I can successfully preview in PowerQuery), when I hit "Apply changes" pbi crashes returning this error:

ecalzavara_0-1706007157743.png

 

I have turned off the connection detection in the Data Load feature but nothing changes. It works for some parquet, but for others it throws this error.

Any help?

3 REPLIES 3
Anonymous
Not applicable

Hi @ecalzavara ,

Can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

ecalzavara
Advocate II
Advocate II

UPDATE: I have found a workaround but I wouldn't consider it a proper "SOLUTION".

I have noticed that some datatypes were detected with this icon:

ecalzavara_0-1706008940236.png

 

I have then added these steps to "reset" the datatype, and it applied the changes successfully.

ecalzavara_1-1706009031422.png

 

Though, it would be good to understand why it defines the datatype with a quesiton mark in the first place and.. does anyone know the correct way to make it DEFINE it, rather than my demote/promote workaround?

I ran into the same problem, and I think the reason it does that is because the first 1000 rows of that data are all null. Power BI doesn't know data type to assign the column if all the rows are null

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.