简体   繁体   English

pivot 表 excel 中其他字段的计算字段

[英]Calculated field from other fields in pivot table excel

I have this pivot table that is showing distinct count values.我有这个 pivot 表,它显示了不同的计数值。 I cannot change the data base source so I need a calculated field to group the indicated headers below我无法更改数据库源,因此我需要一个计算字段来对下面指示的标题进行分组在此处输入图像描述

For the purpose of my analysis ASW, BSW and SW mean the same thing.就我的分析而言,ASW、BSW 和 SW 的含义相同。 So any time the calculated field sees that any of those headers has a 1, it should throw a 1.因此,只要计算字段看到这些标题中的任何一个都有 1,它就应该抛出 1。

I've found a way by adding a new conditional column to the query.我通过在查询中添加一个新的条件列找到了一种方法。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM