Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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