Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I have 2 measures which are showing both showing as 59%. However, when I use the following formula to compare them (and help define conditional formatting colours) they are showing as not being equal.
I have changed the values of both measures to 2 decimal places, and when this happends one is 58.7% and the other is 59.1%. Therefore, a rounding 'error' is the culprit to them not showing as equal. Is there any way to ammend the formula so that measures are calculated to zero decimal places?
Hope this makes sense.
TIA
Marc
Solved! Go to Solution.
Hi @mkins ,
Please try ROUND() function:
Round([value],0)
For more details, you can read related document: ROUND – DAX Guide
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mkins ,
Please try ROUND() function:
Round([value],0)
For more details, you can read related document: ROUND – DAX Guide
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous I initially thought this was working as expected, but for some measures it is not. Where should the ROUND function go? I have tried in multiple different places in the measure as I thought ROUND(MAX... Was the correct way but I'm getting some varied results
Thanks
Excellent, works perfectly. Many thanks @Anonymous
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.