You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes it's useful to take difference between dimensions instead of division (e.g. 1st query for "deposits", 2nd query for "withdrawals", and then join them with "leftJoin" and produce "balance" measure of type "derived" with operation "diff" between sum of deposit amount and sum of withdrawal amount).
(I have implementation for the feature, actually, but I'm not sure if I have rights to publish it here, so I propose you to implement it independently, so it won't hurt anybody's (copy)rights. The implementation is trivial anyway =)
The text was updated successfully, but these errors were encountered:
Sometimes it's useful to take difference between dimensions instead of division (e.g. 1st query for "deposits", 2nd query for "withdrawals", and then join them with "leftJoin" and produce "balance" measure of type "derived" with operation "diff" between sum of deposit amount and sum of withdrawal amount).
(I have implementation for the feature, actually, but I'm not sure if I have rights to publish it here, so I propose you to implement it independently, so it won't hurt anybody's (copy)rights. The implementation is trivial anyway =)
The text was updated successfully, but these errors were encountered: