TabularEditor / BestPracticeRules

An official collection of standard Rules for use with Tabular Editor's Best Practice Analyzer.
122 stars 53 forks source link

Define format string for visible measures #4

Closed marcosqlbi closed 6 years ago

marcosqlbi commented 7 years ago

Every visible measure should have format string. Automatic number of decimals is a warning, because it is likely to be wrong.

otykier commented 6 years ago

This rule is quite simple:

not IsHidden 
and string.IsNullOrWhitespace(FormatString)

Rule definition