Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Powerbi Te Docs

ASecurity

Look up Tabular Editor (TE2 / TE3) documentation — C# scripting cookbook, BPA rule reference, CLI flags, dynamic format strings, calculation groups, TOM/TMSL APIs. Automatically invoke when the user asks about a Tabular Editor feature, scripting recipe, BPA rule, CLI flag, calculation group syntax, dynamic format string, or quotes a TE error message; or mentions Tabular Editor, TE2, TE3, ScriptHelper, Model.Tables, Selected.Measures, or TOMWrapper.

3 stars
0 votes
0 copies
0 views
Added 10/6/2026
datagoc#shellexpressdebugginggitapidatabasedocumentation

Works with

cliapi

Security Analysis

A100/100

Scanned 10/6/2026

$npx -y skills add santoshkanthety/powerbi-agent --skill powerbi-te-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Powerbi Te Docs?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Powerbi Te Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/santoshkanthety-powerbi-te-docs/badge)](https://www.skillsdirectory.com/skills/santoshkanthety-powerbi-te-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: powerbi-te-docs
description: Look up Tabular Editor (TE2 / TE3) documentation — C# scripting cookbook, BPA rule reference, CLI flags, dynamic format strings, calculation groups, TOM/TMSL APIs. Automatically invoke when the user asks about a Tabular Editor feature, scripting recipe, BPA rule, CLI flag, calculation group syntax, dynamic format string, or quotes a TE error message; or mentions Tabular Editor, TE2, TE3, ScriptHelper, Model.Tables, Selected.Measures, or TOMWrapper.
license: MIT
---

# Tabular Editor documentation lookup

Tabular Editor has two distributions and two doc sites; pick the right one before quoting features or syntax.

## Distributions

| | TE2 | TE3 |
|---|---|---|
| Origin | Open source (MIT) | Commercial |
| Docs root | https://docs.tabulareditor.com/te2/ | https://docs.tabulareditor.com/te3/ |
| GitHub | https://github.com/TabularEditor/TabularEditor | closed source |
| TOMWrapper | https://github.com/TabularEditor/TOMWrapper | shared abstraction layer |
| Best fit | CI, free scripting, BPA in pipelines | Daily authoring, DAX debugging, calculation-group editor, TMDL, advanced UX |
| CLI | `TabularEditor.exe` | `TabularEditor3.exe` |

If the user runs `te2-cli` or invokes `pbi-agent` skills that shell out to the CLI, default to TE2 unless they specify TE3 — TE2 is what we install and what runs in CI.

## Where to look up what

| Question | Section | URL |
|---|---|---|
| C# scripting recipe (e.g. "how do I bulk-add measures") | Advanced Scripting | https://docs.tabulareditor.com/te2/Advanced-Scripting.html |
| `Selected.Measures`, `Selected.Tables` etc. | Selection helpers | https://docs.tabulareditor.com/te2/Useful-script-snippets.html |
| BPA rule expressions (`Expression`, `Severity`) | Best Practice Analyzer | https://docs.tabulareditor.com/te2/Best-Practice-Analyzer.html |
| BPA standard ruleset | Microsoft Analysis Services GitHub | https://github.com/microsoft/Analysis-Services/tree/master/BestPracticeRules |
| CLI flags (`-D`, `-B`, `-S`, `-V`) | Command-line | https://docs.tabulareditor.com/te2/Command-line-Options.html |
| TMSL deploy gotchas (PartitionTableMismatch etc.) | Deploy & Save | https://docs.tabulareditor.com/te2/Save-Options.html |
| Dynamic format strings | TE3 only — feature page | https://docs.tabulareditor.com/te3/dynamic-format-strings/ |
| Calculation groups | both, but TE3 has the editor | https://docs.tabulareditor.com/te3/calculation-groups/ |
| TOMWrapper API surface (`Model`, `Table`, `Measure`, `Hierarchy` …) | inline IntelliSense + source on GitHub | https://github.com/TabularEditor/TOMWrapper/tree/master/TOMWrapper |

## Common scripting recipes

```csharp
// Bulk-create measures from a list of (name, expression) pairs
var pairs = new[] {
    new { Name = "Total Sales",   Expr = "SUM('Sales'[Amount])" },
    new { Name = "Total Qty",     Expr = "SUM('Sales'[Quantity])" },
};
foreach (var p in pairs) {
    var m = Model.Tables["Sales"].AddMeasure(p.Name, p.Expr);
    m.FormatString = "#,0.00";
    m.DisplayFolder = "Core";
}
```

```csharp
// Apply a measure prefix to all measures in a table
foreach (var m in Model.Tables["Sales"].Measures) {
    if (!m.Name.StartsWith("[fact] "))
        m.Name = "[fact] " + m.Name;
}
```

```csharp
// Hide all FK columns (named "*Key" or "*ID") on dim tables
foreach (var t in Model.Tables.Where(x => x.Name.StartsWith("dim"))) {
    foreach (var c in t.Columns.Where(c => c.Name.EndsWith("Key") || c.Name.EndsWith("ID")))
        c.IsHidden = true;
}
```

## Common BPA expression idioms

```csharp
// Measures must have a format string
Measure: string.IsNullOrWhiteSpace(FormatString)

// Tables must not be hidden if they have visible measures
Table: !IsHidden && Measures.Any(m => !m.IsHidden) && Columns.All(c => c.IsHidden)

// Date table must have IsDateTable flag
Table: Name.ToLower().Contains("date") && !IsDateTable
```

## CLI batch deploy pattern

```powershell
TabularEditor.exe `
    "model.bim" `
    -D "Provider=MSOLAP;Data Source=powerbi://api.powerbi.com/v1.0/myorg/MyWorkspace;Initial Catalog=MyModel" `
    "MyModel" `
    -O `
    -B "rules.json"
```

Flags worth knowing:

| Flag | Effect |
|---|---|
| `-D <conn> <db>` | Deploy to AS / Power BI |
| `-B <bpa.json>` | Run BPA against the supplied ruleset before deploy |
| `-S <script.csx>` | Run a C# script |
| `-O` | Overwrite existing database on deploy |
| `-V` | Verbose log to stdout |
| `-T <output>` | TMSL output file (for review/CI artifacts) |

## When to escalate to TOM directly

TOMWrapper covers ~95% of model operations. Drop to raw TOM (`Microsoft.AnalysisServices.Tabular`) when:

- Tweaking annotations not surfaced by the wrapper
- Reading `RequestedTimeout`, `ImpersonationMode` and other connection properties
- Inspecting `Database.Model.SerializeOptions` before TMSL export
- Iterating refresh policy partition templates

For TOM reference, the canonical source is the SDK: https://learn.microsoft.com/en-us/dotnet/api/microsoft.analysisservices.tabular.

## Pairs well with

- `bpa-rules` skill — for authoring rule files
- `c-sharp-scripting` skill — for executing scripts in TE2
- `te2-cli` skill — for CLI invocation patterns from `pbi-agent`

Attribution

santoshkanthetysantoshkanthety
View sourceSee grades on GitHubMore from santoshkanthety →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Rank Tracker

This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.

1821 votes

Youtube Competitor Analyzer

Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6...

31 votes

Xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the...

1798860 votes

Weather Fetcher

Instructions for fetching current weather temperature data for Karachi, Pakistan from wttr.in API

671710 votes

Weather

Get current weather and forecasts (no API key required).

486960 votes
View all in data →