Problem and Solutions
Only want report to load last 30 min of data in sql ?
By M.K. Verma · 4 May 2022

I believe you could use a where condition which would be something like:
where submitted_datetime >= (current_timestamp - interval '30' minute)
Do let me know if it works!