Hey @Teodor,
I followed tour suggestion and seems to work very nice but noticed something weird…
What I am getting back from the custom SQL is a Text instead of an Array.
Although it behaves like an array (the records come normal from the database) when I try to bind values it appears as a Text.
So, when I try to create a Total/Balance field and bind Collection->Sum->Property value to it there is no Collection.
Any idea of what I am doing wrong?