cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
angelakephart Regular Visitor
Regular Visitor

formatting fields that are ID fields

When bringing in ID type fields that are whole numbers,  is it better to keep them as whole numbers or convert them to text.  Is it more efficient to link text fields or whole number fields?  An example would be an Order ID field.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: formatting fields that are ID fields

Hi @angelakephart ,

AFAIK, power bi data model are stored as SSAS instance format. I'd like to suggest you use int type, it use less space than text type.

SQL SELECT speed int vs varchar

Power bi data model instance

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: formatting fields that are ID fields

Hi @angelakephart ,

AFAIK, power bi data model are stored as SSAS instance format. I'd like to suggest you use int type, it use less space than text type.

SQL SELECT speed int vs varchar

Power bi data model instance

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors