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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Problems with Infinite value and NaN value

Hi

 

I am trying to make a simple devision in PowerBI, by adding a new column (see column below: Area / (DIR/2). This column is calculated by deviding the column "Area" by column "DIR/2".

For some of the rows the calculation works fine, but for 1 row the value returned says "Infinte" and for another row the value returned is NaN. Anybody who can help?

Please see the attached table

 

Picture1.png

Niels

 

 

1 ACCEPTED SOLUTION
nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

Use DIVIDE() and proper Parentheses.

 

DIVIDE(<numerator>, <denominator> [,<alternateresult>])

 

Check out the below links

https://docs.microsoft.com/en-us/dax/divide-function-dax

https://docs.microsoft.com/en-us/power-bi/guidance/dax-divide-function-operator

 



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

View solution in original post

2 REPLIES 2
nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

Use DIVIDE() and proper Parentheses.

 

DIVIDE(<numerator>, <denominator> [,<alternateresult>])

 

Check out the below links

https://docs.microsoft.com/en-us/dax/divide-function-dax

https://docs.microsoft.com/en-us/power-bi/guidance/dax-divide-function-operator

 



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂

 


Regards,
Nandu Krishna

Anonymous
Not applicable

Pefect man! Thanks for the help..

Niels

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.