Merge branch 'master' of https://github.com/microsoft/Analysis-Services
This commit is contained in:
commit
db8d466d3f
@ -275,7 +275,7 @@
|
|||||||
"Description": "Use the DIVIDE function instead of using \"/\". The DIVIDE function resolves divide-by-zero cases. As such, it is recommended to use to avoid errors. \r\nReference: https://docs.microsoft.com/en-us/power-bi/guidance/dax-divide-function-operator",
|
"Description": "Use the DIVIDE function instead of using \"/\". The DIVIDE function resolves divide-by-zero cases. As such, it is recommended to use to avoid errors. \r\nReference: https://docs.microsoft.com/en-us/power-bi/guidance/dax-divide-function-operator",
|
||||||
"Severity": 2,
|
"Severity": 2,
|
||||||
"Scope": "Measure, CalculatedColumn, CalculationItem",
|
"Scope": "Measure, CalculatedColumn, CalculationItem",
|
||||||
"Expression": "RegEx.IsMatch(Expression,\"\\]\\s*\\/\")\r\nor\r\nRegEx.IsMatch(Expression,\"\\)\\s*\\/\")",
|
"Expression": "RegEx.IsMatch(Expression,\"\\]\\s*\\/(?!\\/)(?!\\*)\")\r\nor\r\nRegEx.IsMatch(Expression,\"\\)\\s*\\/(?!\\/)(?!\\*)\")",
|
||||||
"CompatibilityLevel": 1200
|
"CompatibilityLevel": 1200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -74,6 +74,10 @@ w.DownloadFile(url, downloadLoc);
|
|||||||
|
|
||||||
## Version History
|
## Version History
|
||||||
|
|
||||||
|
* 2021-06-13 Version 1.1.2
|
||||||
|
* Modified Rules
|
||||||
|
* [DAX Expressions] Use the DIVIDE function for division
|
||||||
|
* Updated the rule logic to not mistake comments for division
|
||||||
* 2021-05-26 Version 1.1.1
|
* 2021-05-26 Version 1.1.1
|
||||||
* Modified Rules
|
* Modified Rules
|
||||||
* [DAX Expressions] Inactive relationships that are never activated
|
* [DAX Expressions] Inactive relationships that are never activated
|
||||||
|
Loading…
Reference in New Issue
Block a user