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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.