Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |