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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
foo
Frequent Visitor

Handling Large Decimal Values

I have a column in MSSQL that's decimal(28,9) and used as a primary key. As I understand it Power BI's own decimal type is equivalent to decimal(19,4). I've determined that there are rows in this table that use the full 9 digits of scale. I need to perform merges on this column. What is the best way of making sure there isn't any rounding performed?

2 REPLIES 2
dax
Community Support
Community Support

Hi foo,

 

As  I know, powerbi seems only support 15 decimals, when your decimal is over 15, it will automatically cut off and round up, this is by design. If your decimal is less than 15, you could set formatting like below to keep original data

28.png

 By the way, I suggest you could post this requirement in power-bi-ideas

 

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

foo
Frequent Visitor

I doubt they're going to implement large decimal values just for me Cat Sad. The application I'm working with is a bit of an oddball and I don't expect many people to have this problem. If Fixed Decimal Number only supports decimal(19,4) changing the formatting won't help. Doesn't changing the formatting only affect how digits are displayed? The merges are in Power Query M so the fix has to be in Power Query M. As for the Decimal Number type that's an 8-byte floating point and floating points are potentially rounded. The documentation even says it's the equivalent of Excel's number type and that's IEEE 754 floating point. I was thinking about converting the number to a string but I am not sure if that will retain the accuracy. If Power Query M has to process the field as a Fixed Decimal Number before conversion to the text type it will be truncated.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.