Using SSRS 2016 and have inserted a Matrix Report table show / calculate the monthly rate and the total. The monthly rate derived by a LookUp field which looks up the PoolCar and fetches the Daily_Cost from a different DataSet and then multiplied by the Days value field:
= Lookup(Fields!PoolCar.Value, Fields!Registration.Value, Fields!Daily_Cost.Value, "PoolCar_Costs") * Sum(Fields!Days.Value)
However, calculating the sum() of that column does not work.
Any ideas?
I tried to use the Variable option but it does not allow aggregations.
Update:

Lookupand theSum()are on same report. However theDailyRateis from a different DataSet hence why I used the lookup function ... which fetches the values and calculates Days * DailyRate but now how do I sum-up to show total money spend :) - Bucki"The expression used for the calculated field 'MonthlyCost' includes an aggregate, RowNumber, RunningValue, Previous or lookup function. Aggregate, RowNumber, RunningValue, Previous and lookup functions cannot be used in calculated field expressions."- Bucki