The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Niels
Solved! Go to Solution.
@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 🙂
@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 🙂
Pefect man! Thanks for the help..
Niels
User | Count |
---|---|
26 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |