data-mie / dbt-profiler

Macros for generating dbt model data profiles
Apache License 2.0
81 stars 33 forks source link

Feature: add group by #63

Closed xtutran closed 1 year ago

xtutran commented 1 year ago

Description & motivation

Hi there,

I would like to group the data in profiler. I am not so sure if this feature is useful for everyone. But this is something I would like to have for my own usage. Feel free to discard the PR if you think it not so useful.

Cheers, Tran

Checklist

stumelius commented 1 year ago

@xtutran This had completely went by my radar, sorry for that. I'll merge this as is but I'll make minor change to the group_by argument so that it's a list of column names. I'll open a separate PR for that.

Thanks for your contribution :)