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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

OLE DB or ODBC : DataFormat.Error We couldnt convert to Number

I am connecting 2 source of datasets, 1 from Salesforce Report and 1 from Excel.

 

Other of my Power BI files when connected to Salesforce the Fiscal Year is in Text format, however this one partifcular Power BI file is pulling Fiscal Year in number format. Can anyone advise the reason behind ?

 

But, when I run Power Query and design the schema relationship this error prompted out : OLE DB or ODBC : DataFormat.Error We couldnt convert to Number

 

I practice the same steps for other Power BI files and they seem to work.

 

Appreciate any expert help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've managed to solved it by removing my initial changed of for date data type from number to text.

I removed it and the original data type for date is back to number.

 

Then it works fine!

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

Does your Fiscal Year column contain any text values? For example, there are spaces during the fiscal year values, if so, Power BI can't convert the column to number format.

In addition, could you please describe more details about" design the schema relationship "? Do you change data type of your column and does the error point any problem value?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I've managed to solved it by removing my initial changed of for date data type from number to text.

I removed it and the original data type for date is back to number.

 

Then it works fine!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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.

Top Solution Authors
Top Kudoed Authors