c-sharp-macros

Create, edit, and validate Tabular Editor C# macros for Power BI workflows.

841|125|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/data-goblin/power-bi-agentic-development --skill c-sharp-macros
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c-sharp-macros
Source: https://github.com/data-goblin/power-bi-agentic-development/tree/main/skills/c-sharp-macros
Command: npx skills add https://github.com/data-goblin/power-bi-agentic-development --skill c-sharp-macros

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides expert guidance for creating and managing C# macros in Tabular Editor 3, enabling automated tasks and streamlined macro workflows within Power BI semantic model development.

Core Features & Use Cases

  • Macro creation and editing: Learn how to write, save, and organize C# macros that automate repetitive TE3 tasks.
  • Macro deployment and sharing: Understand how to export and share MacroActions.json configurations across teams.
  • Validation and safety: Guidance on testing macros, preventing unsafe operations, and validating macro definitions.

Quick Start

Create a new macro by writing a C# script and saving it to MacroActions.json.

Frequently Asked Questions about c-sharp-macros

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create C# macros for Tabular Editor to automate Power BI tasks?

Create C# macros for Tabular Editor by writing a script and saving it to the MacroActions.json file. This enforces macro structure and context definitions, automating repetitive Power BI semantic model development workflows.

How do I share Tabular Editor macros across a Power BI development team?

Share Tabular Editor macros by exporting the MacroActions.json configuration file across your team. This enables consistent deployment of C# macro scripts and automated metadata editing tasks across different Power BI projects.

What is the best way to validate C# macros before applying them to a Power BI model?

Validate C# macros using optional script-based validation to ensure JSON schema compatibility. This prevents unsafe operations and tests macro definitions before applying metadata edits to your Power BI semantic model.

Does this approach support editing existing macros in Tabular Editor 3?

Editing existing macros in Tabular Editor 3 is fully supported. You can modify C# scripts, update context definitions, and maintain JSON schema compatibility to manage macro generation and metadata changes within your workflow.

Why do my Tabular Editor macros fail to apply correctly across projects?

Tabular Editor macros fail across projects when macro structure or context definitions lack JSON schema compatibility. Enforce proper macro definitions and apply script-based validation to ensure safe metadata editing operations.

Can I use C# scripts to edit Power BI semantic model metadata without manual changes?

Use C# scripts in Tabular Editor to edit Power BI semantic model metadata without manual changes. Automate metadata editing by generating macros that enforce structure and context definitions for your development workflow.