Hi,
This is partially correct. I tried using this expression:
=Sum(Fields!CCA.Value, "DataSet2")
But the problem here is it will get the sum of all columns and I want to get the sum based on the selected campaignid so I tried this as well:
=SUM(IIF(Fields!ldcampaign.Value = LOOKUP(Fields!campaignid.Value, Fields!ldcampaign.Value,
Fields!ldcampaign.Value, "DataSet2"), Fields!CCA.Value, 0), "DataSet2")
Where:
DataSet1 - campaignid
DataSet2 - ldcampaign,CCA