ExcelHome技术论坛

 找回密码
 免费注册

QQ登录

只需一步,快速开始

快捷登录

搜索
EH技术汇-专业的职场技能充电站 妙哉!函数段子手趣味讲函数 Excel服务器-会Excel,做管理系统 Excel Home精品图文教程库
HR薪酬管理数字化实战 Excel 2021函数公式学习大典 Excel数据透视表实战秘技 打造核心竞争力的职场宝典
300集Office 2010微视频教程 数据工作者的案头书 免费直播课集锦 ExcelHome出品 - VBA代码宝免费下载
用ChatGPT与VBA一键搞定Excel WPS表格从入门到精通 Excel VBA经典代码实践指南
查看: 7845|回复: 6

[2007] 数据透视表V:上下文菜单

[复制链接]

TA的精华主题

TA的得分主题

发表于 2006-4-29 15:50 | 显示全部楼层 |阅读模式
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助

PivotTables V: Context Menus
透视表 V :上下文菜单


Today I wanted to talk about PivotTable context menus, for two reasons ... first, because we have updated them to make them more useful, and second, because we have added some neat new features that are exposed primarily in context menus. All of this is part of our work to make PivotTables easier to explore and manipulate. Let's take a look at some of the improvements and additions.
今天我想谈一谈透视表菜单,有两个原因,首先是因为我们为其添加了一些更加有用的内容,二是因为我们增加了一些灵巧的新特色,这点在“背景菜单”中主要被显露出来。我们所做的这些工作是为了让透视表更易于探寻和操作。让我们来看看其中一些改进。

[Point=2]

Sorting by items on rows or columns
按行或列排序


Below is a screenshot of the context menu for an item on rows or columns (we have a different context menu for values which is covered below). The item used in the example is Mountain Bikes of the Product Category field.
下面是一个行列项目菜单的截图(我们对于被盖住的数值有一个不同的菜单)。这个项目所用的是山地车类产品的例子。

(Click to enlarge) 点击放大


