If I understood correctly, your dropdown list is a variable? And based on the selected value you want to show that many rows in the straight table, sorted by date? This is quite simple. In the straight table, go to the Sort tab and make sure you are sorting the rows by date descending. Then in the Presentation tab, check "Max Number" and enter the variable there instead of a fixed value.