简体   繁体   English

如何将计算列链接到SharePoint中另一个列表中的列?

[英]How do I link a calculated column to a column in another list in SharePoint?

I have 2 lists with some common columns. 我有2个列表,其中包含一些常见列。 I need to multiply the Calculated Sum value (of a certain column) in one list by a particular column value in another list. 我需要将一个列表中的计算总和值(某列的某个值)乘以另一个列表中的特定列值。

How would I achieve this? 我怎么做到这一点?

The formula in a calculated site column can reference only other site columns that are in the same list or library. 计算的站点列中的公式只能引用同一列表或库中的其他站点列。 Therefore, when you add the calculated site column to a list or library, you must also add the site column that is referenced in the formula. 因此,将计算的站点列添加到列表或库时,还必须添加公式中引用的站点列。

If I were you, I'd add a column where I LOOKUP the value from the List A, and then use that column for my calculated field in List B. 如果我是你,我会添加一个列,其中我查找列表A中的值,然后将该列用于列表B中的计算字段。

除非在SP Designer上执行某些代码并创建xslt公式filtring,否则不能使用列表B中列表A中的use / loockup计算列

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

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