Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a measure that I want to have the numbers rounded to the nearest whole number. Am I missing a simple feature that will allow me to do this?
Any number whos decimal is less than 0.5 will be rounded down to the nearest whole number and any number whos decimal is 0.5 or greater will roudn up to the nearest whole number.
EX: 12.65 will round up to 13. 12.44 will round down to 12.
Solved! Go to Solution.
Hi @DJSwezey ,
I think your issue should be caused by your data model. ROUND() function works well on myside, I couldn't reproduce your issue.
Table:
Please share a sample file with me, this will make it easier for me to find the solution.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That's what I thought but here is an example of that not being the case.
The left column is no rounding and the right is rounding. Works for all but the 10.98. That should be 11 not 10.
Im doing ROUND(sum(Showed),0)
Hello,
Do you actually need the value to be rounded or just the display to be rounded? What happens if you adjust the formatting of the showed column to show 0 decimal places?
----------------------------------
If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)
Proud to be a Super User! | |
I need the actual value of these to be rounded. Using these numbers in a different calculation than varies drastically based on its value.
Hi @DJSwezey ,
I think your issue should be caused by your data model. ROUND() function works well on myside, I couldn't reproduce your issue.
Table:
Please share a sample file with me, this will make it easier for me to find the solution.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Okay, I see.
Still, out of curiosity, what happens if you adjust the formatting of the showed column to show 0 decimal places? Does that display correctly?
Proud to be a Super User! | |
But it worked for 15.55. I guess the source of the problem is something else but not sure what it could be.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
14 | |
11 | |
9 |
User | Count |
---|---|
28 | |
23 | |
12 | |
11 | |
10 |