Forum Discussion

Urid1969's avatar
Urid1969
Helper I
8 years ago
Solved

Dynamically change data source

Hello We are about to develop report to the five clients that each has its own SQL Server (5 counties) with the diff database name BUT identical schema. We have a table that contains the server name...
  • stretcharm's avatar
    stretcharm
    8 years ago

    Not sure you can have the users select the server and it change dynamically. If your using the cloud version then you cannot change parameters on a published report.

     

    The only way that would work is if you had 5 sets of queries for each of the server/dbs that are all merged and then filtered by the users or using row level security.

     

    The other option is a sort of menu that links them to the relevant dashboard based on the selection.

     

    Download the SSIS Dashboard for my example and look at the queries for an example of a parameterised Server and db.