MetricSign
EN|NLRequest Access
Low severitycompilation

Power BI Refresh Error:
DbtInvalidSelectorError

What does this error mean?

A dbt ls or dbt list command failed because the node selector expression is syntactically invalid or references a tag, model, or method that does not exist.

Common causes

  • 1A typo in the selector expression (e.g., mode: instead of model:)
  • 2Referencing a tag that does not exist in any model's config block
  • 3Using an unsupported selector method for the installed dbt version
  • 4Combining incompatible selector operators in the same expression

How to fix it

  1. 1Step 1: Run dbt ls --select 'your_selector' and read the full error message — it usually identifies the invalid component.
  2. 2Step 2: Verify selector syntax in the dbt docs: methods are model:, tag:, source:, path:, config:, etc.
  3. 3Step 3: Confirm the tag or config value exists in at least one model's YAML config block.
  4. 4Step 4: Use dbt ls without a selector first to confirm the project parses correctly.
  5. 5Step 5: Upgrade dbt if using a recently added selector method not available in the current version.

Frequently asked questions

What is the syntax for selecting dbt models with a specific tag?

Use tag:my_tag_name — for example: dbt run --select tag:finance. Multiple tags can be combined: dbt run --select tag:finance,tag:daily.

How do I select all models that were changed in the current git branch?

Use the state selector with git: dbt ls --select state:modified+ --state path/to/manifest. The + appends downstream dependencies to the selection.

Other compilation errors