Forum Discussion
DataFormat.Error: We couldn't parse the input provided as a Date value // From a Salesforce Reports
Hi guys,
I get this error and I have no idea what do next. So, I've connected to a report I've created in Salesforce via Salesforce Reports.
So far, so good, right?
Unfortunately, I get this error, and I really need all the date columns in there.
I've tried, in the .pbx file Options /
- Current File / Regional Settings, to switch 'Locale for import' to UK, as opposed to US, but still nothing;
- Current File / Data Load, 'Type Detection', unchecked; still nothing.
Thanks in advance, team!
Alice
6 Replies
- v-juanli-msft
Community Support
Hi AliceW
You can connect to the SalesForce reports from Power BI successfully, right?
But when going to next step(Navigation), there is an error coming out, right?
If so, it seems the "date" column in your data source don't match the format in Power BI.
You could transform the column with Power query.
Here are some similar threads you could refer to.
https://community.powerbi.com/t5/Desktop/Stuck-on-a-date-issue/td-p/428946
Please give me more detail information so that i can make a test and provide a more clear solution.
eg, the two question at the begining of my reply,
what is the column which cause an error?
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- AliceW
Power Participant
Hi Maggie,
I can connect to Salesforce and, yes, the next step, 'Navigation', is blocking everything.
As the table is not displayed at all (the 'Navigation' is the first step), I can't modify the column.
I've looked at the threads you sent, but I can't figure out how to match with what I have...
Thank you!
- v-juanli-msft
Community Support
Hi AliceW
I have tried to reproduce this error, but still can't.
Could you firstly check if you use the lastest version of Power BI Desktop(2.76.5678.782)?
As soon as i find the solution, i will update to you.
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- QueryWhiz
Post Patron
Hi AliceW were you able to find a solution? I've used the Salesforce connector but I had some issues with my data too. As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:
After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:
There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
- metrica
Post Prodigy
Hi AliceW ,
This looks like the Salesforce Reports connector is failing while parsing one of the report date fields during the Navigation step. That is tricky because the table does not load far enough for you to fix the column type in Power Query.
A few things I would try first:
Duplicate the Salesforce report and remove date fields one by one to find the problematic column.
Check for mixed date formats, blank values, text like “N/A”, or locale-specific dates.
If possible, expose the same data through Salesforce Objects, then handle date conversion after the data loads.
Rebuild the report with simple date fields first, then add calculated or formatted date fields later.
Salesforce Reports connector can be fragile here, and it also has the frustrating 2,000-row limit.
Another option is to prepare the Salesforce data before it reaches Power BI.
Power BI Connector for Salesforce by Metrica Software can help:
https://appexchange.salesforce.com/appxListingDetail?listingId=31526f0e-abd8-4cb5-bd1a-3bd56b5c0577It lets you create data sources from Salesforce reports or from selected Salesforce objects and fields, apply filters, preview the output, and connect Power BI to a prepared source. This will not fix Power BI’s native date parser directly, but it can help avoid the Salesforce Reports connector path that fails before the data loads.
Docs and support:
https://metricasoftware.com/docs/salesforce/
https://metricasoftware.com/docs/salesforce/contact-support/Cheers,
Metrica Team