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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anra
New Member

Result of Caluclated Column is always integer instead of decimal (Power Query)

I need to make some calcluation in PowerQuery, but the added column always returns only an integer value, even the used columns in the calculation are of type decimal. 

What I need is the difference between the first two clumns and what should be 0.770532 for the first row, not 1 what seems to be the rounded value.

 

22-06-2023_10-50-33.png

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @Anra 

 

Without seeing your code I can't say what's happening because subtracting one column from the other should give the correct result.  It does for me when I try it.

 

Are you sure there isn't a step that changes the result column to Whole Number before it is changed to Decimal Number?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors
Top Kudoed Authors