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
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors
Top Kudoed Authors