Rollable tables cant call macros directly - they just print their table items as text to the chat, without being processed.
I think you can do this by reordering the macro, somethinglike
[[1t[#?{WhichTable|A|B}]]]
If I'm right, this will roll macros A or B depending on the table selection.
You have to be carful with table items inside inline roll brackets- if the macro is just generating a number, it should be okay. But if it has anything else in it, it might not work as you expect.
You can test it by removing the query first, and doing [[1t[#A]]] and [[1t[#B]]], to make sure they give the output you expect.