When combining multiple fact tables using shared dimensions you need to use a drill-across query or a multi-pass query to get the correct results.
I'm looking for a BI tool that does this correctly based on recognising which tables are fact tables and which are dimension tables. The tool should preferably generate a postgreSQL query.
For most of the tools that I've been looking into, you need to recognise these situations and write SQL manually to fix this.
Are there any tools that will generate the correct queries for you without the need for writing the multi-pass or drill across yourself?