DAX doesn't recognize single-line comments within the function any more

MVP

For example,

JustMeausre:=SUM(
	// comment
	JustTable[a] // one more comment
)

doesn't work, only

JustMeausre:=SUM(
	/* comment */
	JustTable[a] /* one more comment */
)

instead. 

Taking into account you practically always within some function single-line comment practically could be only between var and RETURN

 

Is that by design now or just bug? Previously it worked, as well as it's working in Power BI Desktop

4 Replies

Received an answer on another forum Microsoft added that as a bug into the system, will fix one day

It looks like resolved with Excel 16.0.8067.2115

Can you direct me to the blog where this was addressed.

Sorry, after one year I don't remember. Most probably that was TechNet forum but I'm not sure.