Optimal Data Engine
Everybody talks a different language When we decided to start building ODE we knew a few things already. One of those things was that most of our customers already had data warehousing technology. They had already…
Read moreArticle

In a previous OptimalBI project, we had to access a MySQL database on a remote server from Microsoft Power BI to provide some insights on the key tables. However, the database was configured to not allow direct access from remote servers for security reasons. To access the database we used an SSH tunnel; a secure way to access a computer over an unsecured network. SSH tunnels allow connections made to a local port to be forwarded to a remote machine via a secure channel.
Here are the steps we followed to establish this connection.




Once a successful connection has been established you can access the database from Power BI desktop by going to localhost:3306 (the local port number mentioned in previous steps) and enter the database name.
This section describes the data refresh options available for the on-premise data source. Once you have all the reports ready and published to Power BI service there is no option to refresh the data directly from Power BI service as there is no connection between the reports running online and the database sitting on remote server. For this you will need to install and set up an on premise data gateway which you can install from the below link.
https://powerbi.microsoft.com/en-us/gateway/
Run the installer and select appropriate gateway installation type. There are two options,
Once you have the installation completed go to Power BI service and go to Settings-> Manage gateways on the top right corner and create new data source. 


Then go to Power BI service -> Settings -> Datasets and go to gateway connection and map the dataset to the right gateway connection. 
The data is ready to be refreshed from Power BI service now. To schedule a refresh turn on the “Schedule refresh option and choose daily or weekly refresh as required.
Everybody talks a different language When we decided to start building ODE we knew a few things already. One of those things was that most of our customers already had data warehousing technology. They had already…
Read more
The Ensemble Logical Model is an enterprise-wide business model which, in an agile way, maps the business concepts within a given organization into an agile and adaptable model. – Remco Broekmans, LLC Author of ‘from Stories to Solutions’…
Read moreSquareweave is now Ackama.
We've merged with New Zealand company Ackama!
We're excited to be working with our Kiwi colleagues to deliver ambitious, purposeful digital products on both sides of the Tasman.
Common Code is now part of Ackama.
We’re now part of Ackama, delivering purposeful technology across the Asia-Pacific.
Together, we’re creating impact across energy, government, international development, and beyond. Delivering pragmatic, innovative solutions where they matter most.