excel中没有聚合的数据透视表

发布于 2025-01-12 04:30:48 字数 284 浏览 3 评论 0原文

鉴于下表:
输入图片此处描述

在 Excel 中,
当我插入数据透视表时,列“id”已被计算为总和
显然,不需要

关于如何单独从该列中删除聚合并保持表的当前外观相同(相同但不计算 id_1+id2...+idn)的任何想法

Given this table bellow:
enter image description here

In Excel,
when I insert a pivot table, the column 'id' has being calculated to a total sum
Clearly, it is not needed

Any thoughts of how can I remove the aggregation from this column alone and keep the same current appearance of the table ( same but without caculating id_1+id2...+idn)

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

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

发布评论

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

评论(1

江湖彼岸 2025-01-19 04:30:48

创建此度量

MyID :=
VAR ThisName =
    MIN( Table1[Name] )
RETURN
    IF(
        HASONEVALUE( Table1[Name] ),
        CALCULATE( MIN( Table1[ID] ), Table1[Name] = ThisName ),
        BLANK()
    )

根据需要修改表/列名称。

然后,您可以将此度量拖到数据透视表值区域中。

Create this measure:

MyID :=
VAR ThisName =
    MIN( Table1[Name] )
RETURN
    IF(
        HASONEVALUE( Table1[Name] ),
        CALCULATE( MIN( Table1[ID] ), Table1[Name] = ThisName ),
        BLANK()
    )

amending table/column names where required.

You can then drag this measure into the Pivot Table Values area.

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