In the dataset of a Power BI report, you have to choose the gateway and the data source to use to refresh the data.
- Go to the dataset, click on the button […] and choose Settings.
- Expand the option ‘Gateway connection’.
- Click on the button next to the gateway and select in the dropdown ’Maps to’ your created datasource.
- Click on Apply.
- Check if the option ‘Data source credentials’ has a text ‘(admin has granted access, credentials are not required)’ shown. The connection is then configured correctly.
Check if the connection is working fine, by manually refreshing the dataset. If the refresh is succeeded you can also set up the scheduled refresh.