Skip to content

Load data into Power BI

You need two things from the app in Zendesk:

  • A feed URL. On the Datasources tab, select Copy next to the datasource. See Datasources.
  • An API token. Create one on the API Tokens tab and copy it straight away. It’s shown only once. See API tokens.
  1. Open Power BI Desktop and select Get data → OData feed.

    The Get data menu in Power BI Desktop with OData feed highlighted

  2. Paste the feed URL into URL and select OK.

    The OData feed dialog with a feed URL pasted into the URL field

  3. Power BI asks how to sign in. On the left, select Basic.

  4. In User name, type export.

  5. In Password, paste your API token. It starts with zdo_.

  6. In Select which level to apply these settings to, choose the shortest address in the list. Then one token works for all your datasources, and Power BI won’t ask again for each new feed URL.

  7. Select Connect.

    The OData feed credentials dialog with Basic selected, user name export, the token as password, and the host chosen as the level

  8. Tick the tables you need and select Load. To clean up the data first, select Transform Data instead.

    The Power BI navigator listing the Tickets and Users tables with a preview of Tickets

Power BI now loads all the rows. The preview in step 8 shows only the first few, but Load reads everything, so the first load of a large Zendesk account can take a few minutes.

Power BI loading the Tickets table from the feed

You can now build charts and dashboards on your Zendesk data. To start from a finished report instead of a blank page, use the report template. To keep the report up to date on its own, set up a scheduled refresh.

Power BI remembers the token. When it expires or you revoke it, refreshes fail until you enter a new one:

  1. In Power BI Desktop, select File → Options and settings → Data source settings.
  2. Select the feed’s address, then Edit Permissions.
  3. Under Credentials, select Edit, paste the new token and select Save.

If you published the report, update the token in the Power BI Service too. See Scheduled refresh.