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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
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.