Forum Discussion
uaydogdu
3 years agoHelper I
Commenting out single line in DAX formula
Dear All, DAX function doesn't recognize single line comment out in a DAX Formula anymore. We get lots of errors in our tabular model. I've tried "//", "--" and "/* */" Is it a bug ? I aprecia...
- 3 years ago
Hi uaydogdu
I don't have this problem with Power BI Desktop version 2.112.603.0 64-bit (December 2022). See below result:
Where did you have this problem? Can you provide the product and its version information?
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
CigarDoug
2 years agoNew Member
For what it's worth, you can't make the first line a comment. I was trying to create a table, and wanted to try a different way, so I copied the first line and then commented it out, and DAX wouldn't let me save. I moved it below my new line and commented it out and it worked fine.