Scripts for Tabular Editor 2 & 3. Same period year to date compared with prior year, next year etc . You can also check your dependent measures from the Tabular Editor. Lets go back to Tabular Editor and create a new calculation group. Not only that, a companion calculation group (and even a script to create it) wait for you at TIME INTELLIGENCE DYNAMIC LEGEND IN LINE CHARTS. Then, go to "Project settings" > "Repositories", expand Branches, right-click on the develop branch and choose "Set as default branch". If I drag and drop Total Sales in the Fields pane, the SELECTEDMEASURE function that we used in Tabular Editor will automatically detect that we are using Total Sales. This is what it looks like if want to see the Total Cost. To solve this issue, you can run the following script on your model, to replace the power query partitions with corresponding native SQL query partitions, and to create a legacy (provider) data source on the model, which will work with Tabular Editor's Import Data wizard: There are two versions of the script: The first one uses the MSOLEDBSQL provider for the created legacy data source, and hardcoded credentials. This snippet uses the .AddMeasure(