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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Round up 15 digit number + 2 decimals using Fixed Decimal Number data type SQL(17, 2)

Hello,

 

I have two numbers that are being rounded when using a table visualization. When I check the power query, I have long numbers like this 128903545856362.27 or like this -118379514151571.95, which are the same as in the database. Data type is set to Fixed Decimal number.  When I look for the number in the  table visualization, then I find the first number rounded to 128903545856362.30 and the second one to  -118379514151572.00. If I copy the number from the table and paste it into a txt file,  I see the same number as the one in the power query or database 

 

I understand that a Fixed decimal number data type allows for 19 digits (SQL Decimal(19,4)) per literature (https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-data-types). My question is why is rounding up  these numbers when there are only 15 digits of significance and 2 digits after the decimal separator. Even if I can't fix this issue, is there a way to export the original number ?

 

 

4 REPLIES 4
parry2k
Super User
Super User

@Anonymous so it means your source has more than 4 decimal point data, correct? 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

At the source, the column is defined as numeric(38, 12)

parry2k
Super User
Super User

@Anonymous weird, what about if you change data type to decimal number  instead of fixed decimal number and also in the table visual, try to set the format to 4 decimal digits and see if that makes a difference.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

If I use decimal, it will be rounded up because the highest precision is 15 digits per literature.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors