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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
richard-powerbi
Post Patron
Post Patron

Why is Index column by default Decimal Number?

Usually an added Index column is a Whole Number as far as my experience goes.

Why is it by default a Decimal Number in Power Query?

As a result I'm always adding a step to make it a Whole Number. 

  • Is it possible to add an Index column with my desired Data Type directly?

In general I'm wondering what's best practice for performance out of these options:

  • Adding extra step in Power Query for changing Data Type to Whole Number
  • Change Data Type under Data > Modeling to Whole Number
  • Leave it at Decimal Number
1 REPLY 1
Anonymous
Not applicable

Because you may want to increment by .1 or .01. 

Most CPUs handle floating point (decimal) numbers as efficiently as integers (whole numbers). I would not think that performance improves by changing the type to whole number.

Regards,

Mike

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.