cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akhaliq7
Helper III
Helper III

Should a ID column be a whole number, text or decimal

While watching a video on excel the instructor said to use text for id columns as they are not for calculations does this rule apply also for power bi. Should all my columns for Id's be text data types.

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

It's up to you.  A number will be stored more efficiently but you have to take a small amount of extra care to prevent powerbi from attempting to sum it when placed on a visual. 

Not a decimal though. 

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

It's up to you.  A number will be stored more efficiently but you have to take a small amount of extra care to prevent powerbi from attempting to sum it when placed on a visual. 

Not a decimal though. 

View solution in original post

TheoC
Memorable Member
Memorable Member

Spicy response @HotChilli! Hehe "spicy" (my bad, terrible dad humor!). But very much a very simple explanation and precise response! 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?  www.linkedin.com/in/theoconias

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors