we currently work on an project to distribute reports generated from SSRS, the report is target to different database with different survey list(each database have different list of survey), so we use Expression-based Connection Strings(dynamic connection) in the report design.
expression for connection:
="data source=ServerName;initial catalog=" & Parameters!DatabaseName.Value
the parameter are databaseName and surveyId.
databaseName: name of the target database, which is used in the data source connection.
surveyId: survey Identity, its available values are update based on the databaseName parameter.
we use the report buider to design the report, and it works fine in the report builder, survey list updated after change databaseName.
BUT after upload the RDL file to SSRS service, the report cannot change the databaseName parameter from web portal, always stick on the default value.
please let me know how to make the parameter works in the SSRS web portal, is there something wrong with the datasource connectionstring?
BTW: we use report builder 2016 and SQL server 2016, the databases are Azure SQL database.
Thanks in advance.