Forum Discussion
jayhaast
4 years agoNew Member
Numbers getting rounded down after publishing
Hello, I have a table with multiple columns that I set to "whole number" data type (by going Data tab > Column tools > Data type = whole number). This works as expected inside PBI desktop, but wh...
v-kkf-msft
4 years agoCommunity Support
Hi jayhaast ,
As far as I know, setting to Whole number type will round the data by default. So please use the TRUNC function to truncate a number to an integer by removing the decimal part of the number.
Measure = TRUNC( SUM('Table'[Value]) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jayhaast4 years agoNew Member
thanks for the suggestion, this isn't what i'm asking though. I dont want to truncate down, I want PBI web to not round down. The weird thing is that the desktop version is behaving as expected, it's only when i publish I get the issue.