Forum Discussion
Anonymous
7 years agoNot applicable
'Unable to connect to data source undefined'
Trying to refresh a dataset from 3 different sources - two are databases within the same server and then one additional server. All have been set up with the gateway I'm using. I haven't seen the...
freder1ck
7 years agoKudo Kingpin
After the June 2019 update...
* remove orphaned queries with old data sources even if they don’t in any way get loaded (always a good idea)
* make sure if hitting two databases that they use the same windows credentials.
* remove any queries that trigger the “”hand authored queries” warning
* remove orphaned queries with old data sources even if they don’t in any way get loaded (always a good idea)
* make sure if hitting two databases that they use the same windows credentials.
* remove any queries that trigger the “”hand authored queries” warning
SoniaB102
7 years agoAdvocate I
Thanks freder1ck. I don't beleive that would have been the cause of the refresh because:
* I don't think we would have orphaned queries
* Most dashboards only use one database
* I have never seen this error: “”hand authored queries”
However potentially this will work for other people.
In the end, we built a script and a lambda that refreshed each dashboard every morning rather than using scheduled refresh in powerbi. This script keeps trying to refresh until successful. Since building that script we do not often have to try more than once to refresh and have no errors.