You really like taking the hard road which generates unnecessary SQL, do you. What's wrong with a simple and easy dynamic repository variable?!
If you refresh that once an day after the ETL has run, it's 1 SQL execution. Once an hour is 24 SQL executions. Do it your way = one SQL exectution every single time the object is called. Multiply that by use cases. If you include that in mulitple dashboards/pages/whatever, the number just soars.