cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors