delay for flow only do calculating but didnt set as value

i have issue with flow delay that i want to set a certain delay depend on formula , but when i set the formula in the delay, its just do calculating but not set the result of formula as its value, lets say in certain condition i want to set delay as 1 second and another condition i want to set it as 10 second but delay for flow wont do that.