Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Error while refreshing a PBI report



I am getting this error while refreshing a report: The following system error occurred: Type mismatch. Unable to convert a value to the data type requested for table '<pii>Open Invoices</pii>' column '<pii>FY</pii>'. The data provider was unable to convert the value '<pii></pii>' from the source data type 'VT_BSTR' to the expected data type 'VT_I8'. Please check the column data types in the data model and data source and ensure that the data types are compatible.


I am able to refresh it in the Desktop but not Service. 


I tried changing the data type to whole number but the issue continued. Please assist. 

Super User
Super User

Hi @Aanwar0 ,


I have had this problem in the past as well.  My suggestion is that you change the data type to text.  Then, confirm that there are no nulls, no weird characters or other unexpected data in it.  Then, if it must be a number data type, add ANOTHER STEP - not replace the first one - and convert it to number. 

It sometimes takes a bit a to find the problem.  In the past, I have had to group the trouble field and look for an anomoly.  The worst one for a number was when I had a blank in a number field - which worked fine in desktop but the service choked on it....because it didn't know what to do with a blank in the number field.

Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.

Helpful resources

June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors