pbiplint 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -5
- package/dist/pbiplint.mjs +366 -62
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,12 +60,18 @@ page.json or visual.json (Power BI Desktop keeps it there too):
|
|
|
60
60
|
## What it checks
|
|
61
61
|
|
|
62
62
|
Every rule from the Microsoft Best Practice Analyzer ruleset, ported so the results match Tabular
|
|
63
|
-
Editor on the same model, with
|
|
63
|
+
Editor on the same model, with eleven documented deviations where the source is noisier, or quieter,
|
|
64
64
|
than it means to be; and pbiplint's own rules for a year or a date fixed in DAX, such as a measure
|
|
65
|
-
filtered to 2025 or a date table that ends in 2026,
|
|
66
|
-
calls, has a one-word name, or has no description
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
filtered to 2025 or a date table that ends in 2026, for a DAX user-defined function that nothing
|
|
66
|
+
calls, has a one-word name, or has no description, for a visible name that a translated culture
|
|
67
|
+
gives no caption, and for a visible decimal column with no format string. Four of pbiplint's own
|
|
68
|
+
model rules take their test from Tabular Editor's rules, from Tabular Editor 3's built-in set or the
|
|
69
|
+
community's published rule files, and are checked against Tabular Editor on the same model. Five of
|
|
70
|
+
the Microsoft rules need statistics only a live model has; they are listed but not run. A column
|
|
71
|
+
whose TMDL names no type, as Power BI Desktop saves most calculated columns, is left out of the
|
|
72
|
+
thirteen ported rules that test a column's type, where Tabular Editor reads the type from the
|
|
73
|
+
column's DAX. Each rule has a page at https://pbiplint.com/rules with what it checks, why, how to
|
|
74
|
+
fix it, and quirks.
|
|
69
75
|
|
|
70
76
|
The report layer (PBIR) is read beside the model: a `.Report` folder alone is valid input, and with
|
|
71
77
|
the model beside it the two are paired through `definition.pbir` and checked together. The report
|