You can either create a variable or key in this formula directly in the column where you see the multivalue error.
=max(alg.time_stamp) in (cr.persistent_id)
You may need to do this where ever there are multiple values.
Can you move this thread to BusinessObjects Web-Intelligence group as this is not the right group for the question you had asked ?
Regards,
Naras