Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Everyone,
I'm getting data from a SharePoint folder from xlsx tables, everything works fine till I Apply changes, it gives me this error
"OLE DB or ODBC error: [DataFormat.Error] Format error in package.. An unexpected exception occurred."
I checked every step in the power query and noticed that this error occurs when loading more data while filtering a column and this error starts from expanding step
Also, I checked the regional format for these xlsx files and they are the same
Anyone can help!!!
Solved! Go to Solution.
Hi @Anonymous ,
You may use try...otherwise to handle such an error, like:
= Table.TransformColumns(Source, {{"column name",each try DateTime.FromText(_) otherwise null, type datetime}})
A similar thread:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You may use try...otherwise to handle such an error, like:
= Table.TransformColumns(Source, {{"column name",each try DateTime.FromText(_) otherwise null, type datetime}})
A similar thread:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot Eyelyn, it works
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |