How do I use the "Get Values From Database" interface in PBRS?

The "Get Values From Database" interface helps you to connect to and build queries to extract the information you need from a database. It is used in various parts of PBRS where database information is needed.

Get Values from Database

Get Values from Database SQL Server Account
  • The "Get Values From Database" interface helps you to connect to and build queries to extract the information you need from a database. It is used in various parts of PBRS where database information is needed.
  • You can either use an ODBC Connection or select an SQL Server Account to connect to the database.

ODBC DSN

ODBC DSN Get Values from Database option

  • DSN Name: Drop down and select a DSN.

We strongly recommend System DSNs so that the DSN is visible to PBRS even when the user associated with the DSN is logged off.


All communication to databases (including Access databases) is done through ODBC, so you must setup a system DSN to the database before you can use this facility.


When setting up DSNs we recommend (if possible) that you use Windows Authentication (Trusted Connection). This ensures that your username and password are not required to be stored in PBRS (more secure) and overcomes a large number of security restrictions which Windows places on DSNs.


When using Windows Authentication, make sure that the PBRS NT Service user (or background application service user) has full rights to the database otherwise, though you will connect when you are logged in, automated scheduling will fail if the Service user has not got rights to the database.


When setting up a DSN to a SQL server, you must ensure that the "Default Database" setting is set to the database you are connecting to (Windows defaults this to "Master").

  • UserID: Enter the User ID PBRS should use to log on to the database.
  • Password: Enter the password associated with the above user.
  • Remember Credentials: Check this option to remember the UserID and Password of the selected DSN.
  • Click Connect to connect to the data source.
  • Select the table from the database that holds the required data. You can refine your selection query by using the simple or advanced tabs.
Get values from database PBRS
  • Click Parse
  • PBRS will display a list of results. Based on your Criteria PBRS will use the returned data to run the report.
Power BI and SSRS. Get Values from Database interface in PBRS.
  • Click Yes
Power BI and SSRS. Get Values from Database interface in PBRS.

SQL Server Account

SQL Server Account Get Values from Database option

  • SQL Server Account: Use the drop-down menu to select the SQL Server Account.

You must add your SQL Server Account in Integrations Library to use this option.

  • Click Connect to connect to the data source.
  • Select the table from the database that holds the required data. You can refine your selection query by using simple or advanced tabs.
  • PBRS will display a list of results. Based on your Criteria PBRS will use the returned data to run the report.
Power BI and SSRS. Get Values from Database interface in PBRS.
  • Click Yes
Power BI and SSRS. Get Values from Database interface in PBRS.