You can add custom code to the report. There are some examples in this link .
Theoretically, you should be able to write some code like this, and then use the return value to show / hide what you want. However, you may have rights issues with this method.
Public Function ShouldReportBeHidden() As Boolean
Dim Principal As New System.Security.Principal.WindowsPrincipal(System.Security.Principal.WindowsIdentity.GetCurrent())
If (Principal.IsInRole("MyADGroup")) Then
Return False
Else
Return True
End If
End Function
Alternatively , you can add your detail report as a summary report of your summary report. You can then use the built-in security features for SSRS to restrict access to your report.
source
share