我有兩個SharePoint列表,我需要從一個報告中檢索數據。共同的字段是主表(Action Items)中的「Request ID」和表(Requests)中的「ID」,以及我需要的字段(Application)。我已經使用這種方法,我在一個解決方案中發現的嘗試:來自兩個SharePoint列表的SSRS報告錯誤
=Join(
LookupSet(
Fields!FirstList_Key.Value,
Fields!SecondList_Key.Value,
Fields!SecondList_DisplayCol.Value,
"Name of Second List")
)
這裏是我的代碼實際上說:
=加入(LookupSet(場Request_ID.Value,菲爾茲ID.Value,菲爾茲!! Application.Value, 「請求」))
但我仍然得到一個錯誤 「爲textrun「Textbox4值表達式..」 包含一個錯誤。請求權限類型'System.Security.Permissions.SecurityPermission ...'失敗。
我不知道接下來要做什麼。