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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Javier-Fraile
New Member

Error refreshing my report - but same source file works fine as excel

I am feeding a report in 2 different ways just for testing purposes:

Mode 1 - Excel source as a local file. This one works fine.

Mode 2 - Same excel source in a Teams folder. Using SharePoint source 

= SharePoint.Files("http://......",[ApiVersion = 15])

This mode doesn't work when I hit refresh raising the following error

  • Data source errorDataFormat.Error: We couldn't convert to Number.. <ccon>Amount (converted). </ccon>;We couldn't convert to Number.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. Table: ALL_Opportunities.
  • Cluster ***************************-redirect.analysis.windows.net
  • Activity *****************************************
  • Request ***********************************
  • Time2023-06-12 09:15:50Z

JavierFraile_0-1686584577028.png

I don't see how can I identify where the error is, as I don't see anything but the error description added above, which doesn't make sense as the same excel file is working fine in local mode.

Any tips?.

Thanks.

 

5 REPLIES 5
Javier-Fraile
New Member

Back to same issue ☹️
When I refresh using the Power Bi desktop, it works fine.

When I refresh on https://app.powerbi.com/ it doesn't work raising the following error.

My question is not only if someone has seen this before, but also how to debug the server, because the error doesn't make sense.

ERROR DESCRIPTION
DataFormat.Error: We couldn't convert to Number.. <ccon>Amount (converted). </ccon>;We couldn't convert to Number.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. Table: ALL_Opportunities.

lbendlin
Super User
Super User

Are you connecting to sheets or tables ?

Hi Ibendlin,

Thanks for your response.

Let me add that this morning for the first time I could complete the refresh of the excel sheet located on sharepoint successfully.

The transform File states this, so I guess it's a Sheet.

 

= (Parameter1 as binary) => let
Source = Excel.Workbook(Parameter1, null, true),
#"DSS All Opportunities >2019 SPM_Sheet" = Source{[Item="DSS All Opportunities >2019 SPM",Kind="Sheet"]}[Data]
in
#"DSS All Opportunities >2019 SPM_Sheet"

If it is a sheet then it is your responsibility to indicate to Powr Query how to classify each column - after you promoted the headers.

Yes, I just led the system promote the columns as the names as well.
Right now I've just refreshed the report for the second time and it ended successfully, I'd say this is resolved.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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