Want to create a calculated item with last("X") / last("Y")
.
When Y = 0
, the result should be 0.
last("X") * (1 - count("Y",#1,0)) / (last("Y") + count("Y",#1,0))
Want to create a calculated item with last("X") / last("Y")
.
When Y = 0
, the result should be 0.
last("X") * (1 - count("Y",#1,0)) / (last("Y") + count("Y",#1,0))