We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get this error as per the title when running the below script - which works in TE2
// https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules using TabularEditor.BestPracticeAnalyzer; var bpa = new Analyzer(); bpa.SetModel(Model); var sb = new System.Text.StringBuilder(); string newline = Environment.NewLine; sb.Append("RuleCategory" + '\t' + "RuleName" + '\t' + "ObjectName" + '\t' + "ObjectType" + '\t' + "RuleSeverity" + '\t' + "HasFixExpression" + newline); foreach (var a in bpa.AnalyzeAll().ToList()) { sb.Append(a.Rule.Category + '\t' + a.RuleName + '\t' + a.ObjectName + '\t' + a.ObjectType + '\t' + a.Rule.Severity + '\t' + a.CanFix + newline); } sb.Output();
The text was updated successfully, but these errors were encountered:
3.0.6 now allows using the Best Practice Analyzer through a script.
However, you have to change the using statement at the top of the script, since it now resides in a different namespace:
using
using TabularEditor.Shared.BPA;
Sorry, something went wrong.
No branches or pull requests
I get this error as per the title when running the below script - which works in TE2
The text was updated successfully, but these errors were encountered: