I have below data for one store and one product and I need to calculate a column based on another column.
Initial Data set: