I have a SSRS report that I am converting to a BAQ report. The SSRS report has a field in the header that list the values that were entered into the bin number parameter using =JOIN(Parameters!Bin.Value, ", ").
The new BAQ report uses a filter so users can enter the bins. I would like to shows the list of bins in the header in the same way as the SSRS report. Example:
Is there a way to do this from the filter?
You’ve got two ways of doing this. Combining your data using SSRS syntax e.g the =JOIN(YourColumn.Value, ", ")
function or using FOR_XML_PATH
within the BAQ. The thread can be found here.
Then on your SSRS you can display the column and it will be displayed `Bin 1, Bin 2 etc"
Use STRING_AGG instead of FOR_XML_PATH if your using SQL 2017 or higher. You’ll find other users on the list having issues with FOR_XML_PATH on their upgrades.
1 Like
Thanks, I’ll give that a try.