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

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

Reply
Anonymous
Not applicable

Power Query Rounding to a whole number

Hi I am struggling to find a solution to an issue where my raw Data in a column has decimal places e.g:

 

Partqty
Bar 10.3
Bar 20.5
Bar 31.2
Bar 40.2

When Power Query is closed and loaded this Column returns whole numbers :

Partqty
Bar 10
Bar 21
Bar 31
Bar 40

I have tried to transform > round > then change decimal places to 2 this hasnt worked also when rounded up or down this has no effect.

The column type is set to Int.64

Does anyone have any ideas as this is causing discrepences on stock levels in the report.

Many Thanks

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Or change to number.

 

--Nate

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Or change to number.

 

--Nate

Anonymous
Not applicable

Hi thanks yes changed the Int64.Type to type number and it resolved the issue.

ppm1
Solution Sage
Solution Sage

The Int data type is integer, so you need to change it to fixed decimal instead.

 

Pat

Microsoft Employee

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.