hey.. what's the best way to sum a specific field ...
# ask-community-for-troubleshooting
l
hey.. what's the best way to sum a specific field from a nested array? (multiple levels in). In the example below, i want to show the sum of all "freight_charges" in the data array
đź‘€ 1
h
Hey I think you can handle this Custom DBT.
l
hey.. i'm a complete noob to this.. do you'll have any ttutorials or any other resources to help out? I see this as one of the main pieces for us to use across the entire app that i'm making
as the dbt resources also talk about database transaformation and not via api responses
m
@lenold vaz Airbyte doesn’t transform (sum, clean, group) your data. You need to apply dbt to execute those operations. Check our docs about how implement a custom dbt transformation: https://docs.airbyte.com/operator-guides/transformation-and-normalization