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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors