Comparison of results from several periods
Hello! I'm trying to solve a typical sales department problem: compare two sales periods, current and previous, in real time. Let's say a time series is 2 years long. Now it’s April, as we sell to the previous month in pieces, percentage, rubles, as more or less. I need to set up a comparison of the results of several periods, I don’t understand how to implement it. Thank you
-
Hi,
To do this, you should use Windows functions, and I'm almost sure Immerse cannot generate queries using such functions. You should probably implement manually using custom data sources (add "ui/enable_custom_source_manager": true to your server .json file) and using window function directly in your query.
The problem with this approach is that is quite rigid, and the query will fall back to CPU execution,
Please sign in to leave a comment.
Comments
2 comments