Forum Discussion

Krishna09's avatar
Krishna09
Helper III
3 years ago
Solved

With out changing any dat type----error:- OLE DB or ODBC error: Type mismatch.

Hi All, datasource is hsarepoint. A power BI was already connected to to sharepoint. I have downloaded it and made required changes to it. But, I have not changed any datatype.    When i got to ap...
  • MAwwad's avatar
    3 years ago

    The "Type mismatch" error usually occurs when there is a problem with the data types of the columns in the query.

    Here are a few things you can try to troubleshoot the issue:

    1. Check the data types of the columns in the query. Make sure that the data types are consistent with the data in the source. For example, if a column contains numeric data, make sure that the data type is set to "Whole Number" or "Decimal Number" in the Query Editor.

    2. Check for any errors in the data. Make sure that all values in the columns are of the correct data type. For example, if a column is set to the "Date" data type, make sure that all values in the column are valid dates.

    3. Check for any formatting issues in the data. Make sure that all values in the columns are properly formatted according to the data type. For example, if a column is set to the "Currency" data type, make sure that all values in the column are formatted as currency.

    4. Check for any missing or blank values in the data. Make sure that all required columns have values, and that all values are properly formatted according to the data type.