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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bboy0009
Helper II
Helper II

Choice of data type to optimize

Hi guys,

 

Let's admit I have some transformations that could be applied on a text column or on a number column. In this case, which type of data should I take to optimize the treatment time ? text type require more than number type ? 

 

Could you please give an explanation if possible ?

 

Thank you in advance !

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@bboy0009 , the Number data type is always better for join columns. Number takes less space compare to text and work faster in case of joins

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @bboy0009 ,

 

As far as I know, it is indeed the numeric type column that consumes less resources and time in handling data conversion and contributes more to resource conservation, because according to my research in the official documentation, the integer - represents a 64-bit (eight-byte) integer value and the text is a Unicode character data string. It can be a string, a number or a date expressed in text format. The maximum string length is 268, 435, 456 Unicode characters (256 megacharacters) or 536, 870, 912 bytes.

 

You can refer to this official documentation for details.

Data types in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@bboy0009 , the Number data type is always better for join columns. Number takes less space compare to text and work faster in case of joins

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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