cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
campelliann
Helper I
Helper I

Int data type vs Text Data type in Fact tables (performance)

Hi,

So I have 30.000 rows of timesheet data with my colleagues work input. The csv file, which is the source, comes with their name in the column "person".

Would it make a difference if for instance, I removed their names in power query and then place their employer ID (0-300) in the fact table to achieve more performance. I would then create a lookup table with their names.

It is my understanding that vertipaq converts text to int to compress data size, I dont know if this would apply over here.

Many thanks.

1 ACCEPTED SOLUTION
vanessafvg
Super User I
Super User I

it wont make a difference because power bi will automatically create a numeric id for your name as you point out.   The only time you potentially really need to creating numbers for id is if you have billions of rows, otherwise the vertipaq engine will automically encode your names and assign numbers to them to do the processing and compression.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
vanessafvg
Super User I
Super User I

it wont make a difference because power bi will automatically create a numeric id for your name as you point out.   The only time you potentially really need to creating numbers for id is if you have billions of rows, otherwise the vertipaq engine will automically encode your names and assign numbers to them to do the processing and compression.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors