Dollar Duration, Rebalancing Ratio

pretty simple one… is this formula right: Required additional cash, re-adjust portfolio to its original dollar duration - = (1 - rebalancing ratio)*ending portfolio value ?? think it’s right

rebalacing ratio -1 X ending portfolio MARKET value you have other way around

thank you