Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
69 | |
57 | |
37 | |
36 |
User | Count |
---|---|
85 | |
65 | |
60 | |
46 | |
45 |