Expenses Statistics

I’ve created a tool to manage monthly expenses. What I’m trying to solve is a way to display, with the current logic, 2 graphs:
1- A pie chart showing all the expenses divided by category.
2- A line chart showing the expenses per day.

Here’s the model:

One challenge I’ve faced is with negative values for the expenses, and the ability to filter expenses and take out the incomes (which are categorized in the same table as expenses categories).

Can anyone help me with this? Thanks!

Hi @Juan_Martin_Lusiardo, can you take a look at this doc