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
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
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.

June 2025 community update carousel

Fabric Community Update - June 2025

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