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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Lena28
New Member

Expression error null to type text

Hello,

 

I have a problem with this:

 

Lena28_1-1665483785931.png

 

Yellow text: We cannot convert null value to type 'Text'. Details: Value=Type=[Type]

 

I need to upload data using a dataflow and this message appears for all prepared tables with date. I know there is no 'null' value in my prepared tables. I prepare these tables in SQL. Also if I download data from sql to excel and try to upload them in power bi, they upload just fine. 

 

When I try to upload again the table from which I have already created a report, it doesn't work either. New tables don't work and old tables don't work too. 

 

Do you know where can be a problem, please? 

1 REPLY 1
ibarrau
Super User
Super User

Hi Lena. The error is an error when running the transformations. This is thrown at Power Query. If you have any transformation or change of types with Power Query that can result in an exception. Get the pbix and refresh it or export the csv error of the refresh if you are using dataflow. You need to check if you can find the exact table with the issue and even better if you find the exact column. Then you can check one by one its Power Query transformations. If you can't find it anyway go to SQL Server and try looking for nulls or any error for the table/column.

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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