We have added sorting and filtering options to the context menu to make it fast/easy to sort/filter the current selection. (I will go into more depth on sorting and filtering improvements in a later post. Today I'll just review the sort and filter context menu options.)
我们在菜单增加了排序和筛选选项,使其能够快捷、方便地对当前选项进行排序或筛选。(我将在以后的帖子中更深入地探究排序和筛选方面的改进。今天,我将只讨论菜单项目中的排序和筛选。)


The context menu allows you to apply an ascending or descending sort based on the item names, or you can manually move items of a field to the position you want. Here is a screenshot of the sort menu in the beta version of Excel illustrating those options.
  菜单中你可以按项目的名称进行升序或降序排列,或者你可以用手工的方式将一个区域的项目移到你想要的位置。下面是一张来自Excel测试版的截图,列举了排序菜单的选项。

(Click to enlarge) 点击放大


Filtering
筛选


Located just below the sort menu, the filter menu provides direct access to the dialogs for setting up a dynamic filter on the selected field (I'll cover dynamic filters in a later post), and it also provides the option of defining a manual filter by just displaying the items selected, hiding all the other items of the field, or hiding the selected items. Here is a screenshot of the filter menu ... being able to hide or show only selected items is a very handy feature that we think PivotTable users will love.
就在排序菜单下面的位置,筛选菜单提供了在选择的区域上直接建立动态筛选(我在以后的文章中会揭示动态筛选)的命令,同时它也提供了通过显示的选择项目定义一个手工筛选选项。这是一个筛选菜单的截图,能够仅隐藏或显示选择项目,这是一个非常便利的特性,我们认为透视表使用者将会喜欢这个特性。


(Click to enlarge) 点击放大


Turning on and off subtotals
打开和关闭分类汇总


In many reports, subtotals are not needed for specific fields. This is often tied to the report layout chosen, but it can also be simply because it doesn't really make sense to add up the numbers in a given context. For this reason, we added the option to turn on and off the display of subtotals of the selected field to the context menu. For example, consider this PivotTable.
在许多表格中,对于特定的区域分类求和不是必需的。这就需要经常关闭已选择的表格布局,但它也可能变得简单。因为在特定的上下文中增加分类汇总数字不一定真的有意义。基于这个原因,我们在菜单中增加了所选区域分类汇总显示开关选项。例如,像这样的透视表。

(Click to enlarge) 点击放大

Pretend that the source data for this PivotTable does not contain sales data for all bikes and, before sending out this report, you want to remove the subtotals for Mountain Bikes and Road Bikes so that the report does not contain subtotals that can be considered incorrect since they only represent a subset of the bikes sold. All you have to so is to right-click Mountain Bikes or Road Bikes and select the subtotal option.
假设这个透视表的数据源没有包括全部自行车的销售数据,在发出这个报表时,你想移去山地自行车和公路自行车的分类汇总项,以便报表不包括能够考虑到的错误的分类汇总,因为他们仅说明了自行车销售的一个分类。你因此不得不点击右键选择山地自行车或公路自行车的分类汇总选项。

(Click to enlarge) 点击放大

And now the PivotTable no longer contains the subtotals for Mountain Bikes and Road Bikes.
现在透视表不再包括山地自行车和公路自车的分类汇总项目。

(Click to enlarge) 点击放大

Expand/Collapse
展开/折叠


The Expand/collapse menu offers a fast way to expand multiple fields at once (this has come up in comments as well as a few emails folks have sent this week). Say you have the following PivotTable and you want to display all the available details for Canada.
  展开/折叠菜单提供了快速方法去一次性地展开多个区域(这一点在注解和这周发来的电子邮件中已经讨论过)。比方说你有下面这样的透视表,你想显示所有“加拿大”有用的细节。

(Click to enlarge) 点击放大

In the context menu, all you have to do is to select the field that you want to expand to, in this example Product Name.
在这个菜单中,你必须要做的是选择你想要展开的区域,本例中的产品名称。

(Click to enlarge) 点击放大

And the PivotTable now displays all the details for Canada.
透视表马上显示“加拿大”的所有详细内容。


(Click to enlarge) 点击放大

The context menu will show you all the fields on the axis, so you can collapse or expand to any field you want. As you can imagine, this is even more useful when there are more than the three fields of this simple example.
这个菜单将显示在这个轴上所有的区域,因此你可以折叠或展开你想要的区域。因此你可以想象,当有比这个简单例子中三个区域更多区域时,会更加有用。


Sorting by values
按数值排序


As I mentioned, the context menu users see for values is different from the one they see for rows and columns. Here is what the values area context menu looks like in current builds.
正如我所说,菜单使用者们所看的数值与他们在行列中所看到数据是不同的。这儿数据区域菜单看上去像当前建立的。


(Click to enlarge) 点击放大

Just like in the context menu for items on rows and columns we've added a sort menu. However, applying a sort here will sort the items by the values in the Values area instead of by item names so, for example, you can sort products ascending by sales amount.
就像在行列项目菜单中添加了一个排序菜单一样,而这儿所提供的排序是按在数据区域内通过项目名称进行的排序,例如,你可以按升序方式对销售量进行产品排序。


Expand to detail
扩展到明细

Expand to detail allows you to query for the rows from the source data that were included for calculating the aggregated value in the selected cell.
扩展到明细允许你查询来自被选单元格中包括计算合计的数据源的记录行。

(Click to enlarge) 点击放大

Here is a screenshot of the source data rows returned in the example when performing the "expand to detail" operation. The rows are placed in a new worksheet.
这儿是本例中数据源数据行返回的截图,当执行"扩展到明细"操作时,这些数据行被放在新的工作表中。

(Click to enlarge) 点击放大

未完待续。。。。。。


注:本文翻译自http://blogs.msdn.com/excel ,原文作者为David Gainer(a Microsoft employee),Excel Home 授权转载。严禁任何人以任何形式转载,违者必究。


非常感谢Kevin的帮助和指导!





[/Point]

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

数据透视表V:上下文菜单

TA的精华主题

TA的得分主题

发表于 2006-4-29 20:15 | 显示全部楼层

续上。。。。

Summarize data by ...
数据汇总方式

[Point=2]


The last context menu option I'll cover today is the "Summarize Data By" menu, which we hope is a time saver. Sometimes you may want to count the number of instances in the source data for certain criteria instead of simply adding the individual numeric values, or you may want to use one of the other numeric functions for aggregating the data (like Max, Min, Average etc.). To make this very easy, the aggregation functions are now exposed in the context menu of cells in the Values area. To illustrate, here is the PivotTable I've been using for other examples today.
今天,我将介绍的最后的菜单选项是“数据汇总方式”菜单。有时你可能因为某些标准想要统计数据源例子中的数目,而代替简单的单个数值相加,或者你可能想使用其他数字功能来进行数据汇总(如最大值、最小值,平均值等)。为了使这些变得更容易,汇总功能在数值区域中的单元格菜单里被显露出来。举例,这儿是今天我们在其他例子已经使用过的透视表。

(Click to enlarge) 点击放大

This PivotTable is aggregating the source data using the Sum function. Now, let's try and change this to Count.
这个透视表是使用求和功能进行数据源汇总的。现在,让我们将它改为计数。


(Click to enlarge) 点击放大

And that's all it takes to have the PivotTable use Count instead of Sum to aggregate the source data. Here is a screen shot of the result.
这就是数据透视表用计数代替求和来汇总数据源的全部内容。这儿是这一结果的截图。

(Click to enlarge) 点击放大

That wraps up our quick tour - I know I didn't cover everything, so feel free to ask questions about other items you saw you would like explained. Next up, filtering improvements.
全神贯注于我们的快速的旅程,我知道我不能涵盖所有的内容,因此试着根据你所见到的自由地提出需要解释的其他问题。下一次将介绍排序的改进。


Published Thursday, December 15, 2005 3:01 PM by David Gainer
Filed Under: PivotTables

注:本文翻译自http://blogs.msdn.com/excel ,原文作者为David Gainer(a Microsoft employee),Excel Home 授权转载。严禁任何人以任何形式转载,违者必究。



非常感谢Kevin的帮助和指导!

[/Point]

TA的精华主题

TA的得分主题

 楼主| 发表于 2006-5-1 01:00 | 显示全部楼层
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用  · 内置多项VBA编程加强工具       ★ 免费下载 ★      ★使用手册

续上。。。补充丢失的图片

Summarize data by …

数据汇总方式

[Point=2]

The last context menu option I’ll cover today is the “Summarize Data By” menu, which we hope is a time saver. Sometimes you may want to count the number of instances in the source data for certain criteria instead of simply adding the individual numeric values, or you may want to use one of the other numeric functions for aggregating the data (like Max, Min, Average etc.). To make this very easy, the aggregation functions are now exposed in the context menu of cells in the Values area. To illustrate, here is the PivotTable I’ve been using for other examples today.

今天,我将介绍的最后的菜单选项是“数据汇总方式”菜单。有时你可能因为某些标准想要统计数据源例子中的数目,而代替简单的单个数值相加,或者你可能想使用其他数字功能来进行数据汇总(如最大值、最小值,平均值等)。为了使这些变得更容易,汇总功能在数值区域中的单元格菜单里被显露出来。举例,这儿是今天我们在其他例子已经使用过的透视表。

(Click to enlarge) 点击放大

This PivotTable is aggregating the source data using the Sum function. Now, let’s try and change this to Count.

这个透视表是使用求和功能进行数据源汇总的。现在,让我们将它改为计数。


(Click to enlarge) 点击放大

And that’s all it takes to have the PivotTable use Count instead of Sum to aggregate the source data. Here is a screen shot of the result.

这就是数据透视表用计数代替求和来汇总数据源的全部内容。这儿是这一结果的截图。


(Click to enlarge) 点击放大

That wraps up our quick tour – I know I didn’t cover everything, so feel free to ask questions about other items you saw you would like explained. Next up, filtering improvements.

全神贯注于我们的快速的旅程,我知道我不能涵盖所有的内容,因此试着根据你所见到的自由地提出需要解释的其他问题。下一次将介绍排序的改进。

Published Thursday, December 15, 2005 3:01 PM by David Gainer
Filed Under:
PivotTables

注:本文翻译自http://blogs.msdn.com/excel ,原文作者为David Gainer(a Microsoft employee),Excel Home 授权转载。严禁任何人以任何形式转载,违者必究。

非常感谢Kevin的帮助和指导!




[/Point]
9ZM05Srg.png
tc0PHuvP.png
yGwyzp0N.png

TA的精华主题

TA的得分主题

发表于 2006-5-18 10:33 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2006-6-17 23:16 | 显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件       ★免费下载 ★       ★ 使用帮助
谢谢提供帮助

TA的精华主题

TA的得分主题

发表于 2007-6-15 09:12 | 显示全部楼层

TA的精华主题

TA的得分主题

发表于 2008-12-17 11:21 | 显示全部楼层
谢谢楼主分享,透视表实践为主,要好好学习了
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

关闭

最新热点上一条 /1 下一条

手机版|关于我们|联系我们|ExcelHome

GMT+8, 2024-4-23 21:23 , Processed in 0.044896 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 1999-2023 Wooffice Inc.

沪公网安备 31011702000001号 沪ICP备11019229号-2

本论坛言论纯属发表者个人意见,任何违反国家相关法律的言论,本站将协助国家相关部门追究发言者责任!     本站特聘法律顾问:李志群律师

快速回复 返回顶部 返回列表