# How can I run metrics and store results on data platform using dbt core?

**URL:** <https://discourse.getdbt.com/t/how-can-i-run-metrics-and-store-results-on-data-platform-using-dbt-core/6744>\
**Category:** Help\
**Tags:** metrics\
**Created:** [February 9, 2023, 5:35pm UTC](https://discourse.getdbt.com/t/how-can-i-run-metrics-and-store-results-on-data-platform-using-dbt-core/6744 "2023-02-09T17:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![srishanth071221](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/srishanth071221/32/1855_2.png) [@srishanth071221](https://discourse.getdbt.com/u/srishanth071221)\
**Post date:** [February 9, 2023, 5:35pm UTC](https://discourse.getdbt.com/t/how-can-i-run-metrics-and-store-results-on-data-platform-using-dbt-core/6744/1 "2023-02-09T17:35:13Z")

</div>

How can I run metrics and store results on data platform using dbt core?

---

<div class="post-metadata">

**Author:** ![joellabes](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/joellabes/32/3980_2.png) [@joellabes](https://discourse.getdbt.com/u/joellabes)\
**Post date:** [February 23, 2023, 9:28am UTC](https://discourse.getdbt.com/t/how-can-i-run-metrics-and-store-results-on-data-platform-using-dbt-core/6744/2 "2023-02-23T09:28:02Z")

</div>

You can materialize your dbt\_metrics query as a model, like any other macro. Keep in mind that it will not be dynamic though, so you will effectively be making a single slice of an OLAP cube
