0

I've been told that the best way to compress/optmize powerpivot is to sort on the source table. while it's easy to make that statement. I'm having a hard time determining which is the best columns to sort. As an example, I have a table that includes 50+ columns (i.e. fiscal month, seller, customer info, pipeline staging, lead information, etc) some of these fields could be blank but some cannot be.

Is there any easy way to find what are the best sorting order? Is the trial and error the best approach?

user2669043
  • 97
  • 1
  • 6
  • 12

1 Answers1

1

Sort by the columns that have the most repetitive data. That way the compression will be optimized.

Here is good discussion of the topic. Note the second comment by the author Alberto Ferrari:

I got the best results sorting by the least variant datum first. If the same value for a column appears many times in a chunk, it will be compressed better. On the other hand, if the value changes very often, then compression will be worse.

teylyn
  • 34,374
  • 4
  • 53
  • 73