Question

In this question it answered how to add two different datasets, SSRS - Expression using different dataset fields

I tried that kind of approach and here is my expression

=First(Fields!count.Value, "remclass1")+First(Fields!count.Value, "db_IACS")

the problem is that only the first value is being Calculated like this aa

I added the Pulled out COUNT to the Expired Count, i want it to be added per Row only the first part

For instance:

Column 7 (Count) = Column1(Count) + Column 4 (count) //**per Row**
The value of row 1 column 7 would be column 1 + column 4 row 1
the value of row 2 column 7 would be column 1 + column 4 row 2

The Pulled out table (Consists of Count, Grams, Principal) are on the data set db_IACS and the Expired table(Consists of Count,Grams,Prinicipal) are in the dataset remclass1

So any help how to do it? how to add the two columns (in a different dataset)

Thanks :)

Was it helpful?

Solution

You could do this in SQL, as follows:

SELECT db_IACS.count as PulledOut_Count, db_IACS.Grams AS PulledOut_Grams, db_IACS.Principle AS PulledOut_Principle,
    remclass1.count as remclass1_Count, remclass1.Grams AS remclass1_Grams, remclass1.Principle AS remclass1_Principle
FROM db_AICS
LEFT OUTER JOIN remclass1 ON db_IACS.Id = remclass1.Id

Then just deal with everything in the one dataset.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top