Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
jayhaast
New 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 when I publish and then view the report at app.powerbi.com numbers are all rounded down. 

 

How can I make the web version display whole numbers correctly?

 

Thanks

4 REPLIES 4
v-kkf-msft
Community Support
Community 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]) )

vkkfmsft_0-1651218705261.png

 

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.

 

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.

amitchandak
Super User
Super User

@jayhaast , clear bowser cache -> refresh and try again

 

or

Republish -> clear bowser cache -> refresh and try again 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks amitchandak. Didn't get to test your suggestoin unfortunately, my computer did a major update over the weekend and now problem is fixed. But the update presumably included a cache refresh. Sorry I couldnt test conclusively.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.