I am trying to find out a solution where I can get the next three values of a column and add them in another field within the same row. So I found the LISTAGG function but its not working for me. Here is the function that I am using:
CAST(EVALUATE_AGGR('LISTAGG(%1,%2) WITHIN GROUP (ORDER BY %3 DESC)',"Measures"."Strm",', ',) as char(16))
This is what I get:

I dont know how I would be able to get the next three "STRM" values to show up as follows:

BTW, the "Strm" will be entered through a report prompt so lets say if the User inputs "2336" then I will be needing the next two terms which in this case will be 2354 and 2366. I was thinking to use Presentation variables to pass the prompt values to the report.