Skip to main content
All CollectionsConnect your spreadsheetsBuild widgets from spreadsheets
Export Power BI data to Excel and display in Geckoboard using Spreadsheets
Export Power BI data to Excel and display in Geckoboard using Spreadsheets

Learn how to bring Power BI data into your dashboard.

Updated over a week ago

If you'd like to bring Power BI data into Geckoboard, we recommend that you export your reports to Excel and connect the resulting spreadsheet to Geckoboard to display your data.

Please note that the exact steps and options may vary from what is outlined below, depending on your Power BI and Excel versions.

Display Power BI data in Geckoboard

  1. Connect Power BI to Excel: In Power BI, you can connect to your data source and create a report or dashboard.

    1. From the File menu, select Export, then Analyze in Excel.

  2. Set up automatic refresh in Power BI: Power BI offers a feature called Scheduled Refresh that allows you to automatically refresh the data in your report or dashboard at specific intervals.

    1. To enable this, go to the Dataset settings in Power BI.

    2. Navigate to the Scheduled Refresh section and configure the refresh frequency to every 15 minutes.

  3. Save the Excel file to OneDrive or SharePoint: To ensure easy access and collaboration, open the Excel file and save it to OneDrive or SharePoint. These cloud storage platforms allow automatic syncing and can be accessed from multiple devices.

  4. Build visualizations from your data in Geckoboard: With the Excel file stored in OneDrive or SharePoint, you can use Geckoboard's Spreadsheets data source to connect with these services and bring the the Power BI data into Geckoboard.

    1. Learn how to connect to OneDrive for Business.

    2. Or, learn how to connect to Sharepoint.

  5. Configure the spreadsheet data to refresh automatically with Power Automate: To ensure the data in your Excel file refreshes without having to open the file, you can set up a script using Power Automate.

    1. While still viewing your Excel file, create the script by going to Automate > All Scripts > New Script.

    2. Then, add the following script:

      1. function main(workbook: ExcelScript.Workbook) {
        let worksheet = workbook.getWorksheet("Sheet1");

        // Get the cells at A1 and B1.
        let dateRange = worksheet.getRange("A1");
        let timeRange = worksheet.getRange("B1");

        // Get the current date and time using the JavaScript Date object.
        let date = new Date(Date.now());

        // Add the date string to A1.
        dateRange.setValue(date.toLocaleDateString());

        // Add the time string to B1.
        timeRange.setValue(date.toLocaleTimeString());
        }
      2. The script above enters the current date and time into cells A1 and A2, forcing the spreadsheet to refresh. You can change the sheet name and destination cells as required.

  6. Using Power Automate, create a new flow to automate the script.

    1. In the first step, set the refresh interval.

    2. In the second step, select your Excel file and the script you created earlier.

    3. Save the flow.

Did this answer your question?