PowerPIvot Optimization,排序哪一列?

PowerPIvot Optimization, which column to sort?

有人告诉我 compress/optmize powerpivot 的最佳方法是对来源 table 进行排序。虽然很容易做出这样的声明。我很难确定哪些是最好的排序列。例如,我有一个 table,其中包含 50 多个列(即财政月份、卖家、客户信息、管道分期、潜在客户信息等),其中一些字段可能为空,但有些则不能。

有什么简单的方法可以找到最好的排序顺序吗?反复试验是最好的方法吗?

按重复数据最多的列排序。这样压缩将得到优化。

Here 很好地讨论了这个话题。请注意作者 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.