Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refunds to reflect in Customer Monthly Revenue #15

Open
shubh24 opened this issue Jul 4, 2022 · 0 comments
Open

Refunds to reflect in Customer Monthly Revenue #15

shubh24 opened this issue Jul 4, 2022 · 0 comments

Comments

@shubh24
Copy link
Member

shubh24 commented Jul 4, 2022

If a customer has been fully refunded in the same month as the transaction was made, the revenue entry in customer_monthly_revenue can show up as 0.

However, if If a customer has been fully refunded in a different month than the one in which the transaction was made, the revenue entry in customer_monthly_revenue in the two months should show up as +X and -X respectively.

Currently, the DBT models are not considering the second scenario -- and nullify the amount of all refunds irrespective of which month the refund was processed in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant