Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS Add list of users contained in report.

$
0
0

I have a list of users who are selected for the report in a text box with some other selected criteria.

="Agents: " & Join(Parameters!Agents.Label, "; ") & "."& VbCrLf & VbCrLf &
"Clients: " & Join(Parameters!Clients.Label, "; ") & "." & VbCrLf & VbCrLf &
"Date Range: " & Parameters!StartDate.Value & " to " & Parameters!EndDate.Value & ". " &
"Contact Dates in Date Range: " & FormatDateTime(MIN(Fields!ContactDate.Value, "QC"), 2) & " to " & FormatDateTime(MAX(Fields!ContactDate.Value, "QC"), 2) & "." & VbCrLf & VbCrLf &
"Detail Level: " & Parameters!DetailLevel.Label & "." & VbCrLf & VbCrLf &
"Monthly Summary: " & Parameters!Monthly.Label & "."

 

I want to add a list of the user who actually appear on the report. I tried a few things like

"Agents Included: " & Aggregate(Fields!AgentName.Value, "QC") & "."
and
"Agents Included: " & Join(Fields!AgentName.Value, "; ")

but I haven't been able to make it work.

Anyone have any ideas as to how to aggregate the users who are actually in the dataset on the report?


Viewing all articles
Browse latest Browse all 10045

Trending Articles