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 September 15. Request your voucher.

Reply
Anonymous
Not applicable

Replacing null with mean

Hi All,

 

I have a situation where i want to replace null values with the mean value of that column.

What's the best way to do it in Power BI?

 

Regards,

Himanshu

Himanshu_13_0-1641800301377.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , a new column in DAX

If(isblank([review_per_month]), avergage([review_per_month]),[review_per_month])

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , a new column in DAX

If(isblank([review_per_month]), avergage([review_per_month]),[review_per_month])

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

Thanks it helped.

 

Regards,

Himanshu

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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