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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Clarafang
Frequent Visitor

How to deal with null value and blank value in power Query ?

Hi guys, 

I am a green hand to use power BI, I am quite confuse about how to deal with null values or missing value in different type of value now , it will destory the data by filling down or fieltering out/deleting the null / blank row in some situations...

for example those rating, status and department coloums, how should I handle them ?

is there any post that include the situations about dealing different types of coloumn with  null / blank value I can learn from it ?

Many Thanks!

1.png2.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Clarafang ,

 

As far as I know, Power BI will show empty data in number format by null and show show empty data in text format by nothing.

RicoZhou_1-1650616028324.png

If you want to replace null value or use null value in M code, you need to use find null.

RicoZhou_0-1650615995268.png

If you want to replace text nothing value , you can write nothing to find it. 

RicoZhou_2-1650616121016.png

And you need to use "" to find it in M Code.

RicoZhou_3-1650616174504.png

If this reply still couldn't help you solve your problem, please share a sample file with me and show me the result you want.

 

Best Regards,
Rico Zhou

 

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

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

Hi, but when you replace the null value with "1" that would not affect your average? In case you have numerical values that you want to evaluate

amitchandak
Super User
Super User

@Clarafang , You can use = null in formula

in replace you can use all small-cap null

in filter, you have an option for an empty value

 

https://www.edureka.co/community/40467/replace-null-values-custom-values-power-power-query-editor

http://excel-inside.pro/blog/2018/05/17/comparing-null-values-in-power-query/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the replay! But what kind of way I should use for handle the rate coloum then ? replace with Blank, and use isblank()function to calculate? 

By the way, what means" all small-cap null"?

Anonymous
Not applicable

Hi @Clarafang ,

 

As far as I know, Power BI will show empty data in number format by null and show show empty data in text format by nothing.

RicoZhou_1-1650616028324.png

If you want to replace null value or use null value in M code, you need to use find null.

RicoZhou_0-1650615995268.png

If you want to replace text nothing value , you can write nothing to find it. 

RicoZhou_2-1650616121016.png

And you need to use "" to find it in M Code.

RicoZhou_3-1650616174504.png

If this reply still couldn't help you solve your problem, please share a sample file with me and show me the result you want.

 

Best Regards,
Rico Zhou

 

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

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.

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.