Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Underlying error message: We cannot convert the value "[Binary]" to type Binary

 

Hi, everyone,

 

I have a two data sources one by a gateway and a several Excel files (with the same structure) from SharePoint. All the excel files are coming in i Power BI as one tabel. The repport wich was made in power bi desktop runs well and i can refresh the datasource without an error.

 

The repport is published on power bi service and I receive the following refresh error:

Can someone suggest a solution? Someone how had the same problem?

 

PowerBI error.jpg

2 ACCEPTED SOLUTIONS

@AnonymousI created the the table in Excel (Power Query) and saved it in SharePoint.

View solution in original post

Anonymous
Not applicable

For anyone who is still having this issue, I found the reason for the error to be the "Privacy level" setting in Power BI service. You need to make sure that all your connections where you are appending or merging data have the same privacy level. 

 

This also explain why it would work in Power BI Desktop and not in Power BI Service as they can have different settings.

 Settings.png

Every time I have this error, I check the privacy level of all the credentails and I find that in one of the setting have either changed or not set to begin with

 

Hope this helps others
Nishant

View solution in original post

32 REPLIES 32
Anonymous
Not applicable

Thank you! You are amazing! I had the same issue in Power BI online only; it worked in Power BI desktop. I even tried to use the exact same queries in a dataflow online and received the same errors. So simple! Microsoft should really consider making this error more apparent in the error text.

 

I'm adding the different errors I received to this post so this post will hopefully come to the top when those errors are searched in Bing/Google.

  • Expression.Error: We cannot convert the value "[Binary]" to type Binary
  • Expression.Error: We cannot convert the value "[Record]" to type List
Anonymous
Not applicable

For anyone who is still having this issue, I found the reason for the error to be the "Privacy level" setting in Power BI service. You need to make sure that all your connections where you are appending or merging data have the same privacy level. 

 

This also explain why it would work in Power BI Desktop and not in Power BI Service as they can have different settings.

 Settings.png

Every time I have this error, I check the privacy level of all the credentails and I find that in one of the setting have either changed or not set to begin with

 

Hope this helps others
Nishant

This wooked for me

I will second it, that this above is the fix and should be marked as the answer.

This is the real solution and should be marked as such.

Anonymous
Not applicable

Thanks for this tip. It really works, that was my problem !

Anonymous
Not applicable

this also had happen to us when we upgraded to premium and there were SP excel Files both from old sp and sp online. your solution worked, thanks!

(just updated the data source settings/reloggined) 

Anonymous
Not applicable

Thanks, you really saved my day and lots of hours debugging 🙂

Anonymous
Not applicable

Thanks - fail to comprehend why PBI changes authentication specially in the service. Most confusing as we have 20+ Sharepoint files and folders all using the same authentication and the failure occured with different files/folders.

Anonymous
Not applicable

I believe this is because the credentails expire after certain time (my guess is 3 months). In your case, the credentials to the connection of your files might have been created at different point, suggesting the failure in connection of these at different times. Not sure how true this is though, it's just a guess

Thank you. I solved my issue by applying this method!

Anonymous
Not applicable

Hi,

We have the same problem with refresh error on Power BI service, but working well on desktop:

Error message : "We cannot convert the value "[Binary]" to type Binary"

Bests regards,

Anonymous
Not applicable

I have the exact same problem too!

I load excel files from 2 different SharePoint folders. I then do reference this to a new query, which is not a solution to me apparently... I combined the binaries using the Excel.Workbook() formula to get the Excel files' contents. It works great in PBI Desktop but not by schedule refresh in the service. Annoying!!

Anonymous
Not applicable

I have the same problem, there issue is not actually resolved. 😞

 

 

Update: i came across this issue, that is almost the same as mine. ---  https://community.powerbi.com/t5/Desktop/Formula-Firewall-Query-references-other-queries-so-it-may-n...

 

and there, Mat provided a link to this blog with a solution that actually worked!

Ken Puls article -- https://www.excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination/

 

i hope this will help you too.

More than a year later struggling with the same problem and riri-s suggested link helped with workaround, thanks!

Coline
Frequent Visitor

Hello,

 

I have exactly the same issue.

I didn't find the way to get through this issue.

 

I have 2 type of Data source : Excel File on 365 and Sharepoint Folder.

I have 2 Sources "Sharepoint Folder" to have 2 different tables and I Combine these 2 tables at the end.

My solution was to create a Power Query report combining the files, upload to Power BI Service, schedule the refresh, and use it as the data source for Power BI report.

Anonymous
Not applicable

Hi @sukajalan2 

 

I am digging up this subject because I have the same issue and your solution interests me a lot but I don't know how to load an excel power query report on my power bi service

could you help & explain ? 

 

thx !

@Anonymous  I save the .xlsx file in SharePoint and use it as the data source for Power BI report. I hope this helps.

Anonymous
Not applicable

Yes, thanks for your quick answer !

 

but did you schedule the query refresh of the excel file or is it still a manual action ? 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.