开发者

Crystal Sum with two conditions

I a开发者_运维百科m trying to get summary by two conditions, much like Sumifs function of excel Like - Sum(Total_Costs) where Region = 4 and Currency = USD. Thanks in advance


You will have to create a Formula called @Region4USD

Something like

if ({YourReport.Region} = 4 and {YourReport.Curency} = "USD") then
    {YourReport.Total_Cost}
else
    0

Then create a SUM on the formula


You can create a running total. That way, you have the option of using the "Evaluate" section to use your own conditions when you click on the "Use formula" option.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