https://www.sqlservercentral.com/articles/data-driven-subscription-workaround
Ray Barley's SSRS Notes
Tuesday, May 30, 2023
Tuesday, February 23, 2021
Footer
="Report Executed At: " & Globals!ExecutionTime
="Run By: " & User!UserID
="Data Last Refreshed: " & First(Fields!LAST_REFRESH_DATE.Value, "LastRefreshDateTime")
Wednesday, February 10, 2021
Tuesday, January 26, 2021
Code to Get Current User
Add a hidden parameter Report_User
Add custom code:
Public
Function GetUser() as String
Try
return
Report.User!UserID.ToLower()
Catch
Return
"sqllogin"
End
Try
End
Function
Show Heading on Every Page
Click the glyph on Column Groups and select Advanced
Click the first (Static) row under Row Groups
Set Other Properties:
DataElementOutput: Auto
FixedData: True
hideIfNoRows: False
KeepTogether: False
KeepWithGroup: After
RepeatOnNewPage: True
Subscribe to:
Posts (Atom)