Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
I have unique problem where Power BI Calculated column returns wrong result and not as per formula.
Second Part of My formula is trying to say give me weight of each product if product profile matches "Angle" then (edge_width*2-thickness)*thickness*length*0.0075*quanity. If I calculate manually then 50mmx50mmx4mm Angle = 6 MTR weight should come as 18.0864 Kg but Power BI gives 99.2464 kg. I have no idea why? Possibly due to order of calulation is going wrong ?
Formula :
Solved! Go to Solution.
In the actual formula, you are missing parenthesis as used in your following manual calculation so the order of calculation would be different.
(edge_width*2-thickness)*thickness*length*0.0075*quanity
In the actual formula, you are missing parenthesis as used in your following manual calculation so the order of calculation would be different.
(edge_width*2-thickness)*thickness*length*0.0075*quanity
Sorry, my bad I wasn't putting both parenthesis so it was showing the wrong result. You are the man, your solution worked.
use DAX Formatter , just paste your code, it will format and inform where you are missing parenthesis.
happy learning 🙂
But if I put parenthesis then If the formula assumes calculation is over and state the next parameter you know what I mean.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |