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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors