Describe the issue
I use the Short Line preference for both the service and the built in formatter, and there are a number of places the built in formatter puts extra breaks, especially before operators, that I think are unnecessary and IMHO make the code harder to read. See the two images.
The top image is from the internal formatter, the bottom from the service.
Overall:
varCurrentYYYMM is 3 lines vs 1. If a function has one option, it should be one line. It should only break a function into multiple lines if it has 2+ options.
var6MonthsAgo is 1 line vs 4. I am ok with 1, but 4 seems consistent with breaking after each comma and having the options on separate lines when there is more than 1. I could be persuaded that 2 options are fine to put on one line though, especially when the 2nd option is an integer or some other constant.
var6MonthsAgoYYYYMM is 5 lines vs 4. I think it is unnecessary to break at the equals sign, and harder to read.
var6MonthsRange is 8 lines vs 6 - again unnecessary breaks at the operators
Which version are you currently using?
Tabular 3.9 Enterprise
Power BI Service and Desktop
My DAX Editor preferences, only checking or unchecking the "Use daxformatter.com" box between the taking of those images.
Describe the issue I use the Short Line preference for both the service and the built in formatter, and there are a number of places the built in formatter puts extra breaks, especially before operators, that I think are unnecessary and IMHO make the code harder to read. See the two images. The top image is from the internal formatter, the bottom from the service.
Overall:
Which version are you currently using? Tabular 3.9 Enterprise
Power BI Service and Desktop
My DAX Editor preferences, only checking or unchecking the "Use daxformatter.com" box between the taking of those images.