In such a table https://prnt.sc/107kqfy , additional logic is needed
1) Add a column - Maximum sales per month: We look at the client by the date of creation and all processes for him for the entire time from this date to the month, check which month had the largest amount and display it.
For example, a client has been with us for 2 years, in February last year he had 53,000 UAH. on orders and this is the largest figure of all time - we display it.
2) Average sales volume: we calculate the formula as the sum of all Orders from the moment the contact was created / number of months from the date of creation.
Example: a contact was created on 02/14/2020, we are looking at a report on 03/03/2021
we take the sum of all orders for this period and divide by 14 (months).
Can we add such logic to the table?
How many hours?
In such a table https://prnt.sc/107kqfy , additional logic is needed 1) Add a column - Maximum sales per month: We look at the client by the date of creation and all processes for him for the entire time from this date to the month, check which month had the largest amount and display it. For example, a client has been with us for 2 years, in February last year he had 53,000 UAH. on orders and this is the largest figure of all time - we display it. 2) Average sales volume: we calculate the formula as the sum of all Orders from the moment the contact was created / number of months from the date of creation. Example: a contact was created on 02/14/2020, we are looking at a report on 03/03/2021 we take the sum of all orders for this period and divide by 14 (months). Can we add such logic to the table? How many hours?
Timofeev Artem Olegovich wrote: 1) Add a column - Maximum sales per month: We look at the client by the date of creation and all processes for him for the entire time from this date to the month, check which month had the largest amount and display it. For example, a client has been with us for 2 years, in February last year he had 53,000 UAH. on orders and this is the largest figure of all time - we display it.
4 hours but this item, due to grouping by date and summing up orders, can greatly "slow down" the report loading
Timofeev Artem Olegovich wrote: 2) Average sales volume: we calculate the formula as the sum of all Orders from the moment the contact was created / number of months from the date of creation. Example: a contact was created on 02/14/2020, we are looking at a report on 03/03/2021 we take the sum of all orders for this period and divide by 14 (months).
3 hours
[quote]
Timofeev Artem Olegovich wrote:
1) Add a column - Maximum sales per month: We look at the client by the date of creation and all processes for him for the entire time from this date to the month, check which month had the largest amount and display it.
For example, a client has been with us for 2 years, in February last year he had 53,000 UAH. on orders and this is the largest figure of all time - we display it.
[/quote]
4 hours
but this item, due to grouping by date and summing up orders, can greatly "slow down" the report loading
[quote]
Timofeev Artem Olegovich wrote:
2) Average sales volume: we calculate the formula as the sum of all Orders from the moment the contact was created / number of months from the date of creation.
Example: a contact was created on 02/14/2020, we are looking at a report on 03/03/2021
we take the sum of all orders for this period and divide by 14 (months).
[/quote]
3 hours
Tyndyk Maxim Vadimovich Administrator wrote: but this item, due to grouping by date and summing up orders, can greatly "slow down" the report loading
Is there an option to immediately avoid this in development?
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
but this item, due to grouping by date and summing up orders, can greatly "slow down" the report loading
[/quote]
Is there an option to immediately avoid this in development?
Timofeev Artem Olegovich wrote: Is there an option to immediately avoid this in development?
No because what you want is not optimal and depends on the amount of data development will not reduce the amount of data
[quote]
Timofeev Artem Olegovich wrote:
Is there an option to immediately avoid this in development?
[/quote]
No
because what you want is not optimal and depends on the amount of data
development will not reduce the amount of data
Timofeev Artem Olegovich wrote: Is there an option to immediately avoid this in development?
No because what you want is not optimal and depends on the amount of data development will not reduce the amount of data
If you customize the report?
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
[quote]
Timofeev Artem Olegovich wrote:
Is there an option to immediately avoid this in development?
[/quote]
No
because what you want is not optimal and depends on the amount of data
development will not reduce the amount of data
[/quote]
If you customize the report?
Timofeev Artem Olegovich wrote: If you customize the report?
what difference does it make to customize or not - your logic is "bad" (so to put it mildly) The only option for it not to be stupid is not to do it.
[quote]
Timofeev Artem Olegovich wrote:
If you customize the report?
[/quote]
what difference does it make to customize or not - your logic is "bad" (so to put it mildly)
The only option for it not to be stupid is not to do it.
Tyndyk Maxim Vadimovich Administrator wrote: The only option for it not to be stupid is not to do it.
This does not fit. You need to make a decision to look at these indicators. I understand correctly that the only solution with "will be stupid" and there are no other adequate decisions other than "do not do" exactly (!)?
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
The only option for it not to be stupid is not to do it.
[/quote]
This does not fit. You need to make a decision to look at these indicators.
I understand correctly that the only solution with "will be stupid"
and there are no other adequate decisions other than "do not do" exactly (!)?
Tyndyk Maxim Vadimovich Administrator wrote: The only option for it not to be stupid is not to do it.
This does not fit. You need to make a decision to look at these indicators. I understand correctly that the only solution with "will be stupid" and there are no other adequate decisions other than "do not do" exactly (!)?
everyone has different concepts of stupidity with a good server and the right settings, it will not be stupid
[quote]
Timofeev Artem Olegovich
Employee wrote:
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
The only option for it not to be stupid is not to do it.
[/quote]
This does not fit. You need to make a decision to look at these indicators.
I understand correctly that the only solution with "will be stupid"
and there are no other adequate decisions other than "do not do" exactly (!)?
[/quote]
everyone has different concepts of stupidity
with a good server and the right settings, it will not be stupid
Ustimenko Igor OneBox CTO wrote: everyone has different concepts of stupidity with a good server and the right settings, it will not be stupid
I understand. But this does not give any guarantees. In general, the assessment is clear.
[quote]
Ustimenko Igor
OneBox CTO wrote:
everyone has different concepts of stupidity
with a good server and the right settings, it will not be stupid
[/quote]
I understand. But this does not give any guarantees.
In general, the assessment is clear.
Ustimenko Igor OneBox CTO wrote: everyone has different concepts of stupidity with a good server and the right settings, it will not be stupid
I understand. But this does not give any guarantees. In general, the assessment is clear.
Forget about the word guarantee through the forum here no one owes anything to anyone
[quote]
Timofeev Artem Olegovich
Employee wrote:
[quote]
Ustimenko Igor
OneBox CTO wrote:
everyone has different concepts of stupidity
with a good server and the right settings, it will not be stupid
[/quote]
I understand. But this does not give any guarantees.
In general, the assessment is clear.
[/quote]
Forget about the word guarantee through the forum here no one owes anything to anyone
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up