add support for details in fact tables