An open API service indexing awesome lists of open source software.

https://github.com/filcuk/ssas-best-practice-rules

Analysis Services BPA customised for UK/EU
https://github.com/filcuk/ssas-best-practice-rules

analysis-services bpa microsoft powerbi ssas tabular-editor

Last synced: 1 day ago
JSON representation

Analysis Services BPA customised for UK/EU

Awesome Lists containing this project

README

          

## Differences compared to MS BPA rules

```bash
git diff --no-index BPARules.json microsoft/BestPracticeRules/BPARules.json
```

```git
@@ -593,11 +593,11 @@
"ID": "DATECOLUMN_FORMATSTRING",
"Name": "[Formatting] Provide format string for \"Date\" columns",
"Category": "Formatting",
- "Description": "Columns of type \"DateTime\" that have \"Month\" in their names should be formatted as \"dd/mm/yyyy\".",
+ "Description": "Columns of type \"DateTime\" that have \"Month\" in their names should be formatted as \"mm/dd/yyyy\".",
"Severity": 1,
"Scope": "DataColumn, CalculatedColumn, CalculatedTableColumn",
- "Expression": "Name.IndexOf(\"Date\", \"OrdinalIgnoreCase\") >= 0 \r\nand \r\nDataType = \"DateTime\" \r\nand \r\nFormatString <> \"dd/mm/yyyy\"",
- "FixExpression": "FormatString = \"dd/mm/yyyy\"",
+ "Expression": "Name.IndexOf(\"Date\", \"OrdinalIgnoreCase\") >= 0 \r\nand \r\nDataType = \"DateTime\" \r\nand \r\nFormatString <> \"mm/dd/yyyy\"",
+ "FixExpression": "FormatString = \"mm/dd/yyyy\"",
"CompatibilityLevel": 1200
},
{
@@ -648,7 +648,7 @@
"Category": "Formatting",
"Severity": 2,
"Scope": "Measure",
- "Expression": "DataType == DataType.Int64 and not FormatString.Contains(\"$\") and not FormatString.Contains(\"%\") and not (FormatString = \"#,0\" or FormatString = \"#,0.0\")",
+ "Expression": "not FormatString.Contains(\"$\") and not FormatString.Contains(\"%\") and not (FormatString = \"#,0\" or FormatString = \"#,0.0\")",
"FixExpression": "FormatString = \"#,0\"",
"CompatibilityLevel": 1200
},
```