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

Implement diff derived measure (like div) #1

Open
kstep opened this issue Jan 19, 2015 · 0 comments
Open

Implement diff derived measure (like div) #1

kstep opened this issue Jan 19, 2015 · 0 comments

Comments

@kstep
Copy link

kstep commented Jan 19, 2015

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 =)

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