Hi Mohamed,
Did you used input parameters in Calculation View. Create the calculation view with input parameters and while creating universe you can pass the values for same input parameters from reports.
Have a look at the below document.
If you want to create dynamic sql, then i believe it is not possible in calculation view screen, you can do the below things
create procedure using dynamic sql and call this procedure in calculation view using EXEC statement.
Regards,
Venkat