Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Dear Community users,
i am getting error while writing python script in powerbi desktop
below is my input and i need Forecast for next 365 days .
my date is in datetime format
below is my error :
DataSource.Error: ADO.NET: Python script error.
<pi>ValueError: time data "2022-10-03T00:00:00.0000000" doesn't match format "%d/%m/%Y %H:%M:%S", at position 0. You might want to try:
- passing `format` if your strings have a consistent format;
- passing `format='ISO8601'` if your strings are all ISO8601 but not necessarily in exactly the same format;
- passing `format='mixed'`, and the format will be inferred for each element individually. You might want to use `dayfirst` alongside this.
</pi>
Thanks in advance!
Your date is in format year month day(%y%m%d) and it is expected day month year (%d%m%y). 2022 would never be an acceptable value for a day
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |