基于枢轴表中的其他列中的Excel中创建一个计算出的枢轴表列?

发布于 2025-02-11 08:47:01 字数 328 浏览 0 评论 0原文

因此,我在查询表中有一堆行,该行显示了一定时间范围的订单,以及该顺序是否具有“缺陷”。我已经在该表上启动了一个枢轴表,以总结那些白天有缺陷的订单和#(试图启动P-phart)的订单#。

有什么方法可以在枢轴表中创建第四列,该列表从两个现有列中计算出有缺陷的百分比(订单/订单计数)的百分比?

So I have a bunch of rows in a query table that shows orders from a certain timeframe and whether that order had a "defect" or not. I have started a pivot table on that table to summarize the # of orders and # of those orders that were defective by day (trying to start a p-chart).

Is there any way to create a 4th column in the pivot table that calculates the percent defective (Orders with Defects/Count of Orders) from the two existing columns?

enter image description here

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

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

发布评论

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

评论(1

多情癖 2025-02-18 08:47:01

当然,

基于此站点,这些步骤是:这些步骤:

  • 首先,在excel色带上选择枢轴表中的任何单元格中
  • ,请转到
  • “计算组”中的“枢纽分析”选项卡,单击字段,项目,& 设置
  • 然后,在下拉菜单中

,单击“计算 字段命令确保您的名字正确)。

最后一个注意:我相信计算出的字段默认情况下执行添加。我注意到您的第二列是“计数”,我相信计算出的字段将总和该列(在分隔之前)而不是对其进行计数。

Sure,

Based on this site, these are the steps:

  • To start, select any cell in the pivot table
  • Next, on the Excel Ribbon, go to the PivotTable Analyze tab
  • In the Calculations group, click Fields, Items, & Sets
  • Then, in the drop-down menu, click the Calculated Field command

Once there give a name to your Calculated Field and set your formula to Orders with defect / orders (tip: select the fields from the list to make sure you get the names right).

One last note: I believe calculated fields perform additions by default.. I noticed your 2nd column is a "count", I believe the calculated field will sum that column (before dividing) instead of counting it.

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