# \#node-selection

**URL:** https://discourse.getdbt.com/tag/node-selection/55.md

[Latest](https://discourse.getdbt.com/latest.md) · [Categories](https://discourse.getdbt.com/categories.md) · [Tags](https://discourse.getdbt.com/tags.md)

---

## ['@' model selector and defer interaction](https://discourse.getdbt.com/t/model-selector-and-defer-interaction/20621)

<div class="topic-metadata">

**Author:** [@Izaak](https://discourse.getdbt.com/u/Izaak)\
**Replies:** 0\
**Last updated:** [March 9, 2026, 10:56am UTC](https://discourse.getdbt.com/t/model-selector-and-defer-interaction/20621 "2026-03-09T10:56:34Z")

</div>

Hi dbt-community! I was wondering how the ‘@’ node selection operator interacts with the --defer flag. Take this example from the dbt docs: Here, dbt run --select @snowplow\_web\_page\_context, will run all models sho…

---

## [Is there any way to specify 3 specific models to run?](https://discourse.getdbt.com/t/is-there-any-way-to-specify-3-specific-models-to-run/19201)

<div class="topic-metadata">

**Author:** [@BenSanders](https://discourse.getdbt.com/u/BenSanders)\
**Replies:** 2\
**Last updated:** [April 29, 2025, 6:00pm UTC](https://discourse.getdbt.com/t/is-there-any-way-to-specify-3-specific-models-to-run/19201 "2025-04-29T18:00:56Z")

</div>

The problem I’m having I need to run some list of specific models, in the middle of the dependency tree across multiple folders. The context of why I’m trying to do this I’m fixing bugs in the center of a transformation…

---

## [Is it possible to get list of models by tag selector inside macro](https://discourse.getdbt.com/t/is-it-possible-to-get-list-of-models-by-tag-selector-inside-macro/11289)

<div class="topic-metadata">

**Author:** [@sphinks](https://discourse.getdbt.com/u/sphinks)\
**Replies:** 2\
**Last updated:** [January 2, 2024, 4:55pm UTC](https://discourse.getdbt.com/t/is-it-possible-to-get-list-of-models-by-tag-selector-inside-macro/11289 "2024-01-02T16:55:41Z")

</div>

I’m doing some specific actions with models tagged. Names of those models have to hardcode inside macros, but as number is increasing - it is easy to forget them. All those models could be easily picked up by tag. Is th…

---

## [Select tests which are both modified and have a specific tag](https://discourse.getdbt.com/t/select-tests-which-are-both-modified-and-have-a-specific-tag/9995)

<div class="topic-metadata">

**Author:** [@tanstandart](https://discourse.getdbt.com/u/tanstandart)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 5:16am UTC](https://discourse.getdbt.com/t/select-tests-which-are-both-modified-and-have-a-specific-tag/9995 "2023-09-19T05:16:22Z")

</div>

hi! Is it possible to test unit-tests for modified models only on dbt core version? Like so dbt --warn-error test state:modified+ --state=prod-run-artifact tag:unit-test. I tried with different combinations, but eventual…

---

## [How to run dbt models in a particular sequence?](https://discourse.getdbt.com/t/how-to-run-dbt-models-in-a-particular-sequence/5761)

<div class="topic-metadata">

**Author:** [@chronos2.03](https://discourse.getdbt.com/u/chronos2.03)\
**Replies:** 5\
**Last updated:** [June 26, 2023, 5:22pm UTC](https://discourse.getdbt.com/t/how-to-run-dbt-models-in-a-particular-sequence/5761 "2023-06-26T17:22:33Z")

</div>

I have two models: “transform” and “product”. When executing dbt run --profiles-dir . my product model is running first and transform is running later. How do I ensure that transform is executed first and then product

---

## [Tags models execution order](https://discourse.getdbt.com/t/tags-models-execution-order/8439)

<div class="topic-metadata">

**Author:** [@jorge.sanchez](https://discourse.getdbt.com/u/jorge.sanchez)\
**Replies:** 1\
**Last updated:** [May 26, 2023, 11:34am UTC](https://discourse.getdbt.com/t/tags-models-execution-order/8439 "2023-05-26T11:34:32Z")

</div>

The problem I’m having I have a set of models under a tag, let’s call it main. Now, some of these models I would like to run them after all the models in the main tag had run, so the idea is to remove them from the main …

---

## [Is there a way to run only failed models from previous run](https://discourse.getdbt.com/t/is-there-a-way-to-run-only-failed-models-from-previous-run/8420)

<div class="topic-metadata">

**Author:** [@Assent](https://discourse.getdbt.com/u/Assent)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 3:52am UTC](https://discourse.getdbt.com/t/is-there-a-way-to-run-only-failed-models-from-previous-run/8420 "2023-05-25T03:52:33Z")

</div>

Hi, I’m automating dbt build in azure pipeline, and idea is to run only failed models from a previous run. Any advice on how to do this? Thanks

---

## [Is there a way to select models that depend on specific macro?](https://discourse.getdbt.com/t/is-there-a-way-to-select-models-that-depend-on-specific-macro/8217)

<div class="topic-metadata">

**Author:** [@artem.popov](https://discourse.getdbt.com/u/artem.popov)\
**Replies:** 3\
**Last updated:** [May 12, 2023, 2:05pm UTC](https://discourse.getdbt.com/t/is-there-a-way-to-select-models-that-depend-on-specific-macro/8217 "2023-05-12T14:05:31Z")

</div>

The problem I’m having I changed a macro and want to update (run) all models that depend on the macro. Is there a way to do so? What I’ve already tried Usually, I check the models that depend on the macro in the code an…

---

## [dbt cli --select behaviour](https://discourse.getdbt.com/t/dbt-cli-select-behaviour/8001)

<div class="topic-metadata">

**Author:** [@pauwel](https://discourse.getdbt.com/u/pauwel)\
**Replies:** 2\
**Last updated:** [April 27, 2023, 9:29pm UTC](https://discourse.getdbt.com/t/dbt-cli-select-behaviour/8001 "2023-04-27T21:29:06Z")

</div>

The problem I’m having dbt seed --select seed1.csv --select seed2.csv only loads seed2 and skips seed1 dbt seed --select seed1.csv seed2.csv loads both seeds If I read Syntax overview | dbt Dev…

---

## [How do I list models between two points in the DAG?](https://discourse.getdbt.com/t/how-do-i-list-models-between-two-points-in-the-dag/7823)

<div class="topic-metadata">

**Author:** [@scott.doughty](https://discourse.getdbt.com/u/scott.doughty)\
**Replies:** 3\
**Last updated:** [April 13, 2023, 4:47pm UTC](https://discourse.getdbt.com/t/how-do-i-list-models-between-two-points-in-the-dag/7823 "2023-04-13T16:47:14Z")

</div>

We have a DAG with \>2000 models and to do some debugging I need to check the flow from ModelA to ModelB, and in order to do that I’d like to list the models. Trying to do this on the lineage graph would not be ideal due …

---

## [YAML Selectors: How to refresh intermediate models touched by multiple output models](https://discourse.getdbt.com/t/yaml-selectors-how-to-refresh-intermediate-models-touched-by-multiple-output-models/7447)

<div class="topic-metadata">

**Author:** [@ptrn](https://discourse.getdbt.com/u/ptrn)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 9:15pm UTC](https://discourse.getdbt.com/t/yaml-selectors-how-to-refresh-intermediate-models-touched-by-multiple-output-models/7447 "2023-03-23T21:15:58Z")

</div>

I notice in the docs that it says: exclude … is always applied last within its scope. Let’s say I have the following lineage for an output model used by a Tableau report: inventory ---------------------\> int\_product…

---

## [Is there a way to show only the most left handed sources/models in the DAG?](https://discourse.getdbt.com/t/is-there-a-way-to-show-only-the-most-left-handed-sources-models-in-the-dag/7022)

<div class="topic-metadata">

**Author:** [@chatwithmike](https://discourse.getdbt.com/u/chatwithmike)\
**Replies:** 7\
**Last updated:** [March 3, 2023, 11:36pm UTC](https://discourse.getdbt.com/t/is-there-a-way-to-show-only-the-most-left-handed-sources-models-in-the-dag/7022 "2023-03-03T23:36:25Z")

</div>

The problem I’m having I have a very large complicated DAG that I am working through. I want to identify the left most sources and/or models. The context of why I’m trying to do this I’m doing this to better unravel ho…

---

## [How to Exclude Seeds from Running in dbt build](https://discourse.getdbt.com/t/how-to-exclude-seeds-from-running-in-dbt-build/6545)

<div class="topic-metadata">

**Author:** [@thomas](https://discourse.getdbt.com/u/thomas)\
**Replies:** 2\
**Last updated:** [February 3, 2023, 12:18am UTC](https://discourse.getdbt.com/t/how-to-exclude-seeds-from-running-in-dbt-build/6545 "2023-02-03T00:18:56Z")

</div>

I have a few csv files that I’ve loaded as seeds. Because they are relatively static mappings I do not need to load these files each time I run my models. However, I’d prefer not to delete them from the seed folder eithe…

---

## [Exclude multiple tags](https://discourse.getdbt.com/t/exclude-multiple-tags/6538)

<div class="topic-metadata">

**Author:** [@robert.holt](https://discourse.getdbt.com/u/robert.holt)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 7:04pm UTC](https://discourse.getdbt.com/t/exclude-multiple-tags/6538 "2023-02-01T19:04:27Z")

</div>

I have a project in which we’re trying to deprecate a few directories. To do this, we’ve gone through and tagged models in one directory with “tagname\_a”. In another directory we tagged models with “tagname\_b”. If I run…

---

## [Select models from multiple directories](https://discourse.getdbt.com/t/select-models-from-multiple-directories/4959)

<div class="topic-metadata">

**Author:** [@Laminator](https://discourse.getdbt.com/u/Laminator)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 4:12am UTC](https://discourse.getdbt.com/t/select-models-from-multiple-directories/4959 "2022-09-27T04:12:48Z")

</div>

Is it possible to do all of the models in both blue folders with a structure is like this? models colors blue some\_blue.sql red some\_red.sql new\_colors blue …

---

## [How do you run models in a path?](https://discourse.getdbt.com/t/how-do-you-run-models-in-a-path/132)

<div class="topic-metadata">

**Author:** [@jon-rtr](https://discourse.getdbt.com/u/jon-rtr)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 1:33am UTC](https://discourse.getdbt.com/t/how-do-you-run-models-in-a-path/132 "2018-09-27T01:33:37Z")

</div>

dbt Developer Hub states The --models flag accepts one or more arguments. Each argument can be one of: 3. a path hierarchy to a models directory Examples: dbt run --models path.to.my.models # runs all models…
