Not all Syntax errors are reported when editing measures from a model


As a test I wrapped an existing measure in CALCULATE( <measure> , ) which had a missing second parameter. This breaks the formatting, the syntax error is reported in daxformatter.com, but that does not pass through to DAXEditor. It would be nice to surface errors from daxformatter.com through to Visual Studio somehow

file attachments


nickolaim wrote Apr 17, 2014 at 3:46 AM

I've fixed it, I think it is more informative in DAX Editor then in DAXFormatter.com. See attached image.

wrote Apr 17, 2014 at 3:46 AM

nickolaim wrote Apr 17, 2014 at 3:47 AM

They way I fixed it is not the way you asked, you don't need to format to get this error.