Hey @PAPFT!
Would you be open to using something like the solution mentioned here? Otherwise, curious to know what kind of SQL you're using