Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I created the below measures.
Measure A = sum([sales 1]) / sum([Area 1]).
Measure B = sum([sales 2]) / sum([Area 2]).
Maximum = if( Measure A > Measure B, Measure A, Measure B)
Difference = Maximum - Measure A
Now, if Measure A > Measure B. Maximum returns the value measure A. But value of 'Difference' is not zero, i.e. 6e-13.
Why there is a difference after putting the numbers into the if statement?
Hi @Anonymous ,
Failed to reproduce the scenario, please show some sample data.
Best Regards,
Jay
Thanks for your suggestion. However, it does not help. My question is why there is a tiny different after I put the value into the 'if' funtion even though the measures inside the 'if' and without 'if' are the same function. All the measures are in decimal.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
8 | |
4 | |
3 |
User | Count |
---|---|
15 | |
15 | |
11 | |
10 | |
10 |