rep.jpg How to use SQL function to calculate by date, on hand balance, balance, DSB, and usage as upper image ? Note: DSB is on hand balance * usage
Please provide more details, possible to post schema, sample data and expected result?
Forum Rules