Here is the following example that I found that does work as a sumif function.
total(
case
when [free of charge flag] = 'FALSE'
then [Total Margin]
else null
end
for [Item Code])
My question is how to replace the 'FALSE' portion and have the expression reflect the [free of charge flag] for that specific row. So as the report builds the total in each row may switch from a total of that item code and the free of charge flag being false to true depending on what is in the specific row.
This fails to run and I believe this may not be possible.