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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
AllanBerces
Post Prodigy
Post Prodigy

IF Blank then 0

Hi good day, can anyone pls need assistance on my calculated column. If the result is Blank then equal to 0.

 

Overall = DIVIDE(Daily_%'[Overall_Earned],'Daily_%'[Overall_Total])
 
Thank you
1 ACCEPTED SOLUTION
bhanu_gautam
Super User
Super User

@AllanBerces Try using

DAX
Overall = IF(ISBLANK(DIVIDE(Daily_%'[Overall_Earned], Daily_%'[Overall_Total])), 0, DIVIDE(Daily_%'[Overall_Earned], Daily_%'[Overall_Total]))




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






View solution in original post

3 REPLIES 3
mdaatifraza5556
Super User
Super User

Hii, @AllanBerces 
Please use the third argument 0 in your DAX.
Below is the corrected DAX

Overall =
 DIVIDE(Daily_%'[Overall_Earned],'Daily_%'[Overall_Total], 0)

bhanu_gautam
Super User
Super User

@AllanBerces Try using

DAX
Overall = IF(ISBLANK(DIVIDE(Daily_%'[Overall_Earned], Daily_%'[Overall_Total])), 0, DIVIDE(Daily_%'[Overall_Earned], Daily_%'[Overall_Total]))




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam thank you very much for the reply, all good

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.