如何将计算列添加到现有 table 中,这将忽略切片器 Power BI 中的选定值

How to add calculated column to existing table that would ignore selected value in a slicer Power BI

我需要添加会忽略在切片器中选择的值的计算列:

我试过了:

all users = ALL(Sheet1[UserName])

但它给我一个错误:A table of multiple values was supplied where a single value was expected.

计算列不会受到切片器的影响,但这似乎不是您所指的。

您似乎正在尝试创建一个列出所有用户的视觉对象。为此,您可以将 Username 放在 table 视觉对象上,并通过转到“格式”选项卡并单击 Edit interactions.

来禁用切片器的过滤

If I understand you correctly, You have to use ALL() Function by creating new table Under the modelling tab