Hello all professionals, I need help to calculate count of days the funds are lying idle. If the amount is not added for several days. Also if the amount is added it should start with zero again until the next amount is added for the date. Attached is the sample data for understanding.