Forum Discussion
gstuart
10 years agoRegular Visitor
Data source error: We're sorry, an error occurred during evaluation.
We have used the Power BI desktop to create a report. The report data source is an external API which requires basic authentication. We have no problem refreshing the data in the Power BI desktop app...
arify
10 years agoMicrosoft Employee
I'm glad I could help :)
dstramilov
10 years agoHelper II
arify could you post solution for this problem please. We are expreincing the same issue.
- arify10 years agoMicrosoft Employee
Hi dstramilov, the solution is already in this thread :) http://community.powerbi.com/t5/Integrations-with-Files-and/Data-source-error-We-re-sorry-an-error-occurred-during/m-p/32796/highlight/true#M3489
Basically, you need to wrap your Web.Contents call with Binary.Buffer like my example in that reply.
- dstramilov10 years agoHelper II
I was able to publish one queries, but if I add several queries to datasaet I am getting error.
In Desktop version it works perfectly. I am using Function to get AuthKEY and pass it to each queries to get data.
I found out that Function is not supported when we publish report & schedule refresh.