Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rule Submit] Fix Disable Attribute Hierarchies #33

Open
mlonsk opened this issue Apr 16, 2020 · 4 comments
Open

[Rule Submit] Fix Disable Attribute Hierarchies #33

mlonsk opened this issue Apr 16, 2020 · 4 comments

Comments

@mlonsk
Copy link

mlonsk commented Apr 16, 2020

Hi

The rule Disable Attribute Hierarchies should have a minimum compatibility level of 1470 as this is only available in SSAS 2017 after SP2

{
"ID": "DISABLE_ATTRIBUTE_HIERACHIES",
"Name": "Disable attribute hierachies to decrease processing",
"Category": "Metadata",
"Description": "Disable Attribute hierarchies for hidden collumns. This will ensure faster processing.",
"Severity": 2,
"Scope": "DataColumn",
"Expression": " IsHidden \n\nand (IsAvailableInMDX == TRUE)\n\nand (not UsedInHierarchies.Any())",
"FixExpression": "IsAvailableInMDX = false",
"CompatibilityLevel": 1470
}

@otykier
Copy link
Collaborator

otykier commented Apr 16, 2020

I believe CL 1400 should be enough, no?

@mlonsk
Copy link
Author

mlonsk commented Apr 16, 2020

I have a client with SSAS 2017 CU1 (compatibility leve 1400) where this rule should not be applied.

(Perhaps I should get them to update to a SP2 though ;) )

@Daandamhuis
Copy link

Somewhat related... Is it possible to add another check? I found out the hard way that if a Column is hidden, and used for sorting another column it will not deploy if the property is set to "IsAvailableInMDX" is false for the sorting column.

@Daandamhuis
Copy link

#37: Added via a Pull Request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants