Hello,
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.
Solved! Go to Solution.
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.
Proud to be a Datanaut!
Private message me for consulting or training needs.
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.
Proud to be a Datanaut!
Private message me for consulting or training needs.