如何根据 Excel 2010 数据透视表包含的数据子集对其进行排序?

发布于 2024-09-13 23:49:01 字数 191 浏览 0 评论 0原文

我有一个 Excel 2010 数据透视表,其中包含类别和计数度量作为数据。这些类别下面有一个嵌套的日期维度,经过过滤后仅显示过去两个月。

当我对类别进行排序时,我会按照 6 月和 7 月的计数度量总计按降序对它们进行排序。

谁能建议我如何仅根据 6 月数据(而不是 6 月和 7 月的总计数据)对类别进行排序?

谢谢!

I have an Excel 2010 pivot table that has categories and a count measure as the data. Those categories then have a date dimension nested underneath, filtered to show only the last two months.

When I sort the categories, I am sorting them by the total of the count measure across both June and July, in descending order.

Can anyone suggest how I can sort the categories based on the June data alone, as opposed to the total for both June and July?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

东风软 2024-09-20 23:49:01

您的问题与 Sql Server Analysis Services 无关。 SSAS 提供多维数据,数据透视表也将其用作数据源。这就是您在这里看到数据透视表问题的原因。但它们与 Excel 无关。

不管怎样,我想尝试回答你的问题。据我了解您的问题,更改数据透视表中维度的顺序足以实现您的目标。首先将日期维度添加到数据透视表,然后添加类别维度,以获取按日期(月)分组的数据。然后,您可以按类别排序以获得您想要的结果。

希望这有帮助。

Your questions is not related to Sql Server Analysis Services. SSAS provides multidimensional data that is also used by pivot tables as datasource. So that's why you have seen pivot table questions here. But they are not Excel related.

Anyway, i want to try to answer your question. As far as i understand your question, changing the order of the dimensions in your pivot table will be sufficient to achieve your goal. Add the date dimension to the pivot table first and then the category dimension to get your data grouped by date (month). You may then sort by categories to get the result you want.

Hope this help.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文