开发者

Crystal Sum with two conditions

开发者 https://www.devze.com 2023-01-28 05:43 出处:网络
I a开发者_运维百科m trying to get summary by two conditions, much like Sumifs function of excel

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

精彩评论

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