Publishing and Refreshing Reports

Publishing Reports to the Power BI Cloud and Configuring Automatic Refresh

After you have created a resource (report, dashboard, etc.) or implemented a Liongard created Power BI Template in Power BI Desktop, you may wish to share it with your colleagues. One way to do that is to publish it to your organization's Power BI Cloud service and install and configure the Microsoft Power BI Gateway to do scheduled refreshes of your report's dataset. To do so, follow the steps below:

Publish Reports to Power BI Cloud

  1. When you are finished with your report and ready to publish it to Power BI online, select the Publish button in the Home ribbon on the far right of the ribbon bar
  1. You will be asked to select a cloud workspace from your account as the destination for your report. You can select any workspace that meets your needs. Then, press Select.

In this example, we will use "My Workspace."

  1. The report will publish in Power BI Cloud. How long this takes is dependent on how many tables and queries are in your report. Once completed, you will get a confirmation message.
  1. Once your report is published, you can log into Power BI and navigate to Workspaces > The workplace selected for your report,, and you will see your newly published report as well as its Dataset(s).

Configure the Gateway and Automatic Data Refresh

Because Liongard uses a custom Power BI connector, the Power BI Gateway must be installed to allow the Power BI service to refresh Liongard Data. This runs as a background service on the machine.

Step 1: Install the Gateway

  1. Download, install, and configure the Microsoft Power BI Gateway from Note: There is a Learn More link on this page for additional information about the Power BI Gateway.

  2. Once installed, sign in and register your gateway to your Microsoft 365 account when prompted.

  1. After your gateway is registered you will need to make sure the gateway recognizes the Liongard connector. Navigate to the Connectors tab in your gateway and adjust the folder path to where your Liongard Data Connector is located. If correct, you should see the Liongard connector populate at the top.


File Permissions

The service account used for the data connector must have full access to the file path in which the connector is installed.

Moving the connector to c:\custom connectors (directory must be created) can alleviate permission issues and can be used as a workaround if permission issues are persistent or if you are unable to view the connector using the gateway.

You may need to restart the Connector after changing the path for the gateway to reflect the new location.

  1. When you have successfully configured the gateway, a message at the top of the Status page should indicate the gateway is online and ready to use.

Configure the Gateway in Power BI Online

  1. Log into Power BI. Navigate to the gear icon in the top right and select Manage gateways
  1. Select the gateway you installed, or want to use, to refresh the reports.
  2. Select the checkboxnext to the setting Allow user's custom data connectors to refresh through this gateway cluster and select Apply.
  1. Next, add a Data Source to your gateway
  1. Set up the new DataSource by filling out the following information:
  • Gateway Cluster Name: Name your gateway cluster
  • Data Source Type: Use the drop-down to select the Liongard Connector
  • Liongard Instance: Select your Liongard Instance Region
  • Account Key: Here you will enter your Base64 encoded key

Once you have entered in the information, select Apply

  1. Next, apply the Data Source to the dataset for your report. Navigate back to your report, Workspaces > The workplace you selected for your report* > Menu of the dataset > Select Settings
  1. Navigate to the Gateway Connection drop-down section and map the correct gateway to the Data Source created in Step 4. Then, click Apply.
  1. Once the gateway is connected and mapped to your Data Source, a schedule can be set for the gateway to keep the report refreshed.

While in the settings for the dataset, open the Scheduled refresh section. Here you can enable and configure the frequency and time of the refresh. Select Apply when finished to save your changes.

  1. You can test if the connector is set up successfully by going back to Workspaces > Your workspace. Select Refresh now on the dataset to trigger the gateway to run through connecting and refreshing the dataset.