Connect Power BI Report to Read Only Replica
Objective
To connect Power BI Report refresh to read only replica server.
Background
The Azure read replica feature allows you to duplicate data from your Procore database. Duplicating your data will cause 'read' operations (report refreshes) to no longer contend with 'write' operations (data syncs) for server resources.
Things to Consider
- Required User Permissions:
- 'Admin' level permissions on the Company level Admin tool.
Steps
- Open a Procore Analytics Report in Power BI .
- Select Transform Data from the Home tab.
- Select the appropriate table.
- Go to the Query Settings panel on the right.
- Click the icon next to Source.
- Select Enable SQL Server Failover support.
- Select OK.
- Optional: For queries where editing the source step is not possible, such as budget queries with parameters, add 'MultiSubnetFailover=true' at the end of the SQL statement.
Note
These options can also be set when connecting to your SQL Server with a program such as SSIS or Azure Data Studio:
- Connect to your SQL Server.
- Click Options then select Additional Connection Parameters.
- Add 'Application=ReadOnly' in the space provided.
- Select Connect.