Last active
April 6, 2024 03:42
-
-
Save dgosbell/07518d43be479681113953fa543cf7b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ===================================== | |
// Author: Darren Gosbell | |
// Date: 12 Apr 2023 | |
// This script works in Tabular Editor and sets the MaxParallelismPerQuery | |
// setting at the database level. | |
// ===================================== | |
if (Model.Database.CompatibilityLevel < 1569) | |
{ | |
Model.Database.CompatibilityLevel = 1569; | |
} | |
// The max number of parallel SE query for a single Dax query. | |
Model.MaxParallelismPerQuery = 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment