# Three macros in post\_hook to alter one model

**URL:** <https://discourse.getdbt.com/t/three-macros-in-post-hook-to-alter-one-model/12454>\
**Category:** Help\
**Tags:** bigquery, macros\
**Created:** [March 13, 2024, 10:00am UTC](https://discourse.getdbt.com/t/three-macros-in-post-hook-to-alter-one-model/12454 "2024-03-13T10:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![refokaj](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@refokaj](https://discourse.getdbt.com/u/refokaj)\
**Post date:** [March 13, 2024, 10:00am UTC](https://discourse.getdbt.com/t/three-macros-in-post-hook-to-alter-one-model/12454/1 "2024-03-13T10:00:44Z")

</div>

## The problem I’m having

Hi, is there a way to call three separate macros in post\_hook in sequence? In one case the macro is dependent on results of preceding macro, which is just a sql query of which result is not enywhere materialized but need to be passed to the second macro to be referenced in select statement as ‘from’.

## The context of why I’m trying to do this

I have developed models that do this but I would like to try to do it in a way that I have just one table, with post\_hooks which will alter the one table to desired state.
