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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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])

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])

Anonymous
Not applicable

Thanks it helped.

 

Regards,

Himanshu

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.