todayExpense = Gastos.sum(Monto);
thisMonthExpense = Gastos[Fecha in this month].sum(Monto);
thisMonthSales = thisapp.checkNullNum(thisMonthSales);
todaySales = thisapp.checkNullNum(todaySales);
thisMonthExpense = thisapp.checkNullNum(thisMonthExpense);
Gastos = Gastos.sum(Monto);
GananciabrutaSP = Ordenes[Fecha_de_compra1 in this month].sum(Ganancia_Bruta);
GanancianetaSP = Ordenes[Fecha_de_compra1 in this month].sum(Ganancia_Neta);
UtilidadSP = Ordenes[Fecha_de_compra1 in this month].sum(Precio_de_Venta);
GananciaBrutaST = Registro_de_STOCK[Fecha in this month].sum(Ganancia_Bruta1);
GananciaNetaST = Registro_de_STOCK[Fecha in this month].sum(Ganancia_Bruta);
UtilidadST = Registro_de_STOCK[Fecha in this month].sum(Precio_de_Venta);
realsp = Ordenes[Fecha_de_compra1 in this month].sum(Precio_de_Venta);
GananciaNetaSTOCK = Registro_de_STOCK[Fecha in this month].sum(Utilidad);
todayExpense = Gastos;
utilidad = (GananciaNetaST + GanancianetaSP + SVN - thisMonthExpense);
Codes very simple, of course. The fact is that I like that the resulting amount was also in money, which I have been unable. Is that possible?
I learned to use Zoho creator from scratch, and these details (I'm sure very simple) cause me headache, anyway ...
Thanks in advance, happy holidays!