Forum Discussion

SergeiBaklan's avatar
May 16, 2017

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

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

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

    • Deleted's avatar
      Deleted

      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.

Resources