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
Anonymous
Not applicable

Expression Error on Close and Apply: We cannot create null value to type logical

Hi, 

 

I'm getting an error on close and apply 

 

I've traced a log but I can't tell from that what the issue might be.

expression error.PNG

 

 

Can anyone point me in the right direction as to what the issue might be?  

 

Many thanks

 

 

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@Anonymous Basically that error means that via query editor you've done some transformations, applied some steps that cannot be successful due to some values being null in your dataset. I would suggest import data as it is rather than doing any transformations.

View solution in original post

3 REPLIES 3
v-haibl-msft
Microsoft Employee
Microsoft Employee

@Anonymous

 

How did you get data, DirectQuery or Import mode? What modifications have you done to columns with which type?

 

Best Regards,

Herbert

Anonymous
Not applicable

I was trying to add a new column in Power Query and my expression was creating Null values.  I ditched that column and it loaded just fine.  

ankitpatira
Community Champion
Community Champion

@Anonymous Basically that error means that via query editor you've done some transformations, applied some steps that cannot be successful due to some values being null in your dataset. I would suggest import data as it is rather than doing any transformations.

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.