You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Expanding a measure inline that has a comment at the end can result in invalid code #1494
I am not sure if this is a bug per se, because I think putting comments at the end of expressions is a bad practice.
If a measure has a comment as the last line, and you expand that measure Inline, if there was a comma after the measure, the comma (or any other code) will get commented out resulting in an invalid expression. See the screenshot.
Tabular Editor 3 Version
3.23.1
Screenshots
The [Margin] measure has a comment at the end of it. Watch what happens when you expand it inline:
Steps to Reproduce
Put a comment at the bottom of a measure
Reference that measure in another measure in a DIVIDE() in the numerator so the comma is affected.
Expand the measure inline
It could also be the denominator. In that case the final parens is commented out. This is just one example.
Expected behavior
What it should do is after the inline expand, everything after it should be moved to another line, not kept on the same line as the last line of code expanded inline.
Activity
otykier commentedon Sep 24, 2025
Thanks for reporting this, Ed. Should be an easy fix :)
jeroenterheerdt commentedon May 27, 2026
I added this to the backlog as we missed it earlier.
mlonsk commentedon Sep 25, 2026
Hi @edhans
This issue has been fixed in Tabular Editor 3.27.0.