This calculation returns the maximum value of the abscissa of a visible point on the x-axis in a frame.
You have to use icon of the calculations expandable bar (third from the bottom).