C# Script Library
This section contains official Tabular Editor scripts that have been verified and validated by the Tabular Editor team. These scripts are used in demos, conferences and documentation by the Tabular Editor team, and are maintained here for your convenience. Use of these scripts are still your own responsibility.
There are also other resources online with C# Scripts that are maintained by the community such as PowerBI.tips excellent repository: PowerBI.Tips C# Script Repository and Michael Kovalsky's excellent blog ElegantBI and Repository for Tabular Scripts
Tabular Editor Versions
The top of each article denotes script compatability in TE2.x (Tabular Editor 2) and/or TE3.x (Tabular Editor 3)
Scripting with Tabular Editor as a Power BI External Tool
Note
Some scripts does not work when connected to a Power BI Desktop model, due to the limitations of Power BI Desktop External tools: External Tool Limitations. You can still experiment with the script by enabling unsupported modeling operations under preferences.
"File > Preferences"