Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear collaborators, I request your support to solve the following question, I need to subtract the sum of
"SUM (SalesAmount) -SUM (Quantity2) WHERE DATE <=" taking into account a date range
Example:
The correct option would be: Sum({< CalendarDate = {'<=$(=Date(vStartDate))'} >} SalesAmount) –Sum({< CalendarDate = {'<=$(=Date(vStartDate))'} >} Cantidad2) ???
Perdón estuve ausente, aparentemente tengo un error en las fechas.
Por otra parte el proceso de la operación seria el correcto como lo especifico a continuación?
Sorry I was absent, apparently I have an error in the dates.
On the other hand, the process of the operation would be correct as specified below?
Sum({< CalendarDate = {'<=$(=Date(vStartDate))'} >} SalesAmount) –Sum({< CalendarDate = {'<=$(=Date(vStartDate))'} >} Cantidad2)