I have two loops when I load the data from an SQL DB (Screenshot below). Config is the start of all operations and the three tables on the left give only the descriptions and details of Stations, Lines and Derivatives (bottom). The two on the right (Faults and productive) hold the information that I want to filter by the three tables stated above. Config serves as first filter that guides the user on which "day" they want to go to. PS: Disregard the two small tables in the bottom right.