问题
I have two tables each with a separate DataSource. Table1 has a total column at the bottom. In my Table2, I want to point a row in Table2 to the Total column in DataSet1. I tried using this: which is field name, and dataset name. What would allow this to happen if at all?
=Sum(Fields!TotalCount.Value, "SalesTotals")
回答1:
What you have should work just fine...or to reference a total column in the other table, you can reference the report item itself. For example, if the name of the cell that holds the totals in Table1 is txtTable1Total, then your formula in the cell in Table2 would look like this:
=ReportItems!txtTable1Total.Value
来源:https://stackoverflow.com/questions/21098718/reference-field-in-table1-from-table2