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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Kudoed Authors