How to set the maximum number of rows in table visualizations based on external in-database data tables