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
Hi, not sure is there anyone faced this issue before.
Before this I have no issue using Date(year,month,day) function with DirectQuery(Connect to SQL Server).
Currently it pops up this error:
Cannot construct data type date. some of the arguements have values which are not valid. The exception was raised by the IDbCommand interface.
Can anyone know what is the issue and how to solve it ?
Solved! Go to Solution.
Probably bad data, like February 29th 2023.
Ya, I think this was the issue. I convert the date format via view there is no such issue.
Hi @jitchen ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 135 | |
| 103 | |
| 65 | |
| 61 | |
| 55 |