我需要創建一個基於兩個數據集,即數據集1和數據集2的增量報告。 如果DataSet1中的任何字段值有任何更改,我需要將DataSet2作爲參考。我需要更改文本框的顏色。 任何人都可以幫我在這裏我寫了一些代碼,但它拋出錯誤。ssrs嵌套IIF來比較兩個數據集
=IIF(Fields!CIF.value, "DataSet1" = Fields!CIF.value, "DataSet2" AND Fields!Account_ID.value,"DataSet1" = Fields!Account_ID.value,"DataSet2",
IIF(Fields!Account_balance.value, "DataSet1" <> Fields!Account_balance.value, "DataSet2","Yellow","Transparent"),"Transparent","Transparent")