Before you use a function in DAX, you should always check what it does and what it requires as arguments. Here's what you should consult: DATESYTD – DAX Guide. Programming is strict. You can't throw anything at a function and expect it to work. It doesn't work like that.