将此公式转换为 SQL

Translating this formula to SQL

我在报告的字段之一中有这个公式:

Sum ({@MarketValue}, {IA.AS_AT_DATE}, "daily")

但我不确定这里的意图是什么或者 "daily" 在这种情况下做了什么。

有什么想法吗?

我觉得这篇写的很烂。认为有人将 agg 列称为 'daily'

根据:

http://scn.sap.com/thread/910242

Sum (fld, condFld, cond)

fld is any valid database or formula field that can be evaluated by the function. condFld is a field used to group the values in fld by. cond is a String indicating the type of grouping for condFld. You only specify this argument when condFld is a Date, Time, DateTime or Boolean field. For more information on the valid strings for this argument, see Conditions for summary functions.

表示:

对按 day 分组的 @MarketValue 求和(daily{IA.AS_AT_DATE} 上分组。