One listbox depending on two other listboxes


I've tried to lookup on this site for a solution but didn't find any. My problem is, I have two listboxes, all of them with calculated values in it (linked to a property). What I want is, if I choose one listbox (between the two possible) then another listbox will change accordingly. Currently what I have is, the third listbox had all the values depending on both listboxes, I only want the results of one, the last one selected. 


Thank you